DEV.co
Open-Source Databases · isar

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.

Source: GitHub — github.com/isar/isar
4k
GitHub stars
607
Forks
Dart
Primary language
Apache-2.0
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryisar/isar
Ownerisar
Primary languageDart
LicenseApache-2.0 — OSI-approved
Stars4k
Forks607
Open issues185
Latest release3.1.0+1 (2023-04-25)
Last updated2025-06-14
Sourcehttps://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.

Quickstart

Get the isar source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/isar/isar.gitcd isar# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Flutter mobile applications with offline-first architecture

Isar is purpose-built for Flutter on iOS/Android. Ideal for apps requiring local data persistence, offline capability, and real-time UI updates via watchers.

Real-time collaborative features in mobile/desktop apps

Full async support, watchers, and multi-isolate design enable responsive UIs with background query processing and reactive data binding without blocking the main thread.

Schema-driven Dart applications requiring type safety

Code-generated schemas with compile-time query validation prevent runtime errors common in schemaless databases; suitable for teams prioritizing developer experience and correctness.

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.

SignalAssessment
MaintenanceActive
DocumentationStrong
License clarityClear
Deployment complexityLow
DEV.co fitStrong
Assessment confidenceHigh
Security considerations

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.

Software development agency

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.co

Related 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?
No. README explicitly states 'Isar V4 IS NOT READY FOR PRODUCTION USE'. Use stable v3.1.0+1 for production; v4 is alpha/beta.
Can I use Isar outside Flutter or Dart?
Not directly. Isar is Dart-native. Non-Dart applications would need a separate synchronization or bridge layer, defeating the embedded database advantage.
What is the learning curve?
Low to moderate. Annotation-based schema is approachable; async/Dart idioms and build_runner integration require Dart familiarity. Example apps and docs reduce ramp-up time.
How do I handle schema migrations?
Not documented in provided README. Team must implement custom migration logic or research community patterns (GitHub Discussions likely source).

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.