RED Docs

Redis

The key browser, console, and live panels for Redis and Valkey.

A Redis or Valkey connection opens its own shell - tabbed like the SQL one, with the same window chrome, status bar, collapsible sidebar (⌘BCtrl+B), panes and docked AI panel, but built around keys rather than rows.

A new tab offers six panels:

PanelWhat it is
BrowseScan and inspect keys
ConsoleRun raw commands, redis-cli style
Pub/SubWatch published messages
MonitorSlow log · live MONITOR · clients
AnalysisA keyspace memory / TTL report
KeyspaceLive keyspace notifications

Browse

The key list is a namespace tree - user:1:name nests under user1 - scanned a window at a time so a large keyspace never loads whole. Expand all and collapse all live in the Actions dropdown, along with Refresh (⌘RCtrl+R), Find biggest keys, and Import keys.

Searching

The search field carries its query mode inside it:

ModeMatches
GlobA * pattern, the SCAN MATCH default
PrefixKeys starting with the typed text
ExactOne key by name, no scan
FuzzyLoose subsequence matching
ValueSearches key values, not names

Every mode filters as you type. A glob or prefix search keeps scanning until it finds your keys rather than giving up at the first scan window.

Three filters compose with the search and with each other:

  • Type - pushed down as SCAN … TYPE, so it narrows server-side.
  • TTL - Permanent, ≤ 3 minutes, or under an hour / day / week, or a week or more.
  • Favourites and tags - star a key, or tag it, and filter to just those.

Auto-refresh is a toolbar button: click to turn periodic re-scanning on or off, use its caret to pick the interval (Off / 2s / 5s / 10s / 30s). The keyspace size sits in the status bar as a stable, unfiltered ~N keys.

Values

Selecting a key opens a resizable preview beside the list. Every type has its own view: strings, hashes, lists, sets, sorted sets, streams, and RedisJSON documents.

Strings get the same format lenses the SQL cell inspector uses - Auto, Raw, JSON, Hex, MsgPack, Protobuf, Pickle, Time (a Unix epoch as a UTC datetime), Gzip (decompress, then render), and Bits (a bit grid with a set-bit count, or a HyperLogLog's estimated cardinality).

RedisJSON documents are first class where the module is loaded: they read as json, filter as their own type, and open in a tree walked a level at a time, so a 200 MB document costs no more to open than a small one. Edit a single node or the whole document.

Streams show entries newest-first, and toggle to a Groups view with consumer groups, pending entries, lag, and XACK / XCLAIM.

Writing

On a writable connection you can edit values in place, rename a key, change its expiry, and create one from a New key modal with a segmented type picker (String · Hash · List · Set · ZSet · Stream) whose fields adapt to the type.

Deleting a key is confirmed like a destructive SQL statement, and a delete drops into a session recycle bin: the toast that follows carries an Undo.

Import and export

  • Import keys - a text file of Redis commands (one per line; blank lines and # comments ignored), run in order with a success/failure summary. .rdbdump files are auto-detected.
  • Export keys - Commands (.redis), JSON, or DUMP (.rdbdump), scoped to the visible keys, the current filter, or the whole database. Streams, cancels cleanly, writes expiry as absolute deadlines, and reports values a text format cannot carry rather than dropping them.

Console

A redis-cli-style command line with a Line / Batch toggle. Batch adds a multi-line composer that runs many commands at once with per-command output, a live "running N / M" readout, and a Stop button. A destructive command is confirmed once up front rather than per line, and each still passes the read-only and destructive gates. Load a .redis / .txt file, or save the buffer back out.

Monitor

Three views over what the server is doing: the slow log, a live MONITOR stream, and CLIENT LIST with a guarded CLIENT KILL. Clients also appear in the Server panel's Sessions view; RED never offers to kill its own connection.

Analysis

A bounded, --bigkeys-style keyspace walk that reports memory and TTL distribution by prefix and type. The report is saved per connection, so you can reopen it without re-scanning.

Keyspace

Live keyspace notifications over PSUBSCRIBE, with a banner offering to enable the server CONFIG if it's off.

Keyboard

Hold Alt and every panel shows the single key that jumps to it. F6 / ⇧F6Shift+F6 cycle focus. The key list takes arrow keys and the optional vim motions (hjkl, g / G, Ctrl-d / Ctrl-u), and ⌘YCtrl+Y opens a History dock of recently viewed keys and commands run.

AI

The assistant (⌘LCtrl+L) is grounded in Redis rather than SQL: it reads key templates, pages deep collections and streams, reports consumer-group lag, clients and topology, and at the write tier proposes a kv_set behind the usual approval, which shows the exact commands. See AI assistant.

On this page