DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

Inspect SQLite Database Header, Page Size and Encoding Locally

Inspect a SQLite database header for page size, encoding, format markers and application metadata without opening or uploading its tables.

Loading tool...

How to read SQLite file header metadata

  1. Choose the main database file

    Select the SQLite database itself, not its -wal, -shm, or journal sidecar. The browser reads only its first 100 bytes and file length.

  2. Compare the page count with file length

    For example, an 8,192-byte file with 4,096-byte pages holds two complete pages. The tool reports whether the header's page count is eligible under SQLite's header rules or whether it falls back to file length.

  3. Export the report

    Download technical metadata such as encoding, user_version and application ID. The report does not include the filename, raw bytes, schema names or rows.

Use cases

  • Compare storage settings across local SQLite copies.
  • Check which SQLite format markers a main database file declares before troubleshooting elsewhere.

Limits and privacy

  • This reads only the SQLite 3 main file header; it does not open tables, use WAL, recover data or run an integrity check.
  • WAL markers do not tell you whether a current sidecar exists or contains uncheckpointed changes. An unusual header or length does not by itself diagnose corruption.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Can I map table relationships from the header?

No. SQL Schema Map & Diff offers a separate comparison for supported PostgreSQL DDL; the SQLite header contains neither table names nor rows.

Does this query the original database?

No. It reads the initial 100 bytes and the local file length, without starting a database engine or opening rows.

Can it detect an active WAL file?

No. It reports the main file's read and write format markers, not whether a sidecar exists or has newer changes.

Why can the header page count be ignored?

SQLite only treats a nonzero stored count as current when the header's change counter equals the version-valid-for counter.

Can a clean header prove the file is intact?

No. This tool cannot inspect B-trees, pages or data outside the header. Use SQLite's integrity_check in your trusted local database workflow.

Related tools