Redis CLI Simulator
Run Redis commands against an in-browser, in-memory store
redis-cli db0
PONG
Quick commands (click to run):
Press Enter to run · ↑/↓ to recall history · store lives only in this tab.
Examples
Strings and counters
SET visits 0 → INCR visits → GET visitsOK → 1 → 1Store a value and atomically increment it, exactly as against a real Redis instance.
A sorted-set leaderboard
ZADD scores 150 ada 200 grace → ZRANGE scores 0 -1 WITHSCORESada / 1 followed by ... members returned in score order with their scores.Build a ranked set and read the members back ordered by score, with scores attached.
About this tool
Learning Redis usually means installing a server, a CLI, and fighting local configuration before you can type a single command. This simulator gives you a working Redis terminal in the browser, instantly, with no server or signup.
It implements a practical subset of Redis against an in-memory store: strings (GET, SET with EX/NX, INCR, DECR, APPEND, STRLEN), expiry (EXPIRE, TTL, PERSIST), hashes (HSET, HGET, HGETALL, HDEL), lists (LPUSH/RPUSH, LPOP/RPOP, LRANGE, LLEN), sets (SADD, SMEMBERS, SISMEMBER, SCARD), sorted sets (ZADD, ZRANGE WITHSCORES, ZSCORE), plus KEYS, TYPE, EXISTS, DEL, DBSIZE, SELECT, FLUSHDB, PING and INFO.
How to use
Type a command
Enter any supported Redis command (e.g. SET key value) and press Enter.
Use the quick buttons
Click a sample command to run it instantly and see typical output.
Recall history
Use the up/down arrow keys to cycle through commands you have already run.
Reset anytime
Use Reset store (FLUSHALL) to clear the in-memory data and start over.
Common mistakes
Mistake:Expecting persistence.
Fix:The store lives only in this browser tab for the session. It is a learning tool, not a database.
Mistake:Running a command against the wrong type.
Fix:Redis returns WRONGTYPE if you apply a list command to a string key — re-create the key with the right type.
Frequently asked questions
Related guides
References & standards
Related tools
Lighthouse Audit Summary
Summarize a Lighthouse report into prioritized actions. Enter category scores or paste Lighthouse JSON to get grades, weakest areas, and a ranked improvement checklist.
SSL Chain Analyzer
Paste a PEM certificate bundle and verify the chain order — find missing intermediates, broken links, expired or not-yet-valid certificates, self-signed roots, and duplicates. All in-browser.
SQL Injection Detector
Scan an input string or query for SQL injection signatures — tautologies, UNION SELECT, stacked queries, time-based blind, comments, and destructive statements — with a risk score and classification.
NoSQL Validator
Validate a JSON document against a JSON Schema or MongoDB $jsonSchema. Get clear, path-precise errors for missing fields, wrong types, patterns, ranges, and disallowed properties.
JSON Schema Builder
Build a JSON Schema or MongoDB $jsonSchema validator visually — add properties, pick types, mark required, set patterns and ranges — with live output and a test document.
SQL Performance Analyzer
Paste a SQL query to find performance anti-patterns — SELECT *, leading-wildcard LIKE, missing WHERE, cross joins, NOT IN, functions on columns — with a score and ranked fixes.