Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Converter

RDB SSTable LevelDB RocksDB Memcached Binary KV-Store Encoding Lineage

· Last updated:2026-09-22

Decode binary key-value store artifacts byte by byte: Redis RDB snapshots, LevelDB/RocksDB WAL records and SSTable footers, Memcached binary packets, BoltDB and LMDB page headers — with keyspace hex-diff and TTL expiry matrix.

Details

What this tool helps you do

A forensic decoder for the binary encodings of the KV-store family.

Supported artifacts and what gets expanded:

· Redis RDB — "REDIS" magic + ASCII version, AUX fields (opcode 0xFA), SELECTDB (0xFE), RESIZEDB (0xFB), expiry opcodes FD/FC, every value type from plain strings (int8/16/32 and LZF-compressed) through list, set, zset (ASCII and binary-double scores), hash, zipmap, ziplist, intset, quicklist v1 and v2, listpack hash/zset/set (types 16/17/18/20), and the CRC-64 Jones trailer (verified).
· LevelDB / RocksDB write-ahead log — 32 KiB blocks, 7-byte record headers (masked CRC32C, u16 length, FULL/FIRST/MIDDLE/LAST types), zero trailers.
· LevelDB / RocksDB SSTable — 48-byte legacy footer (varint64 metaindex + index BlockHandles padded to 40 bytes + little-endian magic 0xdb4775248b80fb57 / 0x88e241b785f4cff7), data-block prefix compression with restart points.
· Memcached binary protocol — 24-byte header (magic 0x80/0x81, opcode, key/extras/value split, vbucket or status, opaque, CAS), per-opcode extras such as flags + expiry.
· BoltDB — 16-byte page header and meta page magic 0xed0cdaed. LMDB — MDB_page header flags (the format famously has no magic number).

Paste a second RDB snapshot to get a keyspace diff (added / removed / value-changed / TTL-drifted keys) and a TTL expiry matrix evaluated against your chosen reference time.

The RDB path is verified against real redis-server 7.2.4 dumps; module and stream value types (6/7/15/19/21) are reported but not expanded.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Converter
Input types
textarea, select, number
Output type
html
Sample coverage
4
API ready
Yes

Overview

The RDB SSTable LevelDB RocksDB Memcached Binary KV-Store Encoding Lineage decoder provides low-level forensic analysis for key-value store binary formats. It parses raw hexadecimal byte streams from Redis RDB snapshots, LevelDB and RocksDB write-ahead logs and SSTable footers, Memcached binary protocol packets, and BoltDB or LMDB page headers into structured structural reports with keyspace diffing and TTL expiry verification.

When to use

  • Analyzing corrupted or unreadable Redis RDB snapshot files and validating CRC-64 Jones checksums.
  • Debugging wire-level Memcached binary protocol packets, request/response flags, and extras structures.
  • Comparing two Redis RDB snapshots to track keyspace diffs, changed values, and drifting key TTLs.

How it works

  1. 1Paste the raw hexadecimal byte string representing your database snapshot, log chunk, or network packet into Binary Snapshot A.
  2. 2Select the specific storage engine format or leave it on Auto-detect to identify headers via magic bytes.
  3. 3Optionally paste a secondary snapshot hex string into Binary Snapshot B and configure a reference Unix timestamp to evaluate TTL expirations.
  4. 4Review the generated forensic report, which breaks down container encodings, opcode timelines, header fields, and keyspace diffs.

Use cases

  • Inspecting internal listpack, ziplist, or intset representations across Redis version upgrades.
  • Verifying Memcached binary protocol framing, CAS counters, status codes, and opaque values in network captures.
  • Auditing on-disk page allocation flags and meta headers for embedded BoltDB and LMDB databases.

Examples

1. Redis 7.2 RDB Keyspace Diff & Expiry Inspection

Database Administrator

Background

An engineer needs to verify state changes and TTL shifts between two consecutive Redis SAVE snapshots during a maintenance window.

Problem

Manual inspection of binary dump.rdb files cannot isolate modified keys or verify listpack containers without reloading into an instance.

How to use

Paste the first RDB dump hex into Snapshot A, the subsequent SAVE hex into Snapshot B, set referenceUnixSec, and select Redis RDB snapshot format.

