Free Tools for Key-Value Stores

Free tools for the jobs that come with running a key-value store. For Redis and Valkey: sizing memory, checking a config file, writing ACL rules, working out cluster slots and how to rebalance them, looking inside a snapshot, reading a server’s traffic, decoding a stored value, bulk-loading data and making sense of a keyspace. For DynamoDB, testing expressions and converting typed JSON; for etcd, seeing what fills a snapshot; one for planning how keys spread over servers; and one for laying out a graph in keys. Each one runs in your browser. There’s no sign-up and nothing to install.

Nothing you paste leaves your browser. The tools don’t send anything anywhere, and each tool page’s security policy stops it from fetching or loading anything from another site. Your keys, data and cluster layout stay on your machine.

Hash Slot Calculator

Find which of a cluster’s 16,384 slots a key lands in, and which primary holds it. Paste a multi-key command to see whether a cluster would run it or answer CROSSSLOT, or paste a whole key list to see how it spreads across the primaries. Works with Redis Cluster and Valkey Cluster.

Open the Hash Slot Calculator

Cluster Rebalancing Planner

Paste the output of CLUSTER NODES and see which slots to move between the primaries of a Redis or Valkey cluster so each carries its share, by slot count or by bytes. Fill a primary you just added, drain one you want to remove, or give a bigger machine twice the share, and get a script of the standard SETSLOT and MIGRATE commands to read before you run it. Checked on real clusters of five versions.

Open the Cluster Rebalancing Planner

Typed JSON Converter

Turn DynamoDB’s typed JSON, where every value is wrapped in its type, into plain JSON, and plain JSON back into typed JSON you can send to DynamoDB. It reads Scan and Query output, exports to S3 and stream records, and keeps every digit of every number.

Open the Typed JSON Converter

Mass Insert Builder

Turn CSV, JSON or plain commands into a file in the Redis protocol, ready for redis-cli --pipe or valkey-cli --pipe, the fast way to load a lot of data. It also turns captured protocol bytes back into readable commands and replies.

Open the Mass Insert Builder

Keyspace Map

Paste the output of --scan and see what a keyspace holds: the prefixes as a tree with counts, the naming patterns behind the keys with IDs folded together, and naming slips such as usr: next to user:.

Open the Keyspace Map

Consistent Hashing Playground

Spread keys over a few servers with modulo hashing, a hash ring, rendezvous hashing and jump hash, then add or remove a server and count what moves. It shows why modulo hashing reshuffles almost everything and the others don’t.

Open the Consistent Hashing Playground

Snapshot Viewer

Open a Redis or Valkey dump.rdb and see what’s in it: keys by type and database, the biggest keys, the prefixes that take the most space, expiries, and any key’s value. It reads every format from Redis 2.6 to 8.10 and Valkey 7.2 to 9.1, and the payloads of the DUMP command, without putting any load on the server.

Open the Snapshot Viewer

Traffic Analyzer

Load what MONITOR printed and see what a Redis or Valkey server is busy with: commands per second, the command mix, the busiest keys, key patterns and clients, how the keys would spread over a cluster, and commands worth a second look, such as KEYS or reads of whole collections. Its cache curve shows how many keys a cache needs for a given hit rate, and it matched a real Valkey server to within a third of a point.

Open the Traffic Analyzer

Value Inspector

Paste a value from Redis, Valkey or any other key-value store and see what format it’s in and what it says: JSON, MessagePack, CBOR, BSON, Protocol Buffers, PHP serialize() and sessions, igbinary, Java serialization, Python pickles or Ruby Marshal, inside base64, gzip, zlib, LZ4 or Snappy. It reads what redis-cli prints, escapes and all, and nothing in a value is ever run.

Open the Value Inspector

Memory Calculator

Describe your keys, how many there are and what they hold, and see how much memory Redis or Valkey needs for them on each of 15 versions: the encoding each value gets, the hash tables behind the keys and their TTLs, streams with their consumer groups, hash fields with TTLs of their own, the limits that nearly double a hash when it grows one field too many, and what packing small strings into hashes saves. Checked against used_memory on all 15 servers.

Open the Memory Calculator

Config Checker

Paste a redis.conf or valkey.conf and see whether the server would start: the error it would print, word for word, at the same line, then every other line it would stop at. It shows each setting as CONFIG GET would report it, flags the ones worth a second look, and compares 15 versions of Redis and Valkey side by side.

Open the Config Checker

ACL Builder

Paste a user’s ACL rules and see what the server does with them: the error ACL SETUSER gives or the line ACL LIST prints, and what the user may do in plain words. Check commands the way ACL DRYRUN does, and draft a least-privilege user from what MONITOR showed an app doing. For 15 versions of Redis and Valkey.

Open the ACL Builder

Expression Tester

Check a DynamoDB request’s key condition, filter, condition, update or projection the way DynamoDB checks it, with the same error message word for word. When it’s fine, run it on your items and see what comes back, or what an update leaves behind. Checked against DynamoDB Local.

Open the Expression Tester

Revision Viewer

Open an etcd snapshot and see what fills it: the quota, the Kubernetes resources taking the space, old revisions that compaction would remove, free pages a defrag would give back, and Secrets stored in the clear. Pick a key to see every revision the file keeps, with Kubernetes objects printed the way kubectl prints them.

Open the Revision Viewer

Graph Key Builder

Paste a list of links and see the keys a graph takes in an ordered key-value store such as RocksDB, LMDB or etcd: a record per node, and each link filed under both of its ends. Then follow the links hop by hop and see every prefix scan a graph layer would run, with the keys it reads.

Open the Graph Key Builder

How the Tools Are Built

  • One library file each, no dependencies. Each tool’s logic is one JavaScript file, and the web page, a command line in Node.js and the tests all load it.
  • Checked against the real thing. Each tool was checked against real servers or reference code: 15 versions of Redis and Valkey built from source, DynamoDB Local, etcd 3.4 to 3.6 with Kubernetes’ own code, the AWS SDK. The recorded answers and results are published with the code, and the tests replay them.
  • Open source. Everything is on GitHub under the Apache License 2.0. Each tool’s folder has a README that is its full manual.

More tools are on the way. If there’s one you’d like to see, the contact page is the place to say so.