Fast & lightweight
We’re the fastest on-device database for Android because your users deserve reliable and smooth app experiences. ObjectBox is highly resource-efficient, achieving its speed through diligent and continuous optimizations that minimize resource usage, thereby saving battery life and helping save the planet.
We love Android. Developers ♡ ObjectBox
Join 1,000,000+ developers using ObjectBox NoSQL database and enjoy the speed and intuitive Kotlin and Java APIs of ObjectBox’s data persistence in Android apps. ObjectBox is an alternative to SQLite (and ORMs) for local data persistence in Mobile and IoT. While we developed ObjectBox for Android first, by now it is a great alternative to CoreData too. You can swiftly persist objects with ObjectBox on Android and iOS, easily outperforming any other Mobile Database across all CRUD (Create, Read, Update, Delete) operations. Therefore, ObjectBox Database is a great database option for cross-platform applications. ObjectBox Database is fully ACID-compliant and still 10x faster than any alternative. Enjoy powerful Kotlin and Java APIs making data persistence intuitive and easy. Use the out-of-the-box Data Sync to make coding even more fun again.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | @Entity public class Person { @Id long id; String firstName; ... } // MyObjectBox is generated by ObjectBox BoxStore boxStore = MyObjectBox.builder() .androidContext(YourApp.this).build(); Box<Person> box = boxStore.boxFor(Person.class); Person person = new Person("Joe", "Green"); long id = box.put(person); // Create Person person = box.get(id); // Read person.setLastName("Black"); box.put(person); // Update box.remove(person); // Delete |
1 2 3 4 5 6 7 8 | @Entity data class Person( @Id var id: Long = 0, var firstName: String, var lastName: String ) val box = boxStore.boxFor<Person>() box.put(Person(0, "Joe", "Green")) |
It's that easy
And blazingly fast!
We open source our performance benchmarks. Check them out on GitHub and ping us with any feedback you may have. We strive for fair and transparent benchmarks and update them regularly.
ObjectBox Android Database features
ObjectBox is an embedded object database for Mobile Apps and IoT. It’s a great SQLite alternative for Android apps. Our Java and Kotlin APIs make data persistence quick, easy, and fun to implement. On top, ObjectBox solves syncing data out-of-the-box, making sure data is reliably and efficiently updated bi-directionally between local apps and a central backend / the cloud. While this can be used as a full replication, it is designed to enable developers to smartly select which data should be synchronized, lowering unnecessary data traversal, and thus energy waste as well as cloud costs. While it also pays off, especially when you think about in at scale, this has significant impact on the global CO2 footprint and is the sustainable approach. Get in touch to start syncing data today and see for yourself how ObjectBox’s efficiency translates into cost savings.
HIGH PERFORMANCE
Increase your app’s performance with the ObjectBox Android database. Check out our open source performance benchmarks, or give it a spin yourself. The ObjectBox Android database is free to use.
INTUITIVE APIs
We designed ObjectBox APIs to be intuitive and fun to implement for Android developers. It’s no ORM. It is build for objects from the ground up: No rows, columns, or SQL. Just plain objects.
AUTOMATIC SCHEMA MIGRATIONS
ObjectBox takes care of any new object versions with added, removed and renamed properties for you. Automatic schema migration is designed to bring you piece of mind.
SUSTAINABLE
ObjectBox is lightweight, and optimized for resource-efficiency and thus uses minimal CPU, memory, and battery / power, making it ideal for restricted devices, like Mobile phones or IoT devices.
BI-DIRECTIONAL DATA SYNC
Keep data in sync across devices offline on-premise, online with any server / cloud backend, or both, when occasionally connected. Spare yourself time and boilerplate code.
CROSS-PLATTFORM
Use one database to build all your apps on any POSIX-system or major platform. Use ObjectBox Database on Mobile, IoT, and desktop.
JAVA & KOTLIN
With ObjectBox Android database, simply query for objects in Java or Kotlin with checks at compile times; no more typos causing crashes at runtime.
ACID COMPLIANT
ACID (Atomic, Consistent, Isolated, Durable) properties and Multiversion Concurrency Control (MVCC) provide you with safe transactions and parallelism.
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.