LiteDB
litedb.org
- Free plan
- Windows
- Linux
- iPhone and iPad
- Android
- API
- Self-hosted
What LiteDB is
LiteDB is a serverless, embedded .NET NoSQL document database distributed as a single DLL. It stores data in one datafile and supports ACID transactions, with recovery from write failures through WAL mode. Queries can use SQL-like commands or LINQ, and query EXPLAIN plans are available. LiteDB maps POCO classes to BsonDocument and offers a fluent API for custom mapping. Its intended uses include mobile apps, desktop and local applications, application file formats, web applications, and per-user data stores. FileStorage can keep files and streams in the database, subject to a documented 16 MB limit for each root BSON document. LiteDB describes itself as thread-safe, with cross-collection transactions, no reader locks, and per-collection writer locks. Password-protected datafile encryption uses salted AES; the documentation specifies ECB mode, and changing or removing a password requires rebuilding the datafile. LiteDB is free and open source under the MIT License, including for commercial use. It is available through NuGet, and LiteDB.Studio is linked as an admin tool.
Who it suits
LiteDB suits .NET developers who need an embedded document database for local, desktop, mobile, web, or per-user data. It may appeal to teams that want a single datafile and do not need a separate database server.
Good to know, and what to watch
- Distributed as a single DLL.
- Supports ACID transactions and WAL recovery.
- Queries can use SQL-like commands or LINQ.
- Free for commercial use under the MIT License.
- LiteDB.Studio is linked as an admin tool.
- Each root BSON document has a 16 MB limit.
- Changing or removing the password requires rebuilding the datafile.
- Encryption documentation specifies ECB mode.
Plans
Every plan and priceLiteDB
Free plan
The verdict
LiteDB provides an embedded, single-file database with transactions, query options, and file storage. Review the document-size limit and encryption details before relying on those capabilities for your application.
What the maker publishes
- Concurrency
- LiteDB describes itself as thread-safe, with cross-collection transactions, no reader locks, and per-collection writer locks. source
- Data storage
- LiteDB stores data in a single datafile and supports ACID transactions and recovery in write failures using WAL mode. source
- Encryption
- LiteDB documents password-protected datafile encryption using salted AES; its encryption page specifies ECB mode and says changing or removing the password requires rebuilding the datafile. source
- File storage
- FileStorage stores files and streams in the database; LiteDB documents a 16 MB limit for each root BSON document. source
- Integrations
- LiteDB is installable through NuGet, and the site links to LiteDB.Studio, an admin tool that supports its SQL commands. source
- License
- The site identifies LiteDB as free and open source and displays the MIT License. source
- Mapping
- LiteDB maps POCO classes to BsonDocument and supports a fluent API for custom mapping. source
- Platforms
- The site lists .NET Framework, .NET Standard, .NET Core, UWP, Linux, Xamarin iOS and Android, and Unity support. source
- Product
- LiteDB is a serverless, embedded .NET NoSQL document database delivered as a single DLL. source
- Queries
- LiteDB supports SQL-like commands, LINQ queries, and query EXPLAIN plans. source
- Support
- The project directs users to GitHub issues, Gitter chat, and Stack Overflow for community help. source
- Use cases
- The site lists mobile apps, desktop and local applications, application file formats, web applications, and per-user data stores as intended uses. source
Checked against the maker's pages on 4 Oct 2026.