sripathikrishnan/redis-rdb-tools

Parse Redis dump.rdb files, Analyze Memory, and Export Data to JSON

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Added to GitGenius on September 13th, 2026
Created on March 10th, 2012
Open Issues & Pull Requests: 97 (+0)
GitHub issues: Enabled
Number of forks: 742
Total Stargazers: 5,197 (+0)
Total Subscribers: 191 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 43.1 hours
90th percentile: 7.2 days
Tracked items: 4

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 799 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Rdbtools is a parser for Redis dump.rdb files that generates events similar to an XML SAX parser and operates with minimal memory overhead.

The tool solves the problem of inspecting, analyzing, and exporting Redis persistence files without running a live Redis instance. It parses RDB dumps using an event-driven approach, making it memory-efficient even for large datasets. The parser can extract data across all databases and key types, generate detailed memory consumption reports, convert dumps to JSON with configurable encoding options, and compare two dump files using standard diff tools.

Rdbtools suits operators and developers who need to audit Redis data offline, migrate between systems, or understand memory usage patterns without accessing a running server. It works well for one-time analysis tasks and integration into backup or monitoring pipelines. The tool handles binary data through multiple encoding strategies: UTF-8 parsing with escape sequences for non-ASCII characters, raw byte preservation, or Base64 encoding. Command-line filtering by key pattern, database number, and data type allows targeted extraction without processing entire dumps.

The project maintains a stable command-line interface with multiple output formats including JSON, key-value pairs, and Redis protocol. Development activity shows ongoing maintenance with bug fixes and feature refinements addressing edge cases in RDB parsing across different Redis versions and data types.