.SQLITE

SQLITE File

SQLite Database
Ask a question
QUICK ANSWER

A .sqlite file is a self-contained relational database created by SQLite, the most widely deployed database engine in the world. Open it with the free DB Browser for SQLite (Windows/macOS/Linux) or the sqlite3 command line. The .sqlite, .sqlite3, and .db extensions are the same format on disk - just different naming conventions.

Developer: D. Richard Hipp / SQLite Development Team (public domain) Category: Database Files Open standard MIME: application/vnd.sqlite3
OPENS ON Windows macOS Linux Web
Related: .DB · .DBF · .ACCDB · .SQL

On this page

19k+ extensions indexed
Last reviewed Jun 24, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SQLITE file format?

Files with the .sqlite extension are database files created using the SQLite library - a self-contained, server-less system for storing and managing relational databases. Data in .sqlite files is organized in tables, and each table may consist of any number of columns and records designed to hold different types of data. Internally, the file uses a B-tree structure split into fixed-size pages and always begins with the 16-byte ASCII magic string SQLite format 3, which makes it identifiable regardless of what extension is used - the same database may also appear as .db, .sqlite3, or .db3.

Access to .sqlite files is not restricted in any way, and managing them can be performed with many programs and programming languages that recognise and support this format. As a result, .sqlite database files are used to store many kinds of structured data: client lists, product catalogs, application settings, and any other content requiring an ordered structure. The format is therefore commonly built into web browsers, mobile operating systems, and countless desktop applications as an embedded database engine that requires no separate server process.

Security & safety

RISK: MEDIUM

A .sqlite file is data, not code, so opening it in a viewer is safe. Treat the CONTENTS as sensitive, though: app/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). Be aware the database may have companion -wal/-shm files holding the newest changes.

Format details

in a nutshell
FULL NAMESQLite Database
DEVELOPERD. Richard Hipp / SQLite Development Team (public domain)since SQLite 1.0 in 2000; the current SQLite 3 file format since 2004
MIME TYPEapplication/vnd.sqlite3
TYPEBinary, self-contained single-file relational database (SQLite 3 file format)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708090a0b0c0d0e0f
HEX
53514C69746520666F726D6174203300
ASCII
SQLite format 3·
The first 16 bytes are always the ASCII string "SQLite format 3" followed by a NUL byte. This is identical regardless of the file extension - .sqlite, .sqlite3, .db, .s3db, .db3 and countless extension-less app files all share it. Identify a SQLite database by this header, not by the .sqlite extension.

Programs that open SQLITE files

Windows4 apps
Navicat for SQlite Paid Commercial GUI: open the .sqlite to manage tables, run queries and export - paid alternative to DB Browser.
DB Browser for SQLite Open-source File -> Open Database, pick the .sqlite, then 'Browse Data' to view tables and 'Execute SQL' to query. The standard free viewer/editor.
SQLite (sqlite3 CLI) Open-source Run 'sqlite3 file.sqlite', then '.tables' to list tables and SQL queries to inspect/export.
DBeaver Open-source Create a SQLite connection pointing at the .sqlite file to browse, query and export across a polished GUI.
macOS3 apps
DB Browser for SQLite Open-source Open the .sqlite and browse/edit tables; the standard cross-platform viewer.
SQLite (sqlite3 CLI) Open-source Pre-installed on macOS - 'sqlite3 file.sqlite' then '.tables' to inspect and '.mode csv'/'.output' to export.
TablePlus Freemium Native-mac GUI: open the .sqlite to browse, query and export tables.
Linux2 apps
DB Browser for SQLite Open-source Install the sqlitebrowser package and open the .sqlite to browse/query visually.
SQLite (sqlite3 CLI) Open-source 'sqlite3 file.sqlite' to query; '.dump' to export the whole DB to SQL. Usually pre-installed.
Web1 app
SQLite Viewer (sqliteviewer.app) Free Drag a .sqlite into the browser to inspect tables locally (runs client-side - but don't upload confidential databases).

Technical details

deep spec
Storage engineB-tree; table rows stored in table B-trees, index entries in index B-trees
Page size512 to 65,536 bytes per page; default 4,096 bytes (since SQLite 3.12, 2016)
File headerFixed 100-byte database header; first 16 bytes are the ASCII magic string "SQLite format 3" followed by a NUL byte
Byte orderBig-endian for all multi-byte integers in the file header and B-tree pages
Text encodingUTF-8, UTF-16LE, or UTF-16BE; chosen at creation time and recorded in the file header
Data typesFive storage classes: NULL, INTEGER, REAL, TEXT, BLOB; dynamic type affinity system
Transaction modelACID-compliant; supports rollback journal and Write-Ahead Log (WAL) journal modes
Max database sizeUp to ~281 TB (theoretical maximum with 65,536-byte pages and maximum page count)
ConcurrencyFile-level locking; WAL mode enables multiple concurrent readers alongside one writer
MIME typeapplication/vnd.sqlite3 (also application/x-sqlite3 in older usage)
Schema catalogInternal schema stored in the sqlite_schema table (formerly sqlite_master) within the file itself
Alternate extensions.db, .sqlite3, .db3, .s3db - format is identified by magic header bytes, not by file extension
AutovacuumOptional AUTOVACUUM mode reclaims free pages automatically; without it, free pages are reused in place
Embedded deploymentsUsed internally by Android, iOS, Firefox, Chrome, Safari, macOS, and many other platforms
ReleasedSQLite 1.0 in 2000; the current SQLite 3 file format since 2004
Open standardYes · royalty-free
Specificationwww.sqlite.org

SQLITE conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SQLITE files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SQLITE files.

Frequently asked questions

How do I open a .sqlite file?
Use the free DB Browser for SQLite (Windows/macOS/Linux): File -> Open Database, then Browse Data to view the tables. Or query it with the sqlite3 command-line tool. It's a database, so you browse tables, not 'read' it like a document.
What's the difference between .sqlite, .sqlite3 and .db?
Nothing in the format - all three are the same SQLite 3 file (header 'SQLite format 3'). The extension is just a naming convention chosen by the app; any SQLite tool opens all of them.
Is a .sqlite file the same as a .sql file?
No. A .sqlite file is a binary database. A .sql file is a plain-text script of SQL statements. You open .sqlite in a viewer; you run/import .sql against a database.
How do I export a .sqlite to CSV or Excel?
Open it in DB Browser for SQLite and File -> Export -> Table to CSV (one table at a time), then open the CSV in Excel/LibreOffice. DBeaver can export query results directly to XLSX.
Why won't my .sqlite open / it says 'file is not a database'?
It may be encrypted (e.g. WhatsApp crypt12/14), corrupted, or not actually SQLite. Check the first 16 bytes - a real SQLite file starts with 'SQLite format 3'. Encrypted backups must be decrypted first.
Do I need to install a server to use SQLite?
No - that's the point of SQLite. It's serverless and self-contained; a single file is the whole database, and a tool like DB Browser or the sqlite3 CLI reads it directly with no setup.

References

1SQLite - Database File Formatwww.sqlite.org
2SQLite - Most Widely Deployed Database Enginewww.sqlite.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.PARTPartial Download File
4.CRDOWNLOADChrome Partial Download File
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.MDMarkdown Document
8.AVIFAV1 Image File Format (AVIF)
9.NOMEDIAAndroid No-Media Marker File
10.RPMSGRestricted Permission Message

Related extensions

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.MDBMicrosoft Access Database (97-2003, Jet engine)
.FDBFirebird Database

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z