What gets deleted when you clear your history
Deleting your computer's history removes the record of websites you visited, searches you performed, and files you downloaded — but it does not erase everything. Your browser stores this data in separate categories, and which ones you delete depends on what you choose during the process.
Most browsers let you delete browsing history (the list of websites), search history (what you typed into search engines), cookies (small files websites store on your computer), cached files (temporary copies of images and pages), and autofill data (saved passwords and form entries). You can usually pick which categories to clear and how far back to go — last hour, last day, all time, or a custom date range.
Clearing history does not delete files you downloaded and saved to your computer, emails in your inbox, or documents you created. It also does not remove data from your internet service provider's records or from websites' own servers — those organizations keep logs on their end regardless of what you delete locally.
Key Takeaways
- Every major browser has a built-in history-clearing tool accessible through settings or keyboard shortcuts like Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac.
- You can choose which types of data to delete — browsing history, cookies, cached files, and autofill — and how far back the deletion goes.
- Clearing your browser history does not erase downloaded files, emails, or data stored on websites' servers or your internet provider's network.
- Setting your browser to delete history automatically when you close it prevents a record from building up in the first place.
Clearing history in Chrome
Open Chrome and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. This opens the Clear Browsing Data window directly. If the keyboard shortcut does not work, click the three vertical dots in the top right corner, select Settings, then choose Privacy and Security from the left menu, and click Clear Browsing Data.
At the top of the window, select the time range from the dropdown menu. Choose "All time" to delete everything, or pick "Last hour," "Last 24 hours," "Last 7 days," "Last 4 weeks," or "Last 90 days" for a narrower window. Below that, check the boxes next to the data types you want to remove: Cookies and other site data, Cached images and files, Browsing history, read history, Autofill form data, and Passwords. Leave unchecked anything you want to keep. Click the blue Clear Data button at the bottom right.
Clearing history in Firefox
Press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac to open the Clear Recent History window. Alternatively, click the hamburger menu (three horizontal lines) in the top right, select Settings, go to Privacy & Security on the left, scroll to the History section, and click Clear History.
In the Clear Recent History window, use the Time range for clearing dropdown to select how far back to go — Last Hour, Last Two Hours, Last Four Hours, Today, or Everything. Below that, check the boxes for the data you want removed: Browsing & read History, Form & Search History, Cookies, Cache, Active Logins, and Site Preferences. Click the Clear Now button. If you use the Settings route, you can click Clear History next to the History section, which clears all browsing and read history from all time by default.
Clearing history in Safari
Click the Safari menu at the top left and select Clear History. A dropdown menu appears asking how far back to clear — the last hour, today, today and yesterday, or all history. Choose your timeframe and click Clear History. This removes your browsing history and cookies in one action.
If you want more control over what gets deleted, go to Safari menu, then Preferences, click the Privacy tab, and click Manage Website Data. This shows all cookies and cached data stored by individual websites. You can select specific sites and click Remove, or click Remove All to clear everything. This method does not delete your browsing history list, only the stored data websites have placed on your computer.
Clearing history in Edge
Press Ctrl+Shift+Delete on Windows to open the Clear Browsing Data window. On Mac, use Command+Shift+Delete. If that does not work, click the three horizontal dots in the top right corner, select Settings, go to Privacy, Search, and Services on the left, and under Clear Browsing Data click Choose What to Clear.
Select your time range from the dropdown at the top — Last hour, Last 24 hours, Last 7 days, Last 4 weeks, Last 90 days, or All time. Check the boxes for Browsing history, read history, Cookies and other site data, Cached images and files, Autofill form data, and Site permissions. Click the Clear Now button. Edge also offers an option to clear data every time you close the browser, which you can enable in the same Privacy settings menu.
Setting your browser to auto-delete history
Most browsers let you delete history automatically whenever you close them, so you do not have to remember to clear it manually. In Chrome, open Settings, go to Privacy and Security, and under Clear Browsing Data check the box for "Clear cookies and site data when you quit Chrome." In Firefox, go to Settings, Privacy & Security, scroll to History, and set the History dropdown to "Firefox will use custom settings for history." Then check "Clear history when Firefox closes" and click the Settings button next to it to choose which data types to clear.
In Safari, go to Preferences, click the General tab, and check "Remove history items" with a dropdown to choose after one day, one week, two weeks, one month, or manually. In Edge, go to Settings, Privacy, Search, and Services, and toggle on "Clear browsing data" under Clear Browsing Data. Then click Choose What to Clear Every Time You Close the Browser and select your data types. Auto-deletion is convenient if you share your computer or want to keep your browsing private, but it means you lose the ability to revisit sites from your history.
What does not get deleted
Clearing your browser history does not remove files you downloaded and saved to your Downloads folder or elsewhere on your computer. To delete those, you must open your file manager and delete them manually. It also does not erase emails in Gmail, Outlook, or other email accounts, documents stored in cloud services like Google Drive or OneDrive, or any files you created and saved.
Your internet service provider keeps logs of which websites you visited, and those records remain even after you clear your browser. Websites themselves also keep server-side logs of your visits. If you logged into accounts while browsing, those services have records of your activity tied to your account. Clearing your local browser history is a privacy measure against someone else using your computer, not against tracking by websites or your ISP.
Frequently Asked Questions
Does clearing history delete my saved passwords?
Only if you check the Passwords or Autofill Data box during the clearing process. Most browsers let you choose whether to delete passwords separately from other history. If you want to keep passwords but delete everything else, leave that box unchecked. If you want to delete a specific password, go to your browser's password manager instead — in Chrome it is Settings > Autofill > Password Manager, in Firefox it is Settings > Privacy & Security > Passwords, and in Safari it is Preferences > Passwords.
Can someone recover my history after I delete it?
Deleting browser history removes it from your browser's interface, but the data may remain on your hard drive until it is overwritten by new files. A person with specialized recovery software could potentially retrieve deleted history. For stronger privacy, use your operating system's built-in disk cleanup tool — Windows has Disk Cleanup and Mac has Storage Management — which overwrites deleted data more thoroughly.
Will clearing history speed up my computer?
Clearing browsing history and cookies frees up a small amount of storage space, but the performance gain is usually not noticeable unless your browser has accumulated years of data. Cached files take up more space than history alone, so clearing those may help slightly if your hard drive is nearly full. For meaningful speed improvements, focus on closing unused browser tabs, uninstalling programs you do not use, and checking your hard drive's available space.
What is the difference between history and cookies?
Browsing history is a list of websites you visited that your browser displays in a dropdown or sidebar. Cookies are small files websites store on your computer to remember your preferences, login information, and activity. Deleting history removes the list but leaves cookies, so websites can still recognize you. Deleting cookies removes those stored files, which may log you out of accounts and reset website preferences, but does not erase the list of sites you visited.