Small. Fast. Reliable.
Choose any three.

Size Of The SQLite Library

As of 2023-07-04, the size of SQLite library is generally less than 1 megabyte. The size varies by compiler, operating system, CPU architecture, compile-time options, and other factors. When compiling using -Os (optimize for size) and with no other compile time-options specified, here are a few examples from commonly used platforms:

Your mileage may vary.

Library size will likely be larger when including optional features such as full-text search or r-tree indexes, or when using more aggressive compiler options such as -O3.

This document is intended only as a general guideline to the compiled size of the SQLite library. If you need exact numbers, please make your own measurements using your specific combination of SQLite source code version, compiler, target platform, and compile-time options.