Skip to main content
Capacitor Database

The local Database for Capacitor Apps

Store data locally to build high performance realtime Capacitor applications that sync data with the backend and even work when offline.


How others use it

rxdb-image




RxDB GitHub
Open Source on
GitHub
stars
21,699

Realtime Applications made easy

In RxDB, everything is observable. Query Results, Documents, Document Fields, Events.

  • Whenever your data changes, your UI reflects the new state.
  • Realtime updates across components, browser tabs and user devices
  • Supports Capacitor and all major frameworks:





Sync with any Backend

RxDB's high-performance replication protocol powers real-time synchronization between Capacitor clients and servers. While specialized plugins exist for GraphQL, CouchDB, P2P, Firestore, and NATS, it remains backend-agnostic — seamlessly integrating with any infrastructure over HTTP for unmatched flexibility and speed.

RxDB Discord
Chat on
Discord
members
1,070
offline

Online is Optional

RxDB adopts an offline-first approach, keeping your app fully functional even without a connection. Data is stored locally on the Capacitor client and seamlessly replicated in the background, and you can even skip the backend entirely if you choose.

  • Keep your Capacitor app running offline
  • Boost perceived performance
  • Simplify and speed up development
  • Reduces backend load and scales better
angular databaseAngular
capacitor databaseCapacitor
deno databaseDeno
Node.js databaseNode.js
React databaseReact
Svelte databaseSvelte





Runs in Any JavaScript Runtime

RxDB's modular storage architecture adapts to any JavaScript runtime — Browsers, React Native, Node.js, Electron, and beyond. Simply switch the storage plugin to reuse the same database and replication logic across all your Capacitor apps, saving time and ensuring consistency.

All the Features You'll Ever Need

Since its creation in 2018, RxDB has evolved into a powerhouse of features and plugins, offering an all-inclusive, future-proof solution for any type of Capacitor application. Whatever you need now or might need down the road, is already built in. Giving you the confidence to create robust, scalable apps with ease.

Used by Thousands Worldwide

RxDB is a proven, battle-tested solution used by countless developers across the globe. With its flexibility, RxDB is used in a vast spectrum of Capacitor apps and services — from real-time collaboration tools to mission-critical enterprise systems:



RxDB review quote

With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.

logo

Nutrien, Canada

nutrien.com
RxDB review quote

We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.

logo

Readwise, USA

readwise.io
RxDB review quote

We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.

logo

SafeEx, Denmark

safeex.com