SQLite Structure Inspector
Drop in a SQLite database file and inspect its on-disk structure without running a server. The tool reads the 100-byte SQLite file header and reports the format version, page size, database size in pages, freelist page count, schema cookie and format number, text encoding, user version and application id. It then walks every page and classifies its b-tree page type: leaf or interior table, leaf or interior index, or unused page, and reports per-page types plus totals for each class. It checks structural integrity and flags the common problems: a missing SQLite magic number, a page size that is not a power of two or exceeds 65536 bytes, a header that declares more pages than the file actually contains, a nonzero freelist count with no matching pages, an illegal b-tree page type byte, a nonzero reserved-space value, an unknown schema format, and a truncated file. Everything runs entirely on-device.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop a file here, or browse
Accepts: .db,.sqlite,.sqlite3,.db3,application/vnd.sqlite3
Files stay on your device.
Ctrl+V to paste an image
Options
Drop a file above to begin
Your file are processed on this device and never uploaded.
How it works
What it reads
Drop in a SQLite database file and the tool inspects its on-disk structure without running a server. It reads the 100-byte SQLite file header and reports the format version, page size, database size in pages, freelist page count, schema cookie and format number, text encoding, user version and application id. It then walks every page and classifies its b-tree page type: leaf or interior table, leaf or interior index, or unused page, and reports per-page types plus totals for each class.
The findings that matter
The audit checks structural integrity and flags the common problems: a missing SQLite magic number, a page size that is not a power of two or exceeds 65536 bytes, a header that declares more pages than the file actually contains, a nonzero freelist count with no matching pages, an illegal b-tree page type byte, a nonzero reserved-space value, an unknown schema format, and a truncated file. Each is the kind of anomaly that can corrupt reads or explain why a database will not open cleanly.
How the header maps to layout
The first 100 bytes encode how the rest of the file is organised: the page size fixes the unit that every b-tree walk divides the file into, the database-size-in-pages says how many such pages should exist, and the freelist count tells how many are free for reuse. Cross-checking those numbers against the actual pages is exactly what the page inventory and findings views do.
Privacy and limits
Everything runs entirely on-device — the file bytes are parsed in this tab and nothing is transmitted, so the tool works fully offline. It is read-only: it never writes to or modifies the database you drop in.
Questions
Is the database file uploaded anywhere?
No. The file is parsed entirely on-device, the tool makes no network requests, and it works fully offline. It is also read-only, so it never alters the file.
Which files can it open?
SQLite databases with the .db, .sqlite, .sqlite3 or .db3 extension (and the application/vnd.sqlite3 MIME type) are accepted. The tool reads the on-disk structure rather than running SQL, so no server is involved.
What is the SQLite magic number?
Every SQLite database file starts with the 16-byte ASCII string "SQLite format 3\000". A missing magic number is one of the first integrity problems the tool flags, since it means the file is either not a SQLite database or its header has been damaged.
What do the page-type classes mean?
Each page is classified as a leaf or interior table page, a leaf or interior index page, or an unused page. The inventory view lists them per page and the summary reports totals per class, so you can see how the b-tree is structured and whether any pages sit outside an expected layout.
Related tools
See categorySQLite Viewer
Open a .db or .sqlite file in your browser: browse tables, run read-only SQL, export CSV.
CSV to SQL INSERT
Turn a CSV table into INSERT statements for MySQL, Postgres, SQLite or any SQL database.
File Signature Inspector
Identify common file formats from their bytes instead of trusting the extension.
File Metadata
Inspect file names, sizes, MIME types, timestamps and SHA-256 hashes.