ObjectBox
activeby ObjectBox Ltd. · since 2017 · also known as ObjectBox Database
Fast on-device object database with built-in HNSW vector search and an optional commercial sync server.
Overview
ObjectBox is an embedded object database for mobile, desktop and IoT devices, with bindings for Java/Kotlin, Dart/Flutter, Swift, C/C++, Go and Python. You annotate entity classes and get ACID transactions, relations and indexed queries without an ORM. Since version 4 it also ships an on-device HNSW vector index, which makes it one of the few practical options for local RAG or semantic search on phones. Data sync to other devices or a self-hosted server is a separate commercial product, ObjectBox Sync, which the company now markets as an Atlas Device Sync replacement.
Strengths & trade-offs
Strengths
- +On-device HNSW vector index for local semantic search and RAG
- +Very low per-operation overhead; benchmarks well against SQLite-based ORMs on mobile
- +Same object API on Android, iOS, Flutter, Linux, Windows and embedded C
- +Automatic schema handling for most model changes without hand-written migrations
Trade-offs
- −Core engine is closed source; only the bindings are on GitHub
- −Sync is a paid add-on rather than part of the free product
- −No SQL; complex aggregation and reporting must be done in application code
Great for
- +Offline-first Android and Flutter apps
- +On-device AI features needing local vector search
- +IoT gateways and embedded Linux devices
- +Replacing Realm after the Device Sync shutdown
Think twice for
- −Server-side multi-user databases
- −Teams that require a fully open-source stack
- −Ad-hoc SQL analytics
Capabilities
Native or official first-party support · 6 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Strict
- Architecture
- Embedded
- Query languages
- ObjectBox Query Builder API
Single-process embedded store; scale-out only via ObjectBox Sync replicas.
Deployment
Ecosystem
Alternatives to ObjectBox
Object-oriented mobile database whose MongoDB sync service is gone; the local engine survives as open source.
objectbox vs realm →Embedded JSON document database with SQL++ queries, vector search and sync to Couchbase.
objectbox vs couchbase-lite →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
objectbox vs sqlite →Fast Flutter/Dart object database with rich indexed queries, now stalled upstream.
objectbox vs isar →Lightweight pure-Dart key-value store for Flutter; development continues in the Hive CE fork.
objectbox vs hive-dart →Sync engine that keeps on-device SQLite in sync with Postgres, MongoDB, MySQL or SQL Server.
objectbox vs powersync →ObjectBox FAQ
What is ObjectBox?
ObjectBox is an object database by ObjectBox Ltd., first released in 2017. ObjectBox is an embedded object database for mobile, desktop and IoT devices, with bindings for Java/Kotlin, Dart/Flutter, Swift, C/C++, Go and Python. You annotate entity classes and get ACID transactions, relations and indexed queries without an ORM. Since version 4 it also ships an on-device HNSW vector index, which makes it one of the few practical options for local RAG or semantic search on phones. Data sync to other devices or a self-hosted server is a separate commercial product, ObjectBox Sync, which the company now markets as an Atlas Device Sync replacement.
Is ObjectBox open source?
No. ObjectBox is proprietary, closed-source software. License: Free closed-source core; Apache-2.0 language bindings.
Does ObjectBox support ACID transactions?
Yes. ObjectBox supports full ACID transactions, with strong consistency.
Does ObjectBox scale horizontally?
ObjectBox does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run ObjectBox?
You can self-host it, embed it in your application and run it at the edge.
What is ObjectBox best for?
ObjectBox is a strong fit for offline-first Android and Flutter apps; on-device AI features needing local vector search; and IoT gateways and embedded Linux devices. Think twice for server-side multi-user databases.
What are the best alternatives to ObjectBox?
Common alternatives to ObjectBox include Realm (Atlas Device SDK), Couchbase Lite, SQLite, Isar and Hive (Dart). The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is ObjectBox?
ObjectBox ranks #269 of 844 databases on the WhichDB Score (12.4/100), and #3 among object databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



