Why you might want to clear your browser history

Your web browser keeps a record of every site you visit, every search you make, and every file you download. This history helps your browser work faster — it remembers passwords, fills in forms automatically, and loads pages you visit often more quickly. But that same record is visible to anyone who uses your computer, and it takes up storage space over time.

Clearing your history removes these records. You might do this before handing your computer to someone else, to free up space, or simply to start fresh. The process takes less than a minute and works the same way across most browsers — you just need to know where to look.

Key Takeaways

  • Every major browser has a "Clear browsing data" or "Clear history" option in its settings menu, usually under Privacy or History.
  • You can choose what to delete — history alone, or also cookies, cached files, and saved passwords — depending on what you need.
  • Clearing history does not delete your saved passwords unless you specifically check that box, and it does not sign you out of websites.
  • You can set your browser to clear history automatically every time you close it, so you do not have to do it manually.
  • Clearing history on your computer does not affect your browsing history on your phone or tablet unless you sync them.

How to clear history in Chrome

Open Chrome and press Ctrl + H on Windows or Command + Y on Mac. This opens your history page. On the left side, click Clear browsing data.

A window will pop up with options. At the top, choose the time range — All time clears everything, Last hour clears only the past hour, and Last 7 days or Last 30 days are in between. Below that, 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 saved logins and preferences), Cached images and files (which frees up disk space), or leave them unchecked if you only want to delete the history list. Click Clear data when you are done.

How to clear history in Firefox

Open Firefox and press Ctrl + H on Windows or Command + Y on Mac to open the history sidebar. Right-click anywhere in the history list and select Clear Recent History.

A window appears. At the top, choose your time range — Everything clears all history, or pick a specific number of hours or days. Below, you will see checkboxes for Browsing & download history, Cookies, Cache, and others. Check only what you want to remove, then click Clear Now. If you do not see all the options, click the dropdown arrow next to Details to expand the list.

How to clear history in Safari

Open Safari and click History in the menu bar at the top. Select Clear History from the dropdown menu.

A window will ask how far back you want to clear — choose all history, the last hour, today, or today and yesterday. Click Clear History to confirm. Safari clears your browsing history, but not cookies or cached files by default. To remove those as well, go to Safari > Settings > Privacy, then click Manage Website Data and select Remove All.

How to clear history in Edge

Open Microsoft Edge and press Ctrl + Shift + Delete on Windows. This opens the clear browsing data page directly.

At the top, choose your time range — All time, Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or Last 3 months. Below, check the boxes for what you want to delete. Browsing history is checked by default. You can also check Download history, Cookies and other site data, or Cached images and files. Click Clear now when finished.

Set your browser to clear history automatically

If you want your browser to clear history every time you close it, you can turn on this setting instead of doing it manually. In Chrome, go to Settings > Privacy and security > Clear browsing data, then check Clear cookies and site data when you quit Chrome. In Firefox, go to Settings > Privacy & Security, scroll to History, and set Firefox will to Use custom settings for history. Then check Clear history when Firefox closes.

In Safari, go to Settings > Privacy and check Remove all website data when quitting Safari. 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. Once you turn this on, your browser will ask you what to delete each time you close it, or will automatically delete your chosen items without asking.

What gets deleted and what stays

When you clear browsing history, you are removing the list of websites you visited and the searches you performed. This is what shows up when you type in the address bar or look at your history list. Clearing history does not automatically delete your saved passwords, usernames, or payment information — those are stored separately and require you to check a specific box to remove.

Cookies and cached files are also separate. Cookies remember your preferences on websites and keep you logged in. Cached files are images and data your browser stored to load pages faster. If you do not check these boxes, they stay on your computer even after you clear history. Clearing history also does not sign you out of websites you are currently logged into — you will stay logged in until you manually sign out or your session expires.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No, not unless you check the box for passwords or saved login data. Your browser stores passwords separately from history. If you want to keep your history clear but keep your passwords, leave that box unchecked. If you want to delete a specific password, go to your browser's password manager instead of clearing all history.

Will clearing history free up storage space on my computer?

Clearing history alone frees up very little space. The real storage hogs are cached images and files — the pictures and data your browser saved to load pages faster. If you want to free up meaningful space, check the box for Cached images and files when you clear your data. This can free up hundreds of megabytes or more, depending on how long it has been since you last cleared it.

Can I clear history on just one website instead of everything?

Yes. In Chrome, Firefox, and Edge, you can right-click on any website in your history and select Delete or Remove from history. This removes only that site. In Safari, open History, find the site, and right-click to delete it. You can also click on a site in your history list and press Delete on your keyboard.

If I clear history on my computer, does it clear on my phone too?

Only if you use the same account and have sync turned on. If you use Chrome with a Google account and sync is enabled, clearing history on your computer will also clear it on your phone and tablet. If you do not use sync, or if you use different accounts on different devices, clearing history on one device does not affect the others. You will need to clear history separately on each device.

What is the difference between clearing history and using private browsing mode?

Private browsing mode (called Incognito in Chrome, Private Window in Firefox, and InPrivate in Edge) prevents your browser from saving history in the first place. When you close a private window, nothing from that session is saved. Clearing history removes what your browser already saved. Private mode is useful if you want to browse without leaving a record, while clearing history is for removing records you have already made.