The Local-First Database for JavaScript Apps
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with any backend.
- Build apps that work offline
- Sync with any Backend
- Observable Realtime Queries
- All JavaScript Runtimes Supported
these Frameworks
Sync with any Backend
RxDB's easy-to-use Sync Engine powers realtime synchronization between clients and servers. Either use one of our prebuild replication plugins...
OR
...sync with your custom server by implementing only three simple endpoints.
Online is Optional
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
- Keep your app running offline
- Run local queries with zero latency
- Simplify and speed up development
- Reduces backend load and scales better
Trusted by Developers
Used by Thousands Worldwide
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.
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.
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
We provide a mobile app that is used by people in the field to fill in valuable information like inspections, surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
We use RxDB to create applications capable of being used in the most remote areas where Internet access is really a challenge.
We use RxDB to provide an offline first, cross platform point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
RxDB is a main component in building offline-ready multichannel apps. It has become our default stack for this kind of apps.
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.
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.
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.
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
We provide a mobile app that is used by people in the field to fill in valuable information like inspections, surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
We use RxDB to create applications capable of being used in the most remote areas where Internet access is really a challenge.
We use RxDB to provide an offline first, cross platform point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
RxDB is a main component in building offline-ready multichannel apps. It has become our default stack for this kind of apps.
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.
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.
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.
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
We provide a mobile app that is used by people in the field to fill in valuable information like inspections, surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
We use RxDB to create applications capable of being used in the most remote areas where Internet access is really a challenge.
We use RxDB to provide an offline first, cross platform point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
RxDB is a main component in building offline-ready multichannel apps. It has become our default stack for this kind of apps.
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.
Core Concepts
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
const heroSchema = {
title: 'hero schema',
version: 0,
primaryKey: 'id',
type: 'object',
properties: {
id: {
type: 'string',
maxLength: 100
},
name: {
type: 'string'
},
power: {
type: 'string'
},
age: {
type: 'number'
}
},
required: ['id', 'name']
};Latest News
Why Local-First Software Is the Future and its Limitations
Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.
Read article →RxDB 17.0.0 - Local-First to the Moon
RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.
Read article →LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.
Read article →WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.
Read article →Local JavaScript Vector Database that works offline
Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!
Read article →Why Local-First Software Is the Future and its Limitations
Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.
Read article →RxDB 17.0.0 - Local-First to the Moon
RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.
Read article →LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.
Read article →WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.
Read article →Local JavaScript Vector Database that works offline
Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!
Read article →Why Local-First Software Is the Future and its Limitations
Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.
Read article →RxDB 17.0.0 - Local-First to the Moon
RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.
Read article →LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.
Read article →WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.
Read article →Local JavaScript Vector Database that works offline
Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!
Read article →