The Database that Syncs!

PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser.

PouchDB was created to help web developers build applications that work as well offline as they do online.

It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.

Learn more
var db = new PouchDB('dbname');

  _id: '',
  name: 'David',
  age: 68

db.changes().on('change', function() {

Cross Browser

Works in Firefox, Chrome, Opera, Safari, IE and Node.js


PouchDB is just a script tag and 46KB (gzipped) away in the browser, or $ npm install pouchdb away in Node.

Easy to Learn

Requires some programming knowledge, however PouchDB is a piece of cake to learn.

Open Source

Everything is developed out in the open on Github, contributors always welcome!


Taming the asynchronous beast with ES7

Nolan Lawson

By: Nolan Lawson
Published: 05 March 2015
One of the trickiest aspects of PouchDB is that its API is asynchronous. I see no shortage of confused questions on Stack Overflow, Github, and IRC, and most often they [...]

Efficiently managing UI state with PouchDB

Nolan Lawson

By: Nolan Lawson
Published: 28 February 2015
A common pattern in data-driven apps is to display the entire database in the UI. If you're using PouchDB, that means you want to mirror the contents of PouchDB to [...]

View more