cd ../tools

$ Storage Viewer

Inspect LocalStorage and SessionStorage data. See what information websites store in your browser's web storage.

100% Client-Side - Your storage data stays in your browser

storage.sh

$ test_storage

Create a test storage item to see how the viewer works:

$ cat storage_info.md

LocalStorage

Persists data with no expiration date. Data survives browser restarts and remains until explicitly deleted. Limited to ~5-10MB per origin.

SessionStorage

Data is cleared when the browser tab is closed. Each tab has its own separate sessionStorage. Same size limit as localStorage.

Common Uses
  • • User preferences and settings
  • • Shopping cart data
  • • Authentication tokens (not recommended)
  • • Cached API responses
  • • Form draft data

Security Note

Web Storage is accessible to any JavaScript on the page. Never store sensitive data like passwords or authentication tokens in localStorage/sessionStorage. They are vulnerable to XSS attacks.