1. Home
  2. Developer tools
  3. Browser Storage Inspector

Browser Storage Inspector

Learn how much an offline-first app or PWA can store in this browser, and check the real localStorage limit instead of guessing.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Browser Storage Inspector

  1. Open the page: usage and quota load automatically.
  2. Run the localStorage limit test.
  3. Request persistent storage if your app needs it.

Features

  • navigator.storage.estimate() usage and quota
  • Persistent storage status and request
  • localStorage keys and sizes, sessionStorage total
  • IndexedDB databases, Cache Storage and cookie count
  • Measured localStorage limit with cleanup

Supported formats

Input

  • Browser data

You get

  • Screen view

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Browser Storage Inspector is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Shows only this site’s storage; browsers do not let a page read other sites’ data.
  • Quota figures are estimates the browser rounds on purpose.

Guide

How much can a website store in your browser?

Web apps keep more on your device than many people realise: settings in localStorage, structured data in IndexedDB, downloaded files in the Cache API and cookies. How much of that a site may keep decides whether an offline-first app or a progressive web app is practical. This page reads what the browser reports about your storage for this site, measures the localStorage limit and shows what is stored.

The storage types

localStorage holds string key-value pairs that persist until cleared, with a small, fixed limit and a synchronous API that blocks the page while it works. sessionStorage is the same but per tab and lost when the tab closes. IndexedDB is a transactional database for structured data, blobs and large files. The Cache API stores request and response pairs, mainly for service workers. Cookies are small, are sent with requests and also hold login sessions.

Quota and usage

navigator.storage.estimate() returns the bytes this origin uses and the quota the browser allows it. Quotas are generous but variable: Chromium-based browsers allow a large share of free disk space per origin, Firefox and Safari use their own formulas and prompt or limit in some cases. Browsers deliberately blur the numbers to prevent them being used to fingerprint users, so treat them as estimates; the page shows usage as a percentage of the quota with a bar.

Best effort and persistent storage

By default, storage is “best effort”: if the device runs low on disk space, the browser may delete a site’s data, starting with sites visited least recently. A site can ask for persistent storage with navigator.storage.persist(), which exempts it from automatic eviction. Browsers decide on their own signals, such as installation as an app, bookmarks or notifications, so a request is not always granted. The button reports the outcome. Safari can also clear script-written storage for sites that have not been visited for about a week.

Testing the localStorage limit

The limit test writes a growing string under a temporary key, 256,000 characters at a time, until the browser throws an error or the test reaches about 20 million characters. It then reports the amount in characters and as UTF-16 bytes, and removes its test key. Because other keys already count against the same limit, the total includes what was stored before.

A worked example

On Chrome for desktop, one run reported that this site could hold about 4.98 million characters in localStorage, roughly 9.5 MB as UTF-16, which is why browsers are often said to allow about 5 million characters, or 10 MB measured in bytes of memory. The list above the test shows this site’s own keys, which are the saved options and last inputs of the tools you have used.

What the page cannot see

Browsers isolate storage by origin, so a page can never read another site’s localStorage, cookies or databases. HttpOnly cookies are hidden from scripts even for the same site, so the cookie count covers only readable ones. IndexedDB database names are listed only where the browser supports indexedDB.databases(). To inspect another site, open developer tools on that site and use the Application tab in Chrome and Edge or the Storage tab in Firefox.

Designing for limits

Keep localStorage for small settings, use IndexedDB for anything larger or structured, catch QuotaExceededError and degrade gracefully, and never store secrets in storage that scripts can read. Ask for persistence only after a user has invested in the data, such as after saving a project.

Checked against the current version of the Browser Storage Inspector on .

Frequently asked questions

Why is localStorage limited to about 5 MB?

The limit is a long-standing convention from the Web Storage specification, kept to stop pages filling the disk through a synchronous API. Browsers count UTF-16 characters, around five million per site, and throw a QuotaExceededError when it is full. IndexedDB offers far more.

Does clearing cookies also clear localStorage?

Only if you choose to. Most browsers keep separate checkboxes for cookies and other site data. Choosing “cookies and site data” for a site removes localStorage, IndexedDB and caches together.

Why can this page not see other sites’ storage?

Browsers isolate storage by origin, so one site cannot read another’s localStorage, cookies or databases. To inspect a different site, open DevTools on that site and use the Application or Storage tab.

Can the browser delete my site’s data?

Yes, in “best effort” mode: when the device runs low on space, browsers evict data from sites used least recently. Safari also clears script-written storage for sites not visited in 7 days. Persistent storage protects against the first case.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.