Browser Privacy 6 min read March 1, 2026

How to Clear IndexedDB — The Browser Database Trackers Are Exploiting

IndexedDB is a full database built into your browser that websites can write to indefinitely. Most privacy cleanups never touch it. It's also the storage layer sophisticated trackers use to survive cookie deletion. Here's what it is, how to inspect it, and how to clear it.

IndexedDB is a persistent browser database most users never clear
Sophisticated trackers store backup identifiers in it to survive cookie deletion
Here's how to find, inspect, and remove it
Get Broom Cookie Cleaner

On this page

The Browser Database Nobody Told You About

Every modern browser ships with a built-in database engine called IndexedDB. It's a fully-featured, client-side storage system that websites can use to store structured data — product catalogues for offline use, draft emails, app state, game save files. When used for these purposes, IndexedDB is a genuine improvement over older storage mechanisms.

The problem is that IndexedDB has no expiry mechanism. Data written to it persists indefinitely until the website explicitly deletes it or the user manually clears it. Unlike cookies, it's not sent with HTTP requests, which means most cookie-blocking approaches at the network level don't affect it at all. And unlike cookies, most people have never once cleared it.

IndexedDB vs Cookies vs LocalStorage

Understanding the key differences explains why IndexedDB is the preferred backup identifier for sophisticated trackers.

🍪

Cookies

Expire automatically. Sent with every HTTP request. Blocked by many extensions and browser settings. The most scrutinised storage layer — and the most often cleared.

💾

LocalStorage

No expiry. Not sent with requests. Holds up to 5–10MB per domain. Cleared by most modern privacy tools when specifically targeted, but often overlooked in manual cleanup.

🗄️

IndexedDB

No expiry. Not sent with requests. Can store hundreds of megabytes. Supports complex structured data. Almost never cleared by users. Invisible in most browser privacy UIs.

How Trackers Use IndexedDB as a Backup Identifier

The tracking technique works as follows: on your first visit to a site using an advertising network, the network's JavaScript writes a unique identifier into IndexedDB (and simultaneously into cookies and LocalStorage). When you clear your cookies — which most people do occasionally — the identifier survives in IndexedDB. The next time you visit any site on the same network, the JavaScript reads back the IndexedDB value, re-creates the cookie from it, and your tracking profile is fully restored. You're re-identified within milliseconds of arriving.

Evercookie and similar libraries implement this pattern openly and are in active production use
Simply clearing cookies removes one storage layer but leaves IndexedDB intact — the tracker immediately restores the cookie from the database
Some implementations use IndexedDB as the primary storage with cookies as the fast-access cache, reversing the traditional hierarchy
Clearing IndexedDB alone also isn't sufficient — all storage layers must be cleared simultaneously to prevent reconstruction
How Trackers Use IndexedDB as a Backup Identifier - How to Clear IndexedDB — The Browser Database Trackers Are Exploiting

How to Inspect and Clear IndexedDB Manually

Viewing IndexedDB requires developer tools. In Chrome or Edge: press F12 → Application tab → Storage → IndexedDB in the left sidebar. You'll see a list of all databases stored by origin. You can expand each database to inspect its contents and right-click an origin to delete its data.

In Firefox: press F12 → Storage tab → IndexedDB in the left sidebar. Same inspection and deletion is available.

The manual process reveals how much data is stored — it's often surprising. But it's not a practical privacy strategy: you'd need to repeat this for every site, every session, using developer tools most users have never opened. The real solution is automated clearing at the browser level.

Take Control of Your Privacy Today

Automatically manage and delete cookies with Broom Cookie Cleaner

Why Automated Clearing Is the Only Practical Answer

Manual IndexedDB clearing through DevTools is educational but not scalable. Here's what a practical automated approach covers:

  1. 1
    Include IndexedDB in your cleaning profile: Broom Cookie Cleaner's data type selection includes IndexedDB alongside cookies and LocalStorage. Toggle it on once and it's cleared on every cleaning cycle.
  2. 2
    Clear all storage types simultaneously: The supercookie reconstruction chain breaks only when all layers are cleared at the same time. Broom's full-clean option covers cookies, LocalStorage, IndexedDB, and service worker caches in a single pass.
  3. 3
    Set a schedule that matches your risk tolerance: Hourly cleaning means a tracker's IndexedDB identifier has a maximum 60-minute lifespan. Daily cleaning is a reasonable baseline for most users.
  4. 4
    Use on-browser-close cleaning for convenience: Setting IndexedDB clearing to trigger when you close the browser means every new session starts without any residual identifiers from the previous one.
  5. 5
    Whitelist what you legitimately need: Some web apps — offline-capable email clients, note-taking apps — use IndexedDB legitimately for their core functionality. Broom's domain whitelist lets you preserve these while clearing third-party tracking stores.
IndexedDB is the storage layer the advertising industry is actively betting on as third-party cookies disappear. Clearing it regularly is no longer optional for anyone who takes browser privacy seriously.

Frequently Asked Questions

Common questions about browser cookies answered

Q

Does clearing IndexedDB break websites?

For most sites, no. Sites that use IndexedDB for legitimate offline functionality (email clients, document editors, PWAs) will re-sync their data from the server on next load, similar to clearing cookies. The only effect is a slightly slower first load as data is re-fetched. Tracking identifiers don't recover — they require a new visit to the tracking network to be re-set.

Q

Do all browsers have IndexedDB?

Yes. IndexedDB has been supported in Chrome, Firefox, Safari, and Edge for over a decade. It's a W3C standard and is universally available. There's no browser-specific variation in how trackers exploit it.

Q

Is clearing IndexedDB different from clearing cookies in the browser settings?

Sometimes. Chrome's 'Clear browsing data' includes IndexedDB under 'Other site data' when using the Advanced tab. Firefox's equivalent includes it under 'Cookies and Site Data'. But many users clear only cookies and cache — which explicitly excludes IndexedDB. Always check what you're actually clearing, not just what the checkbox label implies.

Q

How much storage can IndexedDB use?

Browsers allow IndexedDB to use a significant portion of available disk space — typically up to 20–50% of available storage, depending on the browser and OS. There's no per-site hard limit in most implementations. This means large web apps can write substantial amounts of data, and accumulated IndexedDB across many sites can become a meaningful disk space consumer over time.

Related Articles

Ready to clean your browser?

Don't let cluttered browsers slow you down. Get Broom Cookie Cleaner and automate your browser maintenance.

Get Started Now
Need Help?