format: redis-rdb, referenceUnixSec: 1790000000

Outcome

Receives an HTML report showing verified CRC-64 checksums, container breakdowns, and a keyspace diff table flagging added, removed, and TTL-drifted entries.

2. Memcached Binary Packet Troubleshooting

Backend Systems Engineer

Background

A service is experiencing cache synchronization anomalies over the Memcached binary protocol.

Problem

Hex dumps from packet captures must be dissected into individual request/response headers, extras, and status codes.

How to use

FAQ

Which Redis data types are decoded by this tool?

It unpacks strings (int8/16/32, LZF), lists, sets, sorted sets, hashes, zipmaps, ziplists, intsets, quicklist v1/v2, and listpack encodings. Module and stream types are flagged without deep expansion.

How does format auto-detection work?

It matches byte signatures against known headers, such as 'REDIS' for RDB snapshots, 0x80/0x81 for Memcached binary frames, SSTable footer magic values, or BoltDB meta magic.

What is the purpose of the Reference Time parameter?

It acts as the evaluation baseline to calculate whether millisecond and second TTLs in snapshots are active, expired, or drifted relative to that specific epoch timestamp.

Can this tool parse SSTable index structures?

Yes, it parses 48-byte legacy footers, metaindex/index BlockHandles, restart points, and block-level prefix compression for LevelDB and RocksDB.

Does it support differential analysis between two files?

Yes, pasting a second RDB dump into Snapshot B produces a keyspace comparison listing added, deleted, modified, and TTL-shifted keys.

Home
Tools3206
Samples593
Visualizations468
Viewers103
Hubs236
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance645

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff
Small-Room Furniture Layout Review and Move-In Handoff
FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
text-processing

Hex/Unicode Encoding Format Samples

Examples of hex (\xXX) and unicode (\uXXXX) escape sequence encoding formats

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Development

JavaScript Deobfuscator

Deobfuscate and analyze obfuscated JavaScript code to improve readability and understanding

Data Analysis

Parquet Bloom Filter ZoneMap Dictionary and Column Statistics Pruner Evaluator

Decode a Parquet thrift footer and quantify predicate-pushdown pruning: zone-map min/max, split-block bloom filters (XXH64), dictionary ratios and encodings, with per-row-group prune-savings estimates for example WHERE clauses.

Network

PCIe Link Training LTSSM & Lane Margining Eye Decoder

Decode a PCIe link training log (LTSSM state sequence plus TS1/TS2 ordered sets) into the full Gen1-Gen6 state timeline: negotiated speed and width, rate identifier bits, lane reversal, polarity inversion, equalization phases and Detect/Recovery restart diagnostics. Also grades a lane margining report (pcilmr CSV or key=value) against the PCIe Base Spec Rev 5.0 §8.4.2 eye minimums per generation and renders a per-lane eye-margin heatmap SVG.

Science & Education

SMT-LIB 2.7 / AIGER / BTOR2 Formal Verification Orchestrator (CDCL + BMC + k-Induction + Craig Interpolation + IC3)

A complete in-browser formal-verification stack — no cvc5/Z3 binary needed: an SMT-LIB 2.7 script parser for the QF_BV + Bool core with Tseitin bit-blasting of the FixedSizeBitVectors operators (add/sub/mul/udiv/urem, shifts, comparators, concat/extract/extend, ite), an AIGER reader (ASCII aag and binary aig with delta decoding; outputs as bad properties), a BTOR2 reader with word-level bit-blasting, and a hand-written CDCL SAT engine (two-watched literals, VSIDS-style activities, 1-UIP learning, restarts) underneath. On sequential models it runs bounded model checking with counterexample-witness traces, k-induction with unique-state strengthening, McMillan-style Craig interpolation computed from the refutation and independently re-certified by SAT before being trusted, and an IC3/PDR-lite frame loop with predecessor-cube blocking.

Paste concatenated packet hex bytes into Snapshot A and run the decoder under Auto-detect or Memcached binary protocol mode.

format: memcached-binary

Outcome

Inspects parsed 24-byte headers, extras flags, key/value offsets, CAS identifiers, and explicit error status values for every frame in the sequence.