A high-performance Flutter/Dart database for super-fast object persistence and on-device vector search.
ObjectBox is a high-performance, NoSQL object database for Flutter and Dart applications, designed for super-fast persistence of Dart objects. It solves the need for efficient local data storage on mobile and IoT devices, reducing cloud costs and enabling offline functionality. Additionally, it introduces on-device vector search capabilities, making it suitable for AI-powered apps.
Flutter and Dart developers building cross-platform mobile, desktop, or IoT applications that require fast local data persistence, especially those integrating on-device AI features.
Developers choose ObjectBox for its exceptional speed, intuitive Dart API that eliminates SQL complexity, and unique on-device vector database support for AI applications. Its built-in data sync and resource-efficient design make it a compelling alternative to SQLite and Firebase for offline-first and real-time apps.
Flutter database for super-fast Dart object persistence
The README includes benchmarks showing ObjectBox outperforming SQLite and Hive in CRUD operations, making it ideal for real-time applications that demand high responsiveness.
As the first on-device vector database for Dart, it enables AI-powered features like semantic search directly on mobile and IoT devices, reducing cloud dependency for AI apps.
Provides a statically typed, NoSQL interface that eliminates SQL complexity, with compile-time checks and optimizations, as shown in the example code for queries and CRUD operations.
Offers synchronization across devices and servers, both online and offline, serving as a self-hosted Firebase alternative for offline-first apps, mentioned in the features and sync packages.
Requires running a code generator for model classes, adding an extra build step and potential complexity, as indicated by the separate objectbox_generator package in the repository.
As a proprietary solution from ObjectBox Ltd., migrating away can be difficult, and advanced features like sync may involve commercial licensing, hinted at in the license section and separate sync packages.
Compared to established databases like SQLite, ObjectBox has fewer third-party tools, community plugins, and integration options, which might slow down development or troubleshooting.
ObjectBox is an open-source alternative to the following products:
Drift is an easy to use, reactive, typesafe persistence library for Dart & Flutter.
SQLite flutter plugin
A Flutter plugin for securely storing sensitive data using encrypted storage.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.