# sembast

> Embedded NoSQL document database for Dart and Flutter, stored in a single file

Source: https://talira.ai/catalog/sembast-2rh79hc8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [databases / embedded](https://talira.ai/categories/databases/embedded), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (BSD-3-Clause).
- Free tier: yes[^2]
- Backed by: [Alexandre Roux](https://talira.ai/orgs/alexandre-roux.md)

sembast (Simple Embedded Application Store database) is a NoSQL document database for Dart VM and Flutter apps by Alexandre Roux Tekartik. The whole database lives in one file that is loaded into memory when opened; changes are appended to the file right away and it is compacted automatically when needed. It is pure Dart, so it runs on every platform with no plugin, supports encryption through a user-defined codec, runs on the web through sembast_web and on top of SQLite through sembast_sqflite, with the same stores, records, queries and transactions API everywhere.

## Links

- GitHub: https://github.com/tekartik/sembast.dart
- Docs: https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/guide.md

## Problems it solves

- store JSON documents locally in my Flutter app without a native plugin
- persist app data to a single file in a Dart command-line tool
- keep an encrypted local database in a Flutter app on every platform, web included

## Features

- single-file document store, loaded into memory
- append-only writes with automatic compaction
- encryption through a user-defined codec
- web support through sembast_web
- SQLite storage through sembast_sqflite
- stores, records, queries and transactions

## Limitations

- Made for single-process applications[^1]
- Opening a database loads its whole content into memory[^1]

## Trust

Overall: 0.50 out of 1.
Signals: maintenance 0.77, adoption 0.59, momentum 0.26, community 0.48, backing 0.30, extensibility 0.00.

- last commit 20 days ago
- 25 commits in the last 90 days
- 869 GitHub stars
- 15 contributors
- accepts sponsorship (Github)
- backed by Alexandre Roux

## Alternatives

- [sqflite](https://talira.ai/catalog/sqflite-p8s14h5h.md): SQLite plugin for Flutter apps on Android, iOS and macOS

## Sources

[^1]: https://github.com/tekartik/sembast.dart/blob/master/sembast/README.md (checked 29 Nov 2026)
[^2]: https://github.com/tekartik/sembast.dart/blob/master/sembast/LICENSE (checked 29 Nov 2026)
