Databases and storage · API

IndexedDB

A database built into every modern browser, so a web app can keep large amounts of structured data on the visitor's device and work offline.

In the browser · Free · updated

How it works

IndexedDB stores JavaScript objects (files and blobs included) in object stores with indexes, inside the browser and separately for each website. It holds far more than localStorage, often hundreds of megabytes or more depending on the browser and free disk space, and it never freezes the page because every operation is asynchronous.

Its raw API is event-based and clumsy, so most apps use a wrapper such as Dexie.js or idb. Data stays in that one browser on that one device; syncing it anywhere else is up to the app. Browsers may clear it when storage runs low unless the site asks for persistent storage.

IndexedDB pricing

Free

Free; it is part of the browser.

Approximate, checked September 2026.What the other tools cost

IndexedDB vs the alternatives

More in Databases and storage

In the browser

All 25 Databases and storage terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.