Chrome Local Storage: How to Clear for One Site
In this article
To clear local storage for a single site in Google Chrome, click the padlock icon (or tune icon) to the left of the URL in the address bar, select "Cookies and site data," then click "Manage on-device site data" to remove the stored information. Alternatively, you can use the Chrome Developer Tools by pressing F12, navigating to the "Application" tab, and selecting "Clear storage" under the Storage menu.
Understanding Chrome Local Storage
Local Storage is a part of the Web Storage API that allows websites to store data directly within your browser. Unlike cookies, which are sent back to the server with every HTTP request, local storage data stays on your machine and is only accessible by the website that created it. This makes it a more efficient way for developers to save user preferences, game progress, or session states without slowing down network traffic.
Because this data has no expiration date, it persists even after you close the browser tab or restart your computer. While this provides a seamless user experience, it can occasionally lead to problems if the stored data becomes corrupted or if a website update makes the old stored settings incompatible with the new version of the site.
Method 1: Using the Address Bar (The Quick Way)
This is the most user-friendly method and does not require any technical knowledge. It is ideal for users who want to quickly reset a site without digging into the main browser settings.
- Navigate to the website you wish to clear.
- Click the icon located to the left of the web address (URL). Depending on your Chrome version, this is either a padlock icon or a "tune" icon (two horizontal lines with circles).
- Select Cookies and site data from the dropdown menu.
- Click Manage on-device site data.
- A window will appear listing the domains storing data. Click the trash can icon next to the specific site you want to clear.
- Click Done and refresh the page for the changes to take effect.
Method 2: Using Developer Tools (The Precise Way)
For those who want to see exactly what is being stored or only clear a specific piece of data rather than everything, the Developer Tools are the best option. This method allows you to target Local Storage specifically, as well as Session Storage and IndexedDB.
- Open the website in Chrome.
- Right-click anywhere on the page and select Inspect, or press
F12(Windows/Linux) orCmd + Option + I(Mac). - In the top menu of the Inspect panel, click on the Application tab. If you don't see it, click the double arrow (⟶) to reveal hidden tabs.
- In the left-hand sidebar, look for the Storage section.
- Expand Local Storage and click on the URL of the website.
- You will now see a table of key-value pairs. You can right-click a specific entry to delete it, or click the Clear All (circle with a line through it) button at the top of the table.
- Alternatively, you can click the top-level Storage option in the sidebar and click the Clear site data button to wipe everything, including cookies and cache, for that specific origin.
Method 3: Using Chrome Settings (The Global Way)
If you cannot access the website (perhaps because the corrupted storage is preventing the page from loading), you can clear the data through the main Chrome settings menu.
- Click the three vertical dots in the top-right corner of Chrome and select Settings.
- Go to Privacy and security in the left sidebar.
- Click on Third-party cookies (or Site Settings in older versions).
- Select See all site data and permissions.
- Use the search bar at the top right to type the name of the website.
- Click the trash can icon next to the site or select Clear all data.
Local Storage vs. Cookies vs. Session Storage
It is common to confuse these three types of browser storage, but they serve different purposes and are handled differently by the browser.
- Local Storage: Persistent data that does not expire. It is stored on the client side and is not sent to the server. It is best for user preferences (like Dark Mode) or offline data.
- Session Storage: Similar to local storage, but the data is wiped as soon as the specific browser tab is closed. It is useful for temporary data, such as a multi-step form.
- Cookies: Small pieces of data that are sent with every server request. They have an expiration date and are primarily used for authentication (keeping you logged in) and tracking.
Common Problems and Troubleshooting
Sometimes clearing local storage doesn't seem to fix a website issue. This usually happens because the problem resides in a different storage area or is cached by the browser.
If the site is still behaving incorrectly after clearing local storage, try the following:
- Clear the Cache: The browser might be loading an old version of the site's JavaScript files. Hard refresh the page by pressing
Ctrl + F5(Windows) orCmd + Shift + R(Mac). - Clear IndexedDB: Some modern web apps use IndexedDB for larger amounts of structured data. This can be cleared using the Developer Tools method mentioned above.
- Check Extensions: Some browser extensions can interfere with how a site stores or reads data. Try opening the site in Incognito mode (
Ctrl + Shift + N) to see if the issue persists.
Frequently Asked Questions
Will clearing local storage log me out of the website?
Not necessarily. Login sessions are typically handled by cookies, not local storage. However, some modern sites store authentication tokens in local storage; in those specific cases, clearing it will log you out.
Does clearing local storage delete my browser history?
No. Local storage is specific to the data a website saves on your machine. Your browsing history, bookmarks, and saved passwords are stored in separate Chrome system files and are not affected by clearing a site's local storage.
Is it safe to clear local storage?
Yes, it is completely safe. You are not deleting any system files or browser software. The only risk is that you may lose unsaved progress in a web-based game or have to re-configure your preferences (like theme or language) for that specific site.
Why would I need to clear local storage manually?
The most common reason is to fix a "glitchy" website. If a site fails to load, displays old information, or crashes repeatedly, it is often because the data stored in local storage has become corrupted or is conflicting with a new update to the website's code.
Can a website see my local storage from another site?
No. Chrome follows the Same-Origin Policy, which ensures that data stored by site-a.com cannot be accessed or read by site-b.com. This is a fundamental security feature of modern web browsers.