💾

localStorage Manager

Search and edit the current site's localStorage, import string values from JSON, and export a backup.

Practical Guide

Storage List

Total Items
0
Total Size
0 B
KeyValueSizeActions
暂无数据
暂无数据
Import Items
Use a JSON object with string values. Load a sample or paste a backup, then select Import.

❓What is the localStorage Manager?

Inspect the browser's persistent strings for the current origin. The tool lets you filter and edit entries and move a JSON backup between separate browser profiles for the same site.

✨Features

💾

Storage Management

Search by key or value, edit entries and see updates made in other same-origin tabs.
📥

Import/Export

Validate JSON before writing, confirm overwrites and download a JSON backup.
📊

Size Monitoring

See the UTF-8 size of each key and value, plus the total for the list.
🗑️

Delete and Clear

Remove individual entries or confirm before clearing this origin's entire localStorage.

🎯Application Scenarios

Development & Testing

Prepare sample preferences without writing to storage until you select Import.

Debugging & Analysis

Filter by a key or value to find a setting or stale cached string.

Data Migration

Export a backup and import it in another profile for the same site.

Inspect Large Entries

Find large strings to decide which draft or cached entry to remove.

📚Practical Guide

localStorage API

localStorage keeps string keys and values across browser sessions. Serialize structured values, for example with JSON.stringify().

Storage Quota & Limits

Browser policy can block access, and writes can fail at the quota. The size display measures text only.

Origin-Based Storage

An origin consists of scheme, host and port. Changes in other same-origin tabs are reported through the storage event.

Storage Size Calculation

Sizes are the sum of the UTF-8 byte lengths of the key and value. They do not measure how much browser quota is left.

💬Frequently Asked Questions

❓Can this tool read another website's localStorage?
It can only access localStorage for this page's origin. For another site, open that site and inspect its storage in your browser's developer tools.
💬What JSON can I import?
Import takes a non-empty object whose values are strings. Encode objects or arrays as JSON strings before putting them in the backup.
🔍What does the size column measure?
It shows the UTF-8 bytes of the key and value together. The total covers every entry, even when a search filter is active.
💡What happens if a key already exists?
Adding a duplicate key is blocked. Importing a different value for an existing key asks for confirmation. Entries absent from the backup are kept.

💡How To & Tips

💾

View Storage

Search by key or value. Select Refresh to reread the list, or use a row's actions to copy or delete an entry.
➕

Add Item

Select Add Item and enter a new key and its string value. Empty strings are supported.
✏️

Edit Item

Select Edit and save the new value. The key stays fixed. Reopen the item if another tab has changed it.
📥

Import/Export

Export downloads all entries for this origin. Select Load Sample or paste a backup, then Import. Review any overwrite prompt before proceeding.

📝Update Log

📌v1.1.261126
v1.1.261126

Added key and value search, cross-tab updates, and a highlighted JSON editor with a sample. Imports validate all values, ask before overwriting, and attempt to restore written entries on failure. Clearing all entries now requires confirmation.

📦Recommended Components

User Comments

0 / 2000
Loading...