Build offline-first apps faster

– on Mobile, IoT & Embedded Devices

ObjectBox is a superfast Mobile Database / Edge Database persisting data locally on restricted devices, e.g. mobile phones, cars, machines, or any kind of IoT device. Because edge applications typically entail exchanging data of many distributed devices, ObjectBox Database comes with an out-of-the-box Data Sync. It takes care of synchronizing data between devices and of course works cross-platform (check out this simple tutorial to see how easy you can sync data across platforms with ObjectBox Sync).

Go

Intuitive native APIs developers

ObjectBox abstracts the complexity and repetitiveness of decentralized offline-first apps behind enjoyable, easy-to-use, and superfast APIs. Making it easy to implement sustainable resource-efficient architectures, reducing unnecessary cloud waste and enhancing data privacy options.

Our APIs are simple, easy to use, and quick to implement. See for yourself.

From the team behind EventBus & GreenDAO, in the top 1% of Java developers on GitHub.


 

Want to start syncing data seamlessly?

Easily get your free Data Sync Trial now and start syncing data within minutes – in Java, Kotlin, swift, C / C++, Golang, Flutter / Dart. Use ObjectBox Data Sync on any devices (from a mobile phone to a Raspberry Pi to an ECU to a tablet, a server, a cloud, or on bare metal). It’s up to you

See how cross platform sync works

This tutorial + video shows how you can sync between three instances of our multiplatform task-list example app. It will walk you through all the necessary steps to implement sync in your Java (Android), C++ and Go apps.

ObjectBox is fast - check it out yourself

Mobile Benchmarks

CRUD Operations | Entities per second (higher is better)

ObjectBox-sqlite benchmark

IoT Benchmarks

CRUD Operations | Entities per second (higher is better)

ObjectBox-benchmark couchbase

All our benchmarks are Open Source. Check them out on GitHub and let us know what you think. We strive for fair and transparent benchmarks.

ObjectBox Features – giving Mobile & IoT an Edge

lightspeed icons Lightspeed

Our motivation to build ObjectBox was to deliver the best possible performance, outperforming every embedded database we’ve ever tested.

Easy Object API

Objectbox is not an ORM, it is build for objects from the ground up, which means no more rows, columns, or SQL. Our concise API is easy to learn and only requires a fraction of the code compared to SQLite.

Querybuilder

With ObjectBox, simply query for objects with checks at compile times; no more typos causing crashes at runtime.

Object Relations

Object references / relationships are build-in, native references.

Reactive

Reacting to data changes is simple and powerful. Use reactive data observers from ObjectBox or integrate with RxJava.

Multiplatform

ObjectBox supports Android, plain-Java, Kotlin  (Linux and Windows), POSIX, MacOS, iOS, Go, Python, Dart/Flutter, and C/C++.

Instant Unit Testing

With our multi-platform approach, you can run plain unit tests on the desktop (no Robolectric, on instrumentation tests) with a real database in milliseconds.

Robust Technology

ACID (Atomic, Consistent, Isolated, Durable) properties and Multiversion Concurrency Control (MVCC) provide you with  safe transactions and parallelism.

Simple Threading

Objects returned by ObjectBox with in all threads. No strings attached.

No Manual Schema Migrations

ObjectBox takes care of new object versions with added, removed and renamed properties. Automatic schema migration removes that chore for developers.

Daocompact Library

greenDAO is an Object-Relational-Mapper (ORM). If you are already using greenDAO, you can seamlessly switch to ObjectBox using greenDAO compat APIs for ObjectBox. If you are using another ORM or DB, switching to ObjectBox is easy.

Battle Testing

From beta onward, ObjectBox has been running on 30k+ apps, and millions of devices. Of course, we’ve also run over 1,000 individual internal unit tests and empower apps with more than 20 million installs.

Ready to get started?

Join the community

SIEMENS

“very easy to integrate…gave us the data access speed we needed.”

KONTRON S&T group

“performance improvement far beyond other databases”

Atul Kumar

“ObjectBox made my work easy to store locally. Overall my experience with ObjectBox is mind blowing.”

Manas Thakur

“I liked the fact that it is a synchronous DB and that I don’t have to await for read/write operations.”

Cris @Crispert

“Terrific job, ObjectBox is marvelous solution, it almost makes data persistance invisible. I was really astonished to see how the code shrunk, in front of my eyes when I replaced realm. I’m still amazed how simple all of it is.”

Eslam Mongy

“Thank you. ObjectBox has proven to be an exceptionally efficient solution for local data storage. In my experience, it surpasses the performance of other available options.”

Mohammad Monfared

“I was impressed by the simplicity and efficiency of the ObjectBox database solution.”

Thierry Benda

“ObjectBox is a great candidate to store events and handle them later, amongst many other interesting features.”

ObjectBox Mobile Database Questions Answered

Is ObjectBox DB an ORM (Object-Relational Mapper)?

No, ObjectBox is not an ORM. It’s an offline-first database (as in “data persistency layer” or “data storage”) built from the ground up for fast object persistence on all kinds of devices. This means you don’t have to deal with the rows, columns, and SQL queries of relational databases. Or, in other words: you gain the ease of use of an ORM (easy, native-language APIs) while omitting the performance trade-off of using a SQL DB with an ORM on top.

What platforms does ObjectBox DB support?

ObjectBox Sync runs on a wide variety of devices and operating systems:

  • Mobile: Android, iOS
  • Desktop and Embedded: Windows, macOS, Linux, and any other POSIX-compliant system
  • Automotive: QNX
  • Cloud: Any cloud and bare metal

Is ObjectBox free to use? Is it open source?

Yes, ObjectBox DB is completely free to use and all language bindings are open source Apache 2).

What are the minimum hardware requirements to run ObjectBox DB?

32-bit CPU (e.g. ARM-v6, x86), 16 MB RAM, POSIX OS

Is it truly offline-first?

Yes, ObjectBox is fundamentally designed to be offline-first. The database is very lightweight (can be <1MB up to a couple of MB, depending on what features are included), and highly resource-efficient (which is why it is used inside BMW cars). Your application’s data is stored locally on every device using the embedded ObjectBox database, which allows your app to maintain full functionality without an internet / cloud connection. When a connection is available (e.g. a local Wifi, Ethernet, or an internet / cloud connection), you can use ObjectBox Sync, which can automatically and efficiently take care of harmonizing any data changes across devices and / or a central server or cloud. ObjectBox is 100 % cloud-optional. You can use ObjectBox Sync also in a complete offline / on-premise / local setting without using the internet or the cloud.
This offline-first approach ensures that users can continue working with your application regardless of network conditions, and data can be stored where it best fits your use case and preferences.

Does ObjectBox support AI apps? Does ObjectBox offer vector search?

Yes, ObjectBox offers full support for vector embeddings and a highly efficient vector search. ObjectBox is therefore well suited for local / on-device AI apps and Edge AI.