LiteDB

B
B tier on Embedded DatabasesScore 7.1 · #11 of 31
Android app
Yes
Free plan
Yes
Runs on
Android, api, iOS, Linux, self-hosted, Windows
litedb.org
The LiteDB homepage

Summary

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 for write failures using WAL mode. It offers SQL-like commands, LINQ queries, and query EXPLAIN plans. POCO classes can be mapped to BsonDocument, with a fluent API for custom mapping. Its FileStorage feature stores files and streams in the database, though each root BSON document has a documented 16 MB limit. LiteDB describes itself as thread-safe, with cross-collection transactions, no reader locks, and per-collection writer locks. Datafiles can be password-protected with salted AES encryption; the encryption documentation specifies ECB mode and says a password change or removal requires rebuilding the datafile. LiteDB is free and open source under the MIT License. It is installable through NuGet, and the project links to LiteDB.Studio for administration and community help through GitHub issues, Gitter, and Stack Overflow.

Who it is for

LiteDB suits .NET developers who want an embedded database for mobile, desktop, local, or web applications, or per-user data stores. Its single-file storage and BSON support may also suit applications that need database-backed file storage.

What is good

  • Free for everyone, including commercial use
  • Stores data in a single datafile
  • Supports ACID transactions and WAL recovery
  • Offers SQL-like commands and LINQ queries
  • NuGet installation and LiteDB.Studio are available

What to know first

  • Each root BSON document is limited to 16 MB
  • Password changes require rebuilding the datafile
  • Encryption uses ECB mode

Verdict

LiteDB combines embedded .NET storage with transactions, query options, and BSON mapping in a single datafile. Consider its root-document size cap and the steps required to change an encryption password when planning data storage.

LiteDB plans and pricing

All plans
LiteDB Free Free for everyone, including commercial use litedb.org · 4 Oct 2026

Compared on embedded databases

Free plan
Yeslitedb.org
Deployment model
self_hostedlitedb.org
Document formats
BSON, extended JSONlitedb.org
Transactions
Yeslitedb.org

Facts

Product
LiteDB is a serverless, embedded .NET NoSQL document database delivered as a single DLL.litedb.org · 4 Oct 2026
Use cases
The site lists mobile apps, desktop and local applications, application file formats, web applications, and per-user data stores as intended uses.litedb.org · 4 Oct 2026
Data storage
LiteDB stores data in a single datafile and supports ACID transactions and recovery in write failures using WAL mode.litedb.org · 4 Oct 2026
Queries
LiteDB supports SQL-like commands, LINQ queries, and query EXPLAIN plans.litedb.org · 4 Oct 2026
Mapping
LiteDB maps POCO classes to BsonDocument and supports a fluent API for custom mapping.litedb.org · 4 Oct 2026
File storage
FileStorage stores files and streams in the database; LiteDB documents a 16 MB limit for each root BSON document.litedb.org · 4 Oct 2026
Concurrency
LiteDB describes itself as thread-safe, with cross-collection transactions, no reader locks, and per-collection writer locks.litedb.org · 4 Oct 2026
Platforms
The site lists .NET Framework, .NET Standard, .NET Core, UWP, Linux, Xamarin iOS and Android, and Unity support.litedb.org · 4 Oct 2026
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.litedb.org · 4 Oct 2026
Integrations
LiteDB is installable through NuGet, and the site links to LiteDB.Studio, an admin tool that supports its SQL commands.litedb.org · 4 Oct 2026
Support
The project directs users to GitHub issues, Gitter chat, and Stack Overflow for community help.litedb.org · 4 Oct 2026
License
The site identifies LiteDB as free and open source and displays the MIT License.litedb.org · 4 Oct 2026

Best LiteDB alternatives

See all 12

Where it ranks on Everything Xiaomi

Is LiteDB yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources