Small. Fast. Reliable.
Choose any three.
Features Of SQLite
are atomic, consistent, isolated, and durable (ACID)
even after system crashes and power failures.
- no setup or administration needed.
- Implements most of SQL92.
(Features not supported)
- A complete database is stored in a
single cross-platform disk file.
- Supports terabyte-sized databases and gigabyte-sized strings
and blobs. (See limits.html.)
- Small code footprint:
less than 500KiB fully configured or much less
with optional features omitted.
- Faster than popular client/server database
engines for most common operations.
- Simple, easy to use API.
- Written in ANSI-C. TCL bindings included.
Bindings for dozens of other languages available separately.
- Well-commented source code with
100% branch test coverage.
- Available as a
single ANSI-C source-code file
that you can easily drop into another project.
no external dependencies.
- Cross-platform: Unix (Linux, Mac OS-X, Android, iOS) and Windows
(Win32, WinCE, WinRT)
are supported out of the box. Easy to port to other systems.
- Sources are in the public domain.
Use for any purpose.
- Comes with a standalone command-line interface
(CLI) client that can be used to administer SQLite databases.
Suggested Uses For SQLite:
Application File Format.
Rather than using fopen() to write XML, JSON, CSV,
or some proprietary format into
disk files used by your application, use an SQLite database.
You'll avoid having to write and troubleshoot a parser, your data
will be more easily accessible and cross-platform, and your updates
will be transactional. (more...)
Database For Gadgets.
SQLite is popular choice for the database engine in cellphones,
PDAs, MP3 players, set-top boxes, and other electronic gadgets.
SQLite has a small code footprint, makes efficient use of memory,
disk space, and disk bandwidth, is highly reliable, and requires
no maintenance from a Database Administrator.
Because it requires no configuration and stores information in ordinary
disk files, SQLite is a popular choice as the database to back small
to medium-sized websites.
Stand-in For An Enterprise RDBMS.
SQLite is often used as a surrogate for an enterprise RDBMS for
demonstration purposes or for testing. SQLite is fast and requires
no setup, which takes a lot of the hassle out of testing and which
makes demos perky and easy to launch.