SessionStorage Test
Your Session Storage
Detecting…
- Local Storage
- Detecting…
- Cookies Enabled
- Detecting…
Test if sessionStorage is available in your browser. See how session storage differs from localStorage and cookies, and why it clears when a tab closes.
Last updated
Check next
All browser toolsHow to use this test
- Open this page. The Live Result shows whether sessionStorage is available and writable.
- Compare it with localStorage and cookies below to see whether your browser is blocking all site storage or just one type.
What is it?
sessionStorage stores data for the duration of a single browser tab session. Data is cleared when the tab closes.
How it works
The tool writes a test value to window.sessionStorage, reads it back and removes it, so it detects both missing and blocked storage. sessionStorage works like localStorage but is tied to a single browser tab. The data survives page reloads in that tab and is deleted when the tab is closed. Opening the same site in a second tab starts with empty session storage.
Why this matters
Multi-step forms and temporary state use sessionStorage. It provides tab-isolated storage unlike localStorage which is shared across tabs.
Practical Use Cases
- Debugging multi-step forms that lose their progress on reload.
- Checking that checkout or booking flows work when each tab keeps its own state.
- Confirming that storage is not blocked by privacy settings or extensions.
How to check manually
Chrome / Edge DevTools
Press F12 → Application tab → Storage → Session storage.
Firefox DevTools
Press F12 → Storage tab → Session Storage.
Common values
| Label | Value |
|---|---|
| Available | Yes |
| Typical limit | ~5 MB per site |
Troubleshooting
- sessionStorage shows unavailable
- Your browser may be set to block all site data. Allow sites to save data in your privacy settings (see the cookies test for exact steps), then reload.
Frequently asked questions
What is the difference between sessionStorage and localStorage?
Both store text for a website. localStorage keeps it until it is cleared. sessionStorage keeps it only for the life of one tab and deletes it when the tab closes.
Is sessionStorage shared between tabs?
No. Each tab has its own sessionStorage. A tab opened with "Duplicate tab" starts with a copy of the original tab's data.
Does sessionStorage survive a page refresh?
Yes. Reloading the page or navigating within the same tab keeps the data. Only closing the tab or window clears it.
Is sessionStorage the same as a session cookie?
No. Session cookies are sent to the server with every request and are shared across tabs. sessionStorage stays in the browser and belongs to one tab.
How much data can sessionStorage hold?
Most browsers allow around 5 MB per site, the same as localStorage. Writing beyond the limit throws a QuotaExceededError.
Explore more diagnostics
Visit the DeviceScope homepage for a complete live dashboard, or browse all browser checks & tests.