Where your computer stores browsing history and why you might want to remove it
Your computer keeps records of almost everything you do online: every website you visit, every search you run, files you read, and passwords you save. This data lives in multiple places — your browser's history folder, temporary internet files, cookies, and your operating system's own logs. Deleting this information removes the trail, which matters if you share your computer, sell it, or straightforward want to clear out old data.
The process differs depending on which browser you use and which operating system runs your computer. Windows, Mac, and Linux each store this data in different locations, and Chrome, Firefox, Safari, and Edge each have their own deletion tools. The good news is that every major browser and operating system includes a built-in way to do this — you do not need third-party software.
Key Takeaways
- Every browser — Chrome, Firefox, Safari, and Edge — has a built-in history deletion tool accessible through Settings or Preferences, usually under Privacy or History.
- You can delete just browsing history, or also remove cookies, cached files, and saved passwords depending on what you want to clear.
- Deleting history from your browser does not automatically delete temporary files stored by Windows or Mac, so you may need to run a separate cleanup.
- On Windows, the Disk Cleanup tool removes temporary internet files; on Mac, you can use Storage settings or manually delete the Library folder.
- If you sell or give away your computer, deleting history is not enough — you should wipe the entire drive using your operating system's built-in reset tool.
Deleting history in Chrome
Open Chrome and press Ctrl+H on Windows or Command+Y on Mac to open the History page. On the left side, click Clear browsing data. A window will appear with a dropdown menu at the top that says "All time" — this controls how far back the deletion goes. You can choose "Last hour," "Last 24 hours," "Last 7 days," "Last 4 weeks," or "All time."
Below that dropdown, you will see checkboxes for what to delete. Browsing history is checked by default. You can also check Cookies and other site data (which removes login information and site preferences), Cached images and files (which frees up disk space), and read history. Leave unchecked anything you want to keep. Click Clear data when you are ready.
Deleting history in Firefox
Press Ctrl+H on Windows or Command+Y on Mac to open the History sidebar. At the top, click Clear Recent History. A window opens with a dropdown that says "Time range to clear" — choose "Everything" to delete all history, or pick a specific range like "Last Hour" or "Last 24 Hours."
Below that, checkboxes let you choose what to delete: Browsing & read History, Cookies, Cache, and others. Check the boxes for what you want removed, then click Clear Now. Firefox will finish in seconds.
Deleting history in Safari
On Mac, open Safari and click History in the menu bar at the top of the screen. Click Clear History. A dropdown menu appears asking how far back to go — choose "All history," "The last hour," "Today," or "Today and yesterday." Click Clear History to confirm.
This removes your browsing history and cookies. If you also want to delete cached files and saved passwords, go to Safari in the menu bar, then Settings, then the Privacy tab. Click Manage Website Data to see and remove stored site data.
Deleting history in Microsoft Edge
Press Ctrl+Shift+Delete on Windows to open the Clear browsing data window directly. If that does not work, open Edge, press Ctrl+H to open History, and click Clear browsing data on the left side.
A window appears with a dropdown for "Time range" — select "All time" or a specific period. Check the boxes for Browsing history, read history, Cookies and other site data, and Cached images and files. Click Clear now to finish.
Removing temporary files on Windows
Deleting browser history does not remove all temporary files your computer creates. On Windows, use the built-in Disk Cleanup tool. Press Windows key + R, type cleanmgr, and press Enter. A window opens showing categories of files you can delete.
Check the boxes for Temporary files, Temporary internet files, and Recycle Bin. You can also check Downloads if you want to empty that folder. Click OK, then Delete Files to confirm. The process takes a few minutes depending on how much data you have.
Removing temporary files on Mac
Mac does not have a built-in Disk Cleanup tool like Windows, but you can delete temporary files manually. Open Finder, press Command+Shift+G to open "Go to Folder," and type ~/Library/Caches. Press Enter. This folder holds cached data from apps and websites. You can select files and delete them, though be careful not to delete anything you are unsure about.
Alternatively, go to System Settings, click General, then Storage. Mac will show you what is taking up space. You can click categories like Documents or Downloads to see and delete old files. This is safer than manually digging through system folders.
What to do if you are selling or giving away your computer
If you plan to sell or give your computer to someone else, deleting history and temporary files is not enough. A determined person can recover deleted files using recovery software. Instead, use your operating system's built-in reset tool to wipe the entire drive.
On Windows, go to Settings, click System, then Recovery. Click Reset this PC and choose Remove everything. This erases all files and reinstalls Windows. On Mac, restart your computer, hold Command+R during startup to enter Recovery Mode, click Erase Mac, then reinstall macOS. Both processes take 30 minutes to an hour but may support no personal data remains.
Frequently Asked Questions
Does deleting browser history also delete cookies and saved passwords?
Not automatically. When you delete history, you usually have the option to also delete cookies and cached files, but you have to check those boxes yourself. Saved passwords are typically kept separate — you may need to go to your browser's password settings to remove them. Check what options appear when you open the clear browsing data window in your browser.
Will deleting my history speed up my computer?
Slightly, but not dramatically. Clearing cached files and temporary internet files frees up disk space, which can help if your drive is nearly full. Deleting browsing history itself takes up very little space. If your computer is slow, the problem is usually something else — too many programs running at startup, malware, or a failing hard drive.
Can someone recover my history after I delete it?
Browser history is difficult but not impossible to recover if you use standard deletion. If you want to make recovery much harder, use your browser's private or incognito mode while browsing, which does not save history at all. For complete security before selling a computer, use the full drive wipe method described above rather than just deleting files.
Do I need to delete history from each browser separately?
Yes. Each browser stores its own history in its own location. If you use Chrome, Firefox, and Safari, you need to delete history from each one separately. There is no single tool that clears history across all browsers at once.
What is the difference between clearing history and clearing cache?
History is a list of websites you visited. Cache is the actual files — images, scripts, videos — that websites downloaded to your computer so they load faster next time. Clearing history removes the list; clearing cache removes the files themselves and frees up disk space. Most browsers let you clear both at the same time.