
The best cleaner for your browser history and cache is the one already built into your browser. Chrome, Safari, Firefox and Edge can each delete history, cookies and cached files in a few clicks, and most people need nothing else. A separate tool helps mainly when you want to clean several browsers and other apps in one go. Below are the four built-in tools with their menu paths, followed by two third-party cleaners that are still maintained.
What clearing does, and what it does not
- History is the list of pages you visited. Deleting it hides your browsing from other people who use the same computer.
- Cookies and site data keep you signed in and remember your preferences. Deleting them signs you out of most sites.
- The cache holds copies of images and other parts of pages so they open faster next time. Emptying it frees disk space and can fix a page that loads or looks wrong. It does not make browsing faster. Google notes that some sites can seem slower afterwards, because their content has to load again.
Clearing removes what is stored on your device. It does not remove what websites have recorded about your visits, and in Chrome it does not remove the search history saved in your Google Account. If you sync your browser, the deletion also applies to your other synced devices.
1. Chrome: Delete browsing data
Built into Chrome on Windows, Mac and Linux.
- At the top right, open the More menu and select Delete browsing data.
- Choose a time range, such as Last hour or All time.
- Check what you want to delete: browsing history, cookies and other site data, cached images and files.
- Select Delete data.
A shortcut: type “Delete browsing data” into the address bar and select the action that appears. Google’s help page lists exactly what each option removes.
To have Chrome remove cookies and site data by itself, go to Settings → Privacy and security → Site settings → Additional content settings → On-device site data and choose Delete data sites have saved to your device when you close all windows.
2. Safari: Clear History and Manage Website Data
Built into Safari on Mac. History and website data are cleared in two different places.
- For history, choose History → Clear History, then pick how far back to clear.
- For the cache and cookies, choose Safari → Settings, click Privacy, then Manage Website Data.
- Select websites and click Remove, or click Remove All.
Apple describes both steps in its Safari guide: clear your browsing history and clear your cache and cookies. If Safari uses iCloud, cleared history disappears from your other Apple devices too.
To clear history automatically, open Safari → Settings → General and set Remove history items to the period you want.
3. Firefox: Clear browsing data
Built into Firefox on Windows, Mac and Linux.
- Open Settings and select Privacy and security.
- In the Browsing data section, click Clear browsing data.
- Set When to Everything or to a shorter period.
- Check what you want to delete, for example Cookies and site data and Temporary cached files and pages.
- Click Delete.
You can reach a similar dialog from the menu button: History → Clear Recent History…
To clear automatically on exit, go to Settings → Privacy and security, find the History section, select Customize history, click Choose what you want Firefox to remember and check Clear history when Firefox closes. The Settings… button under it lets you pick what is cleared.
4. Edge: Clear browsing data
Built into Microsoft Edge.
- Select Settings and more → Settings → Privacy, search, and services.
- Select Clear browsing data, then Choose what to clear next to Clear browsing data now.
- Choose a time range.
- Choose the types of data, for example browsing history, cookies and other site data, cached images and files.
- Select Clear now.
With sync turned on, synced items are cleared on all your synced devices. To clean only this computer, turn sync off first under Settings → Profiles → Sync.
For automatic cleaning, the same page has Choose what to clear every time you close the browser, with a switch for each type of data.
5. BleachBit
BleachBit is a free, open-source cleaner for Windows 10 and 11 and for Linux. It has cleaning rules for Chrome, Edge, Firefox and many other programs, so one run can clear the history, cookies and cache of several browsers along with temporary files. You check the boxes you want, click preview to see every file that would be removed, and only then delete. It needs no account, and on Windows it can run in portable mode from a USB drive. It can also overwrite files so they cannot be recovered.
Trade-offs: there is no finished Mac version. The project describes its macOS support as experimental. Some options delete more than you may expect, saved passwords included, so read the description of each box before you check it. Download it only from bleachbit.org. The project itself warns about imposter sites and fake copies.
6. CCleaner
CCleaner is a widely known commercial cleaner. The Windows version runs on Windows 11, 10 and 8.1 and removes browser data and temporary internet files from all major browsers. There are also versions for Mac, Android and iOS. The basic cleaner is free. CCleaner Professional is a yearly subscription with more tools. On Mac, automatic browser cleaning is part of the paid versions.
Trade-offs: CCleaner has a security incident in its history. In 2017, attackers modified the build of version 5.33 for Windows so that it shipped with a backdoor. According to Avast, which had acquired the maker Piriform shortly before, 2.27 million users received the affected version before it was replaced. On Mac, check the system requirements first: the product page lists macOS versions only up to macOS 13.
What about cleaner extensions
Browser extensions that clear history or cache with one click come and go. Several that used to be popular are no longer in the Chrome Web Store, and others have not been updated for years. Since the browser’s own dialog does the same job, an extension adds little more than a toolbar button. If you still want one, check on its store page who publishes it and when it was last updated.
Keep less in the first place
If you clear your browser often, it may be easier not to collect the data at all. A private or incognito window forgets its history and cookies when you close it, and the automatic settings above do the same for normal windows.
In Kingpin, our private browser for Mac, cookies and site data are never written to disk, and by default nothing is kept after you quit.