Local Storage Viewer

View all data stored in your browser's local storage for this website.

0 items stored0 B / ~5 MB
0.00% used

Stored Data

📦

No data stored in local storage for this domain.

Understanding Browser Local Storage

Local storage is a web storage mechanism that allows websites to store data persistently in your browser. Unlike cookies, local storage data isn't sent to the server with every request and has a much larger capacity (typically 5-10MB). Data persists even after closing the browser or restarting your computer.

This viewer displays all local storage entries for the current domain, showing keys, values, and sizes. It helps developers debug storage issues and understand what data websites are saving locally.

Local Storage vs Cookies

Local storage offers ~5MB capacity versus cookies' 4KB limit. Local storage data stays client-side while cookies are sent with HTTP requests. Use local storage for large data that doesn't need server access; use cookies for session management and server-side access.

Local Storage vs Session Storage

Local storage persists indefinitely until explicitly cleared. Session storage is cleared when the browser tab closes. Choose based on data persistence needs—user preferences in local storage, temporary state in session storage.

Storage Limits and Quotas

Most browsers limit local storage to 5-10MB per origin. Exceeding limits throws QuotaExceededError. Monitor storage usage and clean up unnecessary data. Consider IndexedDB for larger data needs.

Security Considerations

Never store sensitive data (passwords, tokens, personal information) in local storage. It's accessible to any JavaScript on the page, making it vulnerable to XSS attacks. Use secure, httpOnly cookies for sensitive authentication data.

Debugging Local Storage

Browser DevTools provide local storage inspection in the Application/Storage tab. You can view, edit, and delete entries directly. Clear storage to reset application state during development.