Skip to main content
0 reactions

How to Browse and Edit Keys in Valkey Admin

Featured card titled Browse and Edit Keys, with a key tree showing book, then 4, then the string keys title, author and price.
Browse and edit keys.

Valkey® Admin’s Key Browser shows the keys on your Valkey server as a tree, with each key’s type, size and expiry. You can open any key, change its value, add new keys and delete them without typing a command.

This guide uses three keys from the Valkey Tutorial’s Bookshop: book:4:title, book:4:author and book:4:price.

Note: Every command and screen on this page is real, from Valkey Admin 1.3.0 connected to Valkey 9.1 on an Apple silicon Mac with macOS 26.

Prerequisites

  • Valkey Admin connected to your Valkey server.

Step 1: Open the Key Browser

Connect first if you haven’t: How to Connect Valkey Admin to a Valkey Server. Then click Key Browser in the sidebar. The top shows Total Keys and Memory Usage, the total size of those keys.

Step 2: Browse the Tree

Keys are grouped by the colons in their names. Click the arrows to open book and then 4:

The Valkey Admin Key Browser tree with the group book (3), its subgroup 4 (3), and the keys title, author and price, each marked STRING with its size and No expiry.
The Key Browser groups the three keys under book › 4.

Step 3: Search with a Pattern

Type a pattern in the search box and press Return. It takes glob patterns: * matches any characters, so *:price finds every key that ends in :price:

The Valkey Admin Key Browser with the search pattern *:price, showing one match: book (1), 4 (1), price, STRING, 32 B, No expiry.
The pattern *:price finds every key that ends in :price.

Clear the box and press Return to see all keys again. To show one type only, choose it in the All Key Types list: String, Hash, List, Set, Zset, Stream or JSON.

Step 4: Open a Key

Click price. Its details open on the right: the name, the expiry, the type, the size and the value.

The Valkey Admin Key Browser with the price key selected and its details on the right: book:4:price, No expiry, string, 32 B, a delete icon, and the value 9.99 with an edit pencil.
Click a key to see its expiry, type, size and value.

Step 5: Edit the Value

Click the pencil icon, change the value and click the tick to save:

The details of book:4:price in edit mode, with 8.99 typed in the value box and tick and cross buttons to save or cancel.
Edit the value, then click the tick to save.

The new value shows at once:

The details of book:4:price in the Valkey Admin Key Browser after editing, with the value now 8.99.
After saving, book:4:price holds 8.99.

Step 6: Add a Key

Click + Add Key. Choose the type (String here), type the key name and the value, and click Submit. Leave TTL empty for a key that never expires: the form’s default is -1, no expiration.

The Valkey Admin Add Key form with key type String, an empty TTL field whose hint reads Default: -1 (no expiration), Key name book:1:title and Value The Paper Lantern Café, and Submit and Cancel buttons.
Add Key: type, optional TTL, key name and value.

The new key appears in the tree, under book › 1:

The Key Browser tree after adding a key: book (4) with subgroup 4 (3) holding title, author and price, and a new subgroup 1 (1).
The new key appears under book › 1.

Step 7: Delete a Key

Open the key and click the red bin icon at the top of its details. Valkey Admin asks you to confirm. Click Delete:

The details of book:1:title with the value The Paper Lantern Café and a confirmation box reading You are deleting: book:1:title, with a red Delete button.
Valkey Admin asks before it deletes a key.

The key disappears from the tree. Deleting a key can’t be undone.

Clean Up

If you created the book keys only to follow along, delete them the same way, or with one command in Send Command:

Send CommandPlain text
DEL book:4:title book:4:author book:4:price
ResponsePlain text
3

FAQ

Can I edit hashes and lists too?

Yes. Valkey Admin’s Key Browser documentation (opens in a new tab) says it can update values and add hash fields and list elements.

Why do big keys show only part of their contents?

Hashes, lists, sets and sorted sets are loaded a page at a time, so a key with millions of members doesn’t slow the browser down.

Conclusion

The Key Browser turns the colons in your key names into a tree. Search with a pattern, open a key to see its details, and edit, add or delete keys with a few clicks.

Additional Resources

Valkey® is a registered trademark of LF Projects, LLC. Redis® is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Other names mentioned are trademarks of their respective owners. JD Bots isn’t affiliated with the Valkey project, LF Projects or Redis Ltd., and isn’t endorsed, supported or certified by them.

0 comments