Local Storage Explorer Bookmarklet
Browse localStorage and sessionStorage in a clean table with sizes and pretty JSON. Copy or delete single keys and export everything as JSON. Free.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
Local Storage Explorer opens a searchable table of everything the current site keeps in localStorage, and with one click in sessionStorage too. Each row shows the key, the size of the entry and a preview of the value. JSON values are pretty-printed so nested settings, cached API responses and state snapshots are actually readable.
Every row has a Copy button and a Delete button, so you can remove one broken flag without wiping the whole store. The header shows the total size, which helps when an app hits the roughly 5 MB per-origin quota. When you need a backup or want to share state with a teammate, export the entire store as a JSON file or copy it to the clipboard.
It is faster than digging through DevTools, works in any desktop browser and runs entirely on your machine.
What it does
- Table of all keys with size and value preview, largest first
- Pretty-printed JSON for values that parse as objects or arrays
- Switch between localStorage and sessionStorage
- Filter box to search keys and values
- Copy and Delete per row, plus Export JSON (download), Copy JSON and Clear all
How to install the Local Storage Explorer bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the site and click Local Storage Explorer.
- Use the Local / Session buttons to pick a store and type in the filter box to find a key.
- Click Copy to copy a value or Delete to remove a single key.
- Press Export JSON to download a backup of the whole store.
Reading sizes and values
Sizes are estimated as two bytes per character (key plus value), which is how most browsers count storage against the quota of about 5 MB per origin. Very large entries are often cached API responses or base64 images and are good candidates for IndexedDB instead. Values are always strings: a value that looks like a number or true is still text, and the app parses it. Deleting a key takes effect immediately, but the app may write it back on the next page load, so reload after deleting to see the real effect.
Bookmarklet code
This is the exact code inside the button above (8,491 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Can I edit values?
Not in place. Copy the value, change it, and set it from the console with localStorage.setItem, or delete the key and let the app recreate it.
Can I restore an export?
Yes. The exported JSON is a simple key-value object; you can loop over it in the console and call localStorage.setItem for each entry.
Does it show IndexedDB or cookies?
No. It covers localStorage and sessionStorage. Use Cookie Inspector for cookies.
Related bookmarklets
Clear localStorage for the current site in one click. See how many keys will go before you confirm. Free bookmarklet, no…
Wipe sessionStorage for the current tab in one click and see how many keys were removed. A free bookmarklet for testing…
See the cookies a page can read in a clean table: name, decoded value, size and JWT payloads, with copy buttons. Free…
Delete all JavaScript-visible cookies for the current site, across every path and domain variant, and see how many were…