Where your computer stores browsing history and what it saves
Your computer keeps records in two main places: your web browser stores websites you've visited, searches you've made, and files you've downloaded; your operating system stores temporary files, cache, and other data that programs create while running. Both accumulate over time and can slow your machine down or take up storage space.
The browser history is the easiest to see and delete — it's the list that appears when you press Ctrl+H (on Windows) or Command+Y (on Mac). Temporary files are hidden by default, which is why many people don't realize how much space they occupy. On Windows, these live in the Temp folder; on Mac, they're scattered across Library folders that don't show up in Finder unless you enable hidden files.
Key Takeaways
- Each browser (Chrome, Firefox, Safari, Edge) has its own history storage, so you must delete history in each one separately if you use multiple browsers.
- Clearing browser history removes visited websites and search terms, but does not delete files you downloaded and saved to your computer.
- Windows and Mac both have built-in tools to delete temporary files without using third-party software.
- Set your browser to delete history automatically when you close it if you want to avoid manual deletion going forward.
Deleting history in Chrome
Open Chrome and press Ctrl+H (Windows) or Command+Y (Mac). The history sidebar opens on the left. Click "Clear browsing data" at the top left of the sidebar, or use the keyboard shortcut Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac).
A window appears with checkboxes for what to delete. Make sure "Cookies and other site data" and "Cached images and files" are checked — these take up the most space. The "Time range" dropdown at the top defaults to "All time," which deletes everything. If you want to keep recent history and only delete older entries, select "Last 7 days," "Last 4 weeks," or "Last 90 days." Click "Clear data" when you're ready. The process takes a few seconds.
Deleting history in Firefox
Open Firefox and press Ctrl+H (Windows) or Command+Y (Mac) to open the history sidebar. On the right side, click the gear icon and select "Clear Recent History." A window opens with options for what to delete.
Set "Time range to clear" to "Everything" at the top if you want a complete wipe, or choose a specific range. Check the boxes for "Browsing & read history," "Cookies," and "Cache" — these are the main items taking up space. Leave "Site preferences" unchecked unless you want to reset settings for individual websites. Click "Clear Now" and wait a few seconds for the process to finish.
Deleting history in Safari
Open Safari and click the "History" menu at the top. Select "Clear History" near the bottom of the menu. A dropdown appears asking how far back to clear: "the last hour," "today," "today and yesterday," or "all history." Choose "all history" to delete everything, then click "Clear History."
Safari also stores cache separately. Go to Safari menu → Preferences → Privacy, then click "Manage Website Data" to see cached files from individual sites. Select the sites you want to clear and click "Remove" or "Remove All." This step is optional but frees up additional space.
Deleting history in Edge
Open Microsoft Edge and press Ctrl+Shift+Delete to open the clear browsing data window directly. If that doesn't work, click the three-dot menu in the top right, select "Settings," then go to "Privacy, search, and services" and click "Clear browsing data."
Check the boxes for "Browsing history," "read history," "Cookies and other site data," and "Cached images and files." Set the time range to "All time" at the top. Click "Clear now" and the window closes once the deletion is complete.
Deleting temporary files on Windows
Press Windows key + R to open the Run dialog. Type %temp% and press Enter. A folder window opens showing temporary files created by Windows and installed programs. Select all files with Ctrl+A, then press Delete. Windows may say some files are in use — click "Skip" for those and delete the rest.
For a more thorough cleanup, open Settings (Windows key + I), go to "System" → "Storage" → "Temporary files," and check the boxes for "Temporary files," "Recycle Bin," and "Downloads" if you want to empty those too. Click "Remove files" and wait for the process to finish. This can take several minutes if you have a lot of data.
Deleting temporary files on Mac
Open Finder and press Command+Shift+G to open "Go to Folder." Type ~/Library/Caches and press Enter. This folder holds cache files from browsers and applications. Select folders you recognize (like Chrome, Firefox, or Safari) and drag them to the Trash, or right-click and select "Move to Trash."
You can also delete the Downloads folder if you've saved files there and no longer need them. Go to Finder → Downloads, select files, and move them to Trash. Empty the Trash by right-clicking the Trash icon in the Dock and selecting "Empty Trash." Be careful not to delete anything you might need later — if you're unsure about a file, leave it alone.
Setting your browser to delete history automatically
Most browsers can delete history every time you close them, so you don't have to do it manually. In Chrome, go to Settings → Privacy and security → Clear browsing data. Check "On exit" and select which items to delete automatically. In Firefox, go to Preferences → Privacy & Security, scroll to "History," and set "Firefox will" to "Use custom settings for history." Check "Clear history when Firefox closes" and click the Settings button to choose what to delete.
In Safari, go to Preferences → Privacy and check "Remove history items" with a dropdown to choose "after one day," "after one week," "after two weeks," "after one month," or "manually." In Edge, go to Settings → Privacy, search, and services, scroll to "Clear browsing data," and toggle on "Choose what to clear every time you close the browser." These settings take effect when ready and run in the background.
Frequently Asked Questions
Will deleting my history delete files I downloaded?
No. Deleting browser history removes the record that you visited a website, but files you downloaded and saved to your computer stay where you put them. If you want to delete downloaded files, you must find them in your Downloads folder and delete them separately.
Can I recover history after I delete it?
Once you clear history from your browser, it is gone from that browser. Your internet service provider may still have records of sites you visited, but your local computer does not. If you deleted files by mistake, you may be able to recover them from the Recycle Bin (Windows) or Trash (Mac) if you haven't emptied it yet.
Does clearing cache make my computer faster?
Clearing old cache can free up storage space, which may help if your hard drive is nearly full. However, clearing cache does not usually make everyday tasks noticeably faster. Cache actually helps websites load quicker the next time you visit them, so clearing it frequently may slow down browsing slightly until the cache rebuilds.
What's the difference between history and cache?
History is the list of websites you visited. Cache is the temporary copies of images, scripts, and other files that browsers save so pages load faster next time. Deleting history removes the list; deleting cache removes the stored files but not the record that you visited the site.
Do I need to delete history on my phone too?
Yes, phones store history the same way computers do. On iPhone, open Settings → Safari → Clear History and Website Data. On Android, open Chrome, press the three-dot menu, go to Settings → Privacy → Clear browsing data, and select what to delete. The steps are similar to desktop browsers.