Redis Online Compiler

About the Redis compiler

In-memory data store. Runs on VM backend. Run Redis code in your browser with no install and no signup — the editor, the input and the output share one screen. Redis compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A Redis example

This is the program the Redis editor opens with — run it as it is, then change it.

-- Redis: In-memory data structures
SET user:1:name "Alice"
SET user:1:age 28
SET user:2:name "Bob"
SET user:2:age 32
-- Get values
GET user:1:name
GET user:2:name
-- List operations
LPUSH fruits "apple" "banana" "cherry"
LRANGE fruits 0 -1
-- Set operations
SADD colors "red" "blue" "green"
SADD colors2 "blue" "yellow" "red"
SINTER colors colors2

More Databases compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.