Home › Device & Internet Tests › Browser Storage Test

Browser Storage Test

Find out how much data websites can store in this browser. The test reads the storage quota, current usage and persistence status from the StorageManager API, then measures the real capacity of localStorage and sessionStorage, IndexedDB and OPFS write and read speed, and cookie limits. All test data is deleted afterwards.

Last updated:

Storage quota for this sitenavigator.storage.estimate()
–used of–
Free for this site–
Used–
Persistence–
Storage APIssupport in this browser
    Test data is written with a test prefix and deleted afterwards. Your own saved data is not touched.
    localStorage & sessionStoragecapacity

    Fills both stores until the browser throws a quota error, then removes the test data.

    Not tested yet.
    IndexedDBwrite & read speed

    Writes random data in 1 MB records, reads it back, then deletes the test database.

    Not tested yet.
    Origin Private File SystemOPFS speed

    Writes a test file of the same size with the File System API, reads it back and deletes it.

    Not tested yet.
    Cookiessize & count limits

    Finds the largest cookie the browser accepts. The count test sets up to 300 small cookies.

    Not tested yet.
    Advertisement
    Advertisement

    How to use the Browser Storage Test

    1. Open the page: the quota, usage, persistence status and supported storage APIs appear immediately.
    2. Click Test localStorage to fill localStorage and sessionStorage until the browser refuses, then see the exact capacity.
    3. Choose a size and click Test IndexedDB to measure how fast this browser writes and reads data to disk.
    4. Run the OPFS and cookie tests for the file system API and cookie size limits.
    5. Click Request persistent storage if you want this site's data protected from automatic cleanup, then Copy report to save the results.

    Browser storage limits at a glance

    Storage typeTypical limit per siteGood for
    localStorageAbout 5 million characters (5 MB)Small settings and preferences
    sessionStorageAbout 5 MB, cleared when the tab closesTemporary state of one tab
    CookiesAbout 4 KB each, roughly 150 to 180 per siteSessions and data the server must see
    IndexedDB, Cache API, OPFSShared quota: a share of the disk (see below)Large data, offline apps, files, media

    IndexedDB, the Cache API, the Origin Private File System and service worker caches all count against one quota per site, which is what navigator.storage.estimate() reports:

    • Chrome, Edge and other Chromium browsers: a site may use up to about 60% of the total disk size.
    • Firefox: in best-effort mode the smaller of 10% of the disk or 10 GiB per site group; with persistent storage up to 50% of the disk.
    • Safari 17 and newer: around 60% of the disk for sites opened in the browser, less for apps that embed web views. Without persistence, Safari can delete script-written data of sites you have not used for 7 days.

    How the tests measure capacity and speed

    The localStorage test writes 1-million-character strings under test keys until the browser throws a QuotaExceededError, then halves the chunk size down to 16 characters to find the limit precisely. Capacity = characters written + characters already stored by this site. JavaScript strings are UTF-16, so each character can take 2 bytes.

    The IndexedDB and OPFS tests write random (incompressible) 1 MB blocks, so compression cannot inflate the result. Speed = bytes ÷ elapsed time, measured until the browser confirms each transaction or file write is complete. Reads may be faster than your disk because recently written data is often still in memory.

    The cookie test uses a binary search for the longest value the browser keeps. Large cookies are sent with every request to the site, which is why browsers keep them small.

    When storage fills up

    When a site exceeds its quota, writes fail with a QuotaExceededError and web apps may stop saving work. When the whole disk runs low, browsers evict best-effort data of the least recently used sites first. Request persistent storage for web apps whose data matters to you (offline documents, notes, games), and back up anything important: clearing browsing data in settings deletes persistent storage too.

    Frequently asked questions

    How much data can a website store in my browser?

    It depends on the browser and your free disk space. Chrome and Edge let one site use up to about 60% of the total disk size. Firefox allows the smaller of 10% of the disk or 10 GiB per site in best-effort mode, and up to 50% of the disk when storage is persistent. Safari 17 and newer allows around 60% of the disk for browser apps. localStorage is separate and much smaller, about 5 MB per site.

    Why is the localStorage limit only about 5 MB?

    localStorage is a simple synchronous key-value store kept in memory and written to disk, so browsers cap it at roughly 5 million characters per site to keep pages fast. JavaScript strings are UTF-16, so 5 million characters can mean up to 10 MB on disk. For larger data, websites should use IndexedDB or the Origin Private File System, which use the much larger quota.

    What is persistent storage?

    By default, site data is best-effort: the browser may delete it when the disk is nearly full, starting with the least recently used sites. If a site is granted persistent storage, its data is only removed when you clear it yourself. Chrome grants it automatically to sites you use often or have bookmarked or installed; Firefox asks you; Safari grants it to web apps added to the Home Screen.

    Does the quota shown equal my free disk space?

    No. The quota from navigator.storage.estimate() is the maximum this site may use, calculated by the browser from the disk size. Browsers may also round the usage and add padding for some data (for example opaque cross-origin responses in the Cache API) for privacy, so the numbers are estimates.

    Will this test delete my data?

    No. The tests only write their own keys, database, file and cookies with a test prefix, and delete them when finished. Other localStorage keys, databases and files of this site are left untouched. The optional cookie count test can push out older cookies of this site, which is why it is off by default.

    Why is storage so small in a private or incognito window?

    Private windows keep data in memory or a temporary profile, so browsers usually give them a much smaller quota, and everything is deleted when the window closes. Some browsers also disable IndexedDB or the file system API in private mode.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Local Storage InspectorView, edit and clear the cookies, localStorage and other data this site stores in your browser.Browser Feature CheckerTest which Web APIs, CSS features and JavaScript syntax your browser supports.Device Info CheckerSee your device's OS, CPU cores, memory, GPU, screen, network, battery and sensors in one report.Browser Fingerprint TestSee how unique your browser is: canvas, WebGL, audio, font and screen fingerprints, run locally.Internet Speed TestMeasure download, upload, ping and jitter.What Is My IPSee your public IP address and location.Vibration TestTest your phone's vibration motor with short, long, SOS, heartbeat and custom patterns.Battery Status CheckerCheck your battery level, charging state and time to full or empty.What Are My GPS CoordinatesSee your latitude and longitude in decimal and DMS, with accuracy and maps.Online CompassUse your phone as a compass with heading in degrees and cardinal points.Bubble LevelTurn your phone into a spirit level with surface and bar modes.Online ProtractorMeasure any angle on screen or in a photo with a draggable 360° protractor.FPS TestMeasure your browser's live frame rate, 1% lows and frame times, and compare 15-240 FPS.GPU TestSee your graphics card, WebGL and WebGPU support and limits, and run a quick GPU benchmark.CPU BenchmarkTest your processor's single-thread and multi-thread speed in the browser and compare scores.Ping TestCheck your latency, jitter and packet loss to Cloudflare, Google and other servers live.Accelerometer TestCheck your phone's accelerometer and gyroscope with live values, graphs and a tilt ball.WebRTC Leak TestCheck if WebRTC exposes your real public or local IP address, even behind a VPN.IPv6 TestTest whether your connection supports IPv6, see your IPv4 and IPv6 addresses and check any site.Sequence Memory TestWatch squares flash in a 3x3 grid and repeat the growing sequence. Track your best level.Visual Memory TestRemember which squares light up as the grid grows. Three lives, levels and score history.Ad Blocker TestCheck if your ad blocker works: bait ad elements and ad/tracker requests, with every result listed.Browser Notification TestCheck notification permission, request it and send test notifications with custom options.Gyroscope TestCheck your phone's gyroscope with live rotation readings, a 3D phone model and graphs.WebGPU TestCheck if your browser supports WebGPU, see adapter info, limits and features, and run a GPU benchmark.4K Video Playback TestPlay generated 1080p, 4K or 8K test clips and see decode speed, dropped frames and smoothness.Browser BenchmarkTest your browser's speed: JavaScript, DOM, Canvas, WebGL, JSON and regex scores in one run.Bufferbloat TestMeasure lag under load: idle vs loaded latency, graded A+ to F with a latency chart.Cloud Ping TestPing AWS cloud regions worldwide from your browser and find the lowest-latency data center.Fake Flash Drive CheckerFill a USB drive or SD card with test data and read it back to expose fake capacity and bad memory.GPS SpeedometerLive GPS speed in mph, km/h or knots with max, average, trip distance and HUD mode.Am I Connected to the InternetCheck if your internet really works: tests several servers, latency and captive Wi-Fi portals.USB Drive Speed TestMeasure USB flash drive and SD card write and read speed in MB/s, right in your browser.Video Codec Support CheckerCheck H.264, HEVC, VP9 and AV1 support at 1080p, 4K, 8K and HDR, with hardware decode hints.What Is My ElevationSee your current elevation above sea level in feet and meters from GPS and terrain data.What Is My Time ZoneSee your time zone, UTC offset, abbreviation and daylight saving status instantly.Are Cookies Enabled TestCheck if cookies, localStorage and sessionStorage work in your browser, with fix steps.Dual N-Back TestWorking memory training: match squares and spoken letters from N steps back, with auto-levels.GPS Route TrackerRecord a walk, run or ride on a map: distance, time, pace, elevation, GPX and KML export.Is JavaScript Enabled TestCheck instantly if JavaScript is enabled, see your JS engine and get how-to-enable steps.Online PedometerCount steps with your phone's motion sensor: distance, calories, cadence and saved sessions.Qibla Direction FinderFind the Qibla from your location: exact bearing to the Kaaba, live phone compass and map path.Reading Speed TestTime how fast you read a passage, answer comprehension questions and compare with adult averages.Online Serial PlotterPlot live numbers from Arduino, ESP32 or any USB serial device as a multi-line chart.Bluetooth Device ScannerFind nearby Bluetooth LE devices and read their services, characteristics and battery level.
    See all 46 Network, Browser & System Tests →