View and edit sessionStorage data. Useful for debugging. All in your browser.
No sessionStorage items found
SessionStorage is empty for this domain. Use the form above to add a key/value or interact with your web application to populate sessionStorage.
Paste a JSON object where each key becomes a sessionStorage key and each value is stored as a string.
The SessionStorage Viewer loads all sessionStorage items for the current domain directly in your browser. To view sessionStorage:
sessionStorage.Both sessionStorage and localStorage are part of the Web Storage API, but they behave differently:
JSON.stringify and parsed with JSON.parse.Use sessionStorage for temporary, per-tab data that should not persist once the user closes the tab:
You can interact with sessionStorage directly in JavaScript while using this SessionStorage Viewer to inspect changes in real time:
sessionStorage.setItem("user", "123");
const user = sessionStorage.getItem("user");
sessionStorage.removeItem("user");
sessionStorage.clear();Run these commands in your browser console or application code, then use this tool to verify what is stored, rename keys, pretty-print JSON payloads, and debug any issues with your session storage logic.
Explore these related free tools to enhance your productivity and workflow.
sessionStorage is a web browser API similar to localStorage, but data only persists for the current browser session. When the browser tab or window is closed, all sessionStorage data is cleared.
The tool automatically loads and displays all sessionStorage items for the current domain. You can see all keys and values, edit them, add new items, or delete existing ones directly from the interface.
localStorage persists data even after the browser is closed, while sessionStorage only stores data for the current browser session. sessionStorage is cleared when the tab or window is closed, making it ideal for temporary data.
Yes! Click the edit icon next to any item to modify its value. You can also add new items using the 'Add Item' form and delete items using the trash icon. Changes are saved immediately to sessionStorage.
Yes! Our sessionStorage viewer is 100% free with no registration required, no usage limits, and no hidden fees. You can view and manage sessionStorage as much as you need for your development work.
No, all sessionStorage viewing and editing happens locally in your browser. We don't store, save, or have access to any sessionStorage data. Your privacy is completely protected.
Most browsers allow 5-10MB of sessionStorage per domain, similar to localStorage. The exact limit varies by browser. If you exceed the limit, setting new items will fail with a QuotaExceededError.
sessionStorage is cleared when the browser tab or window is closed. Unlike localStorage, it doesn't persist after the session ends. This makes it ideal for temporary data that should be cleared when the user leaves.
sessionStorage only stores strings, just like localStorage. To store objects, use JSON.stringify() to convert them to strings, and JSON.parse() to retrieve them. The tool displays values as strings.
Click the 'Refresh' button to reload all sessionStorage items. The tool displays the current state of sessionStorage, which updates automatically when items are added, modified, or deleted.