Fonts & Data · Updated · All file signatures

SQLite 3 File Signature & Magic Bytes (.sqlite)

SQLite 3 is the most widely deployed embedded relational database in the world, storing tables, indices, triggers and views inside a single cross-platform file. Every unencrypted SQLite 3 database begins with the 16-byte null-terminated ASCII string SQLite format 3\0 (53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00).

Signature & identification summary

Detected format nameSQLite database
Hexadecimal magic bytes53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00
ASCII / marker previewSQLite format 3.
Byte offset0
MIME typeapplication/vnd.sqlite3
Common extensions & aliases.sqlite, .sqlite3, .db

Check whether your file really is SQLite.

Drop any file into File Sniff’s free local browser checker to verify its 53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00 signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Bytes 16–17 store the database page size in big-endian (typically 4,096 bytes). Hundreds of desktop and mobile app formats—Apple Photos libraries, Messages chat.db, browser history/cookies, Lightroom catalogues (.lrcat) and GeoPackage maps (.gpkg)—are SQLite 3 databases under custom extensions.

Extension mismatches & common pitfalls

Note that encrypted SQLCipher databases replace the header with random salt bytes and will not show SQLite format 3\0 until decrypted.

Which apps open SQLite files?

PlatformCompatible applications & tools
Mac (macOS)sqlite3 CLI (built into macOS), DB Browser for SQLite, TablePlus, DataGrip
iPhone & iPadSQLite viewer apps, Pythonista / a-Shell
WindowsDB Browser for SQLite, DBeaver, TablePlus, sqlite3.exe

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