Where your browser keeps a record of what you've visited
Your browser stores a list of every website you visit, the date and time you visited it, and how often you return to the same sites. This record is called your history. Most browsers keep this list for 90 days by default, though you can change that setting or delete it manually whenever you want.
The reason browsers save this is practical: it helps you find sites you've been to before without typing the full web address. When you start typing a URL in the address bar, your browser suggests sites from your history. It also powers the back button — the browser uses history to know where to go when you click it.
But history also means anyone who uses your device can see where you've been. If you share a computer with family members, roommates, or colleagues, they can open your browser history and see your activity. This is why clearing history is a common privacy step, especially on shared devices.
Key Takeaways
- Your browser history is stored locally on your device and shows every website you visited, when you visited it, and how many times.
- In Chrome, Firefox, Safari, and Edge, you can view your full history by pressing Ctrl+H (Windows) or Command+Y (Mac), or through the menu.
- You can delete all history at once or remove individual sites, and you can set your browser to delete history automatically when you close it.
- Clearing history does not hide your activity from your internet service provider, your employer's network, or the websites you visit — only from other people using your device.
- If you want privacy from people sharing your device, use your browser's private or incognito mode, which does not save history at all.
How to view your history in Chrome
Open Chrome and press Ctrl+H on Windows or Command+Y on Mac. A sidebar will open showing your browsing history organized by date — today, yesterday, earlier this week, and so on. You can also reach this by clicking the three-line menu icon in the top right corner, then selecting "History" and "History" again.
The history page shows the site name, the URL, and the time you visited. You can search for a specific site by typing its name in the search box at the top. If you want to remove a single site from your history, hover over it and click the X that appears on the right side.
How to view your history in Firefox, Safari, and Edge
In Firefox, press Ctrl+H on Windows or Command+Y on Mac to open the history sidebar. You can also click the menu icon (three horizontal lines) in the top right, then select "History."
In Safari on Mac, click the "History" menu at the top of the screen, then select "Show All History." On Safari for iPhone or iPad, tap the book icon at the bottom, then tap "History" at the top. Safari does not have a keyboard shortcut for history on Mac.
In Microsoft Edge, press Ctrl+H on Windows or Command+Y on Mac. You can also click the three-dot menu in the top right and select "History."
How to delete your entire history at once
In Chrome, press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. A window will open asking what time range you want to clear — you can choose "All time" to delete everything, or select a specific range like "Last hour" or "Last 7 days." Check the boxes next to "Cookies and other site data" and "Cached images and files" if you want to remove those too, then click "Clear data."
In Firefox, press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. Select your time range and click "Clear Now."
In Safari on Mac, click "History" at the top of the screen, then select "Clear History." Choose whether you want to clear history from "the last hour," "today," "today and yesterday," or "all history," then click "Clear History."
In Microsoft Edge, press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. Choose your time range and click "Clear now."
Setting your browser to delete history automatically
If you share a device and want your history cleared every time you close the browser, you can turn on automatic deletion. In Chrome, click the three-line menu, go to "Settings," then "Privacy and security," then "Clear browsing data." Check the box next to "Clear cookies and other site data when you quit Chrome," then close the settings page.
In Firefox, click the menu icon, go to "Settings," then "Privacy & Security." Under "History," select "Firefox will use custom settings for history" and check "Clear history when Firefox closes."
In Safari on Mac, click "Safari" in the menu bar, then "Settings." Go to the "General" tab and check "Remove history items" — then choose how far back (after one day, one week, one month, or one year).
In Edge, click the three-dot menu, go to "Settings," then "Privacy, search, and services." Under "Clear browsing data," toggle on "Choose what to clear every time you close the browser."
What clearing history does and does not protect
Clearing your history removes the record from your device, so other people using your computer cannot see where you have been. It does not, however, hide your activity from your internet service provider, your workplace network, or the websites themselves. Those organizations can still see your traffic if they are monitoring it.
If you want privacy from people sharing your device and you want to avoid saving history in the first place, use your browser's private or incognito mode. In Chrome it is called "Incognito mode," in Firefox it is "Private Window," in Safari it is "Private," and in Edge it is "InPrivate." When you use these modes, your browser does not save history, cookies, or search terms — but again, your internet service provider and network administrator can still see your activity.
Frequently Asked Questions
Can I recover history I have already deleted?
Once you clear your browser history, it is gone from your browser. You cannot recover it through your browser settings. However, if someone has access to your device or network, they may have made a copy of your activity before you deleted it. If you are concerned about recovery, use private browsing mode going forward instead of relying on deletion.
Does clearing history speed up my browser?
Clearing very old history may free up a small amount of storage space, but it will not noticeably speed up your browser. Browsers are designed to handle large history files. If your browser is slow, the problem is usually something else — too many open tabs, too many extensions, or insufficient device memory.
Will my passwords be deleted if I clear my history?
No. History and saved passwords are stored separately. When you clear browsing data, you can choose what to delete — history, cookies, cached files, and passwords are separate checkboxes. If you only want to delete history, uncheck the other boxes before you clear.
What is the difference between history and cookies?
History is a list of websites you visited. Cookies are small files that websites store on your device to remember information about you — like login details or items in your shopping cart. Both can be cleared separately, though clearing cookies will log you out of most websites.
If I use private browsing, will my activity be completely hidden?
Private browsing hides your activity from other people using your device and from your browser itself — no history is saved. However, your internet service provider, your workplace network, and the websites you visit can still see your activity. If you need complete privacy from those parties, you would need additional tools like a VPN, which is a separate technology.