isar
Isar is an open-source NoSQL database built specifically for Flutter applications, emphasizing speed and ease of use with a simple query API. It supports iOS, Android, and desktop platforms with full async/await support and is actively maintained, though version 4 is marked as not production-ready.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | isar/isar |
| Owner | isar |
| Primary language | Dart |
| License | Apache-2.0 — OSI-approved |
| Stars | 4k |
| Forks | 607 |
| Open issues | 185 |
| Latest release | 3.1.0+1 (2023-04-25) |
| Last updated | 2025-06-14 |
| Source | https://github.com/isar/isar |
What isar is
Isar provides a Dart-native NoSQL database with composite indexing, full-text search, ACID semantics, multi-isolate support, and static typing via code generation. It uses native binaries (isar_flutter_libs) for core operations and integrates with Dart's build_runner for schema compilation.
Get the isar source
Clone the repository and explore it locally.
git clone https://github.com/isar/isar.gitcd isar# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Code generation via build_runner is mandatory; schema changes trigger regeneration and must be committed. Plan for schema versioning and migration strategy early.
- Unit tests require `Isar.initializeIsarCore(download: true)` and `-j 1` flag to avoid parallel execution; CI/CD setup must account for native binary initialization.
- Isar Inspector (debug-mode tooling) aids development but has no production equivalent; production debugging limited to logs and offline data inspection.
- Open issues (185) suggest ongoing API churn; monitor GitHub discussions and releases closely when updating beyond v3.1.0.
- Multi-isolate concurrency requires careful thread-safety design; watchers and async operations interact with Dart's event loop and must be managed explicitly.
When to avoid it — and what to weigh
- Non-Flutter backend or server-side persistence — Isar is a client-side, embedded database. It is not suitable as a server database or for non-Dart/Flutter ecosystems without significant architectural workarounds.
- Need production-grade version 4 features — README explicitly warns v4 is not production-ready. Adopters must commit to v3 maintenance window or accept v4 stability risks and breaking changes.
- High-volume transactional systems or OLAP workloads — Isar is optimized for OLTP on constrained devices. Complex multi-table joins, massive data volumes, or analytical queries are outside its design scope.
- Requirement for proprietary support or SLA — Community-driven open-source project with no commercial support entity, SLAs, or indemnification. Production use depends on team's internal capacity.
License & commercial use
Apache License 2.0 (Apache-2.0). Permissive OSI-approved license allowing commercial use, modification, and distribution with minimal restrictions (attribution required).
Apache-2.0 permits commercial use without royalty. However, this is a community-maintained project with no vendor indemnification, commercial support, or warranty. Legal review recommended for mission-critical deployments; commercial support contract may require third-party engagement.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Strong |
| License clarity | Clear |
| Deployment complexity | Low |
| DEV.co fit | Strong |
| Assessment confidence | High |
Database is embedded and local to the device; no network attack surface. ACID semantics claim supports consistency but no cryptographic encryption, access control, or secure key storage documented. Team should assess data sensitivity, review native library supply chain (isar_flutter_libs binary provenance), and implement app-level encryption if handling sensitive data.
Alternatives to consider
Hive
Dart/Flutter-native, lightweight, simpler API; fewer features (no advanced indexing, full-text search). Mentioned in Isar repo as related project. Choose if simplicity over features is priority.
Realm (Realm Flutter SDK)
Cross-platform mobile database with broader platform support (web, sync services). More mature but higher complexity and licensing implications. Consider if multi-platform sync required.
SQLite (via sqflite)
Ubiquitous, battle-tested, lighter weight. Requires manual schema management and SQL; no type safety or reactive watchers. Use if team prefers SQL or minimal dependencies.
Build on isar with DEV.co software developers
Start with version 3.1.0 in dev/staging, prototype a critical feature (offline search, sync), and assess multi-isolate integration fit. Review open issues and GitHub Discussions for your use case before committing. Contact our team to align architecture with your platform and maintenance strategy.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
isar FAQ
Is Isar v4 safe to use in production?
Can I use Isar outside Flutter or Dart?
What is the learning curve?
How do I handle schema migrations?
Custom software development services
Adopting isar is usually one piece of a larger software development effort. As a software development agency, DEV.co provides software development services and web development expertise — pairing senior software developers and web developers with your team to design, build, and operate open-source databases software in production.
Ready to evaluate Isar for your Flutter project?
Start with version 3.1.0 in dev/staging, prototype a critical feature (offline search, sync), and assess multi-isolate integration fit. Review open issues and GitHub Discussions for your use case before committing. Contact our team to align architecture with your platform and maintenance strategy.