What is the DB3 file format?
A .db3 file is a database file created by SQLite, a lightweight and self-contained database engine. SQLite stores data in a structured binary format that can be accessed using SQL. The .db3 extension is a naming convention - it is identical in format to .db, .sqlite, and .sqlite3 files; all share the same 16-byte header SQLite format 3.
An example of a .db3 file is PalmDatabase.db3, which stores personal browsing history. The format requires no server process and runs on Windows, macOS, Linux, Android, and iOS. Tools such as DB Browser for SQLite, the sqlite3 command-line shell, and SQLite Viewer can open .db3 files alongside other SQLite variants.
Security & safety
RISK: MEDIUMA .db3 file is data, not code, so opening it in a viewer is safe. Treat the CONTENTS as sensitive, though: app and browser SQLite databases commonly hold private messages, contacts, history, tokens and location data - don't upload personal databases to online viewers, and prefer a local tool (DB Browser/sqlite3). Never run SQL from an untrusted source against your database (it can DROP/DELETE data). The newest changes may live in companion -wal/-journal files beside the .db3.
Format details
in a nutshellPrograms that open DB3 files
Technical details
deep spec| Encoding | Binary; multi-byte integers in the header and B-tree cells use big-endian byte order |
| MIME type | application/vnd.sqlite3 (also application/x-sqlite3) |
| Magic bytes | 53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00 at offset 0 (ASCII: "SQLite format 3" + NUL) |
| File header | 100 bytes; stores page size, format version bytes, text encoding, schema version, and other metadata |
| Page size | 512 to 65,536 bytes (must be a power of 2); default is 4,096 bytes since SQLite 3.12.0 (2016) |
| Maximum database size | ~281 TB theoretical (2^31 minus 2 pages at 65,536 bytes each) |
| Storage structure | Single file of fixed-size B-tree pages: root page, per-table B-trees, per-index B-trees, and freelist pages |
| Schema catalog | sqlite_schema table on page 1 records all table, index, view, and trigger definitions |
| Journal and WAL companion files | Rollback journal: .db3-journal; WAL mode adds .db3-wal and .db3-shm alongside the database file |
| Format version bytes | Header offsets 18-19: 1 = rollback journal mode, 2 = WAL mode |
| Encryption | None in the base format; available via SQLCipher or the SQLite Encryption Extension (SEE) |
| Compression | None at page level; applications may store compressed BLOBs inside the database |
| Integrity checking | PRAGMA integrity_check command; optional per-page checksums via the Checksum VFS shim |
| Platform support | Windows, macOS, Linux, Android, iOS, and embedded environments; no server process required |
| Released | SQLite 3 file format, 2004 |
| Latest version | SQLite 3 file format (stable since 2004; magic byte 'SQLite format 3' unchanged) |
| Open standard | Yes · royalty-free |
| Specification | www.sqlite.org |
DB3 conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about DB3 files.