LevelDB and RocksDB file viewer
Drop the files of a LevelDB or RocksDB database, or just one SST file, to see inside: the layout of each table, every block and entry with its sequence number and type, the index and properties, the levels of the LSM tree from the MANIFEST, and each write batch in the log.
Drop a database directory's files here: .sst or .ldb tables, MANIFEST-*, CURRENT, *.log, OPTIONS-*
Read in your browser, a page at a time. Nothing is uploaded.
What it reads
LevelDB tables (.ldb) and RocksDB block-based tables (.sst), every format version from 0 to 6, every checksum type (CRC-32C, xxHash32, xxHash64, XXH3) and every compression a browser can undo (Snappy, zlib, LZ4, LZ4HC, ZSTD), with partitioned indexes and filters, hash indexes in data blocks, range deletions, merge operands and wide-column entities. Also the write-ahead log and the MANIFEST of both. It shows SST files that Pebble (CockroachDB's storage engine) writes in RocksDB's format, though not Pebble's own newer table formats. Every block's checksum is checked.
The parser is written from LevelDB's format documents and the RocksDB source, and is tested against files written by RocksDB 9.10.0 and LevelDB 1.23: every entry must match what sst_dump and leveldb::DumpFile print, and the MANIFEST must give the files RocksDB itself reports. It does not use RocksDB or LevelDB. Keys and values are bytes: the viewer shows them as text when they are printable, and as hex otherwise.