Skip to Main Content
PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Shield Your Internet History: How to Clear Your Cache on Any Browser

Don't let your internet history fall into the wrong hands. It's a good idea to delete your browser history and internet cache on occasion. Here's how to do it on the desktop and mobile.

By Eric Griffith
Updated September 21, 2023
Clear your cache Credit: René Ramos (Credit: René Ramos)

Browser history—a list of every page you've visited online and the time you were there—is a standard of modern computing. And it can lead to trouble; it's practically a cliché. Think of the romantic "comedies" where a guy (it's always a guy) finds himself in hot water after his girlfriend looks at his browser history.

For most of us, sharing a PC is normal (sadly, setting up multiple user accounts is not), and handing off a smartphone to someone isn't unheard of. It doesn't matter if you're encrypting your emails, using Tor and VPNs while browsing to stay anonymous, or if you wear a false mustache at your desk: If someone has access to your devices, they can see where you've been.

A browser will hold your history indefinitely in the event you need to find your way back to a perhaps-forgotten corner of the internet you visited once upon a time. The reality is, it can be used against you by significant others, friends, coworkers, teachers, and even the authorities. It doesn't even matter if you never stopped to look at the site's contents. These days, simply visiting can be impetus enough for outrage, blackmail, or whatever you fear most in reprisal.

Think that's fear-mongering? Hopefully, it is, for 99% of us. But consider that back in 2016 an employee was accused in a Canadian court of destroying evidence after he cleared the browser history of his own personal laptop. (In the end, he prevailed.) In the US, the Sarbanes-Oxley Act is intended to prevent evidence deletion by corporations, yet it's been applied to at least one individual. (The caveat: The individual in question also did many other stupid things.)

Let's assume you're not a criminal and just want a little digital privacy. What can you do to keep your past visits hidden? Delete them. Regularly. Or perhaps make the smartest move of all: Don't store the data, ever. It may make your web travels a little less convenient, but that's the price of security. Here's how to remove the browser history.

How to Clear Your Cache on Any Browser
PCMag Logo How to Clear Your Cache on Any Browser

Desktop Browsers: Removing History, Cache, and More

Desktop Browsers
(Credit: Bob Al-Greene)

Google Chrome

Go to the three-dot menu at the upper right of Chrome to select More tools > Clear browsing data. This will open a dialog box to delete your browsing history, as well as your download history (it won't delete the actual downloaded files), cookies, cached images and files (which help load pages faster when you revisit), saved passwords, and more. You can delete only the info from the last hour, day, week, month, or "all time."

Chrome browser clear
(Credit: Google/PCMag)

Chrome doesn't give you the option to not collect your browser history. Worse, Google is collecting your web and app activity constantly. But you can delete it regularly. Navigate to myactivity.google.com, and click Web & App Activity. Uncheck Include Chrome History and activity and turn on Auto-Delete so that Google deletes anything older than three, 18, or 36 months (your choice). Click Manage all Web & App Activity to delete even more.


Microsoft Edge

Microsoft Edge is also built on Chromium, so many of the same steps above apply. To find your browser history, press Ctrl+Shift+Del, type "edge://settings/clearBrowserData" in the address bar, or go to the three-dot menu > Settings > Privacy, search and services > Clear Browsing Data, then click Choose what to clear.

Get rid of browsing history, cookies, and more, for the same date ranges—the last hour up to all time, with increments in between. If you do, it deletes it on any device you've synced Edge with. To avoid that, sign out of the browser first.

Edge browser clear
(Credit: PCMag/Microsoft)

Back up a step into Settings and you'll see a link that says Choose what to clear every time you close the browser. Toggle the switch for Browser History to delete it every time.

Like Google, Microsoft keeps some of your history online. Click Manage your data to visit the privacy page on your Microsoft account, where you can delete that synced browser activity history.

If you're still trying to use Microsoft Internet Explorer... just stop. Even Microsoft tried to put the final nail in that browser's coffin.


Safari

On macOS, Safari rules. Clearing your website visit history is simple: click History > Clear History. In the pop-up, pick a timeframe for how far back you want to erase. This is doing a lot more than deleting the browser history, however—it also takes out your cookies and data cache.

Safari browser clear
(Credit: PCMag/Apple)

You can instead click History > Show All History and search for individual sites you want to zap from your history. Delete cookies by going into Safari > Preferences > Privacy; you can then Manage website data via the button.


Mozilla Firefox

In Firefox, go to the hamburger menu and select Settings > Privacy & Security. Scroll down to find History. Set Firefox to remember, to never remember, or use custom settings like remember history but not cookies. This section also features a Clear History button. Click it to pick a time range to clear (one, two, four, today, or everything), and what data to dump (history, logins, forms/search, cookies, and cache).

Firefox browser clear
(Credit: PCMag/Mozilla)

Check the Sync section (on the left) while you're in Settings—if you've signed on with a Mozilla Firefox account, your history (plus bookmarks, tabs, passwords, and preferences) may be synced with your other PCs and devices using Firefox, even on smartphones. Change what, if anything, you really want to synchronize.


Opera

Opera browser clear
(Credit: PCMag/Opera)

Under the main menu in Opera, in the navigation bar on the left, click the clock icon to enter History. You'll see a Clear Browsing Data button that offers almost identical settings as Chrome. That's because Opera is built with the engine from the Chromium Project, which also powers both browsers. Opera offers a little extra to those who want to go around the web safely, however, via a built-in VPN option, which is found via opera://settings/vpn (type that in the address bar). You don't have to install an extension to start using it.


Mobile Browsers: Cleaning Up Your Mobile Web History

man standing in kitchen looking at his phone
(Credit: Silke Woweries/Getty Images)

Safari

On the iPhone and iPad, Safari is the default browser. To not record a browser history, stay in Private mode while surfing. When you do have a history to delete, go to Settings > Safari > Clear History & Website Data. Doing so takes out the history, cookies, and other browsing data. Plus, if the phone is signed into iCloud, it clears the history on iCloud, as well as on other devices hooked into that iCloud account.

Safari on iOS
(Credit: PCMag/Apple)

If you want to only delete data for select sites, go back to Settings > Safari and scroll down to Advanced > Website Data. After it loads (it can take a while) you'll see a list of every website you've visited—and probably a lot you didn't, because it also records the sites serving third-party cookies. Tap Edit > [minus symbol] next to each to delete, or just swipe left on each to erase.


Chrome

Google's Chrome browser is the standard on all Android phones, and is downloadable for iOS. In either, go to the three-dot menu, select History, and you're looking at a list of all sites you've visited while cognito (as opposed to Incognito). That includes history across all Chrome browsers signed into the same Google account, so your desktop history displays here as well.

Chrome Mobile History
(Credit: PCMag/Google)

With iOS, you have the option to either tap Edit or Clear Browsing Data. With the latter (which is the only option on Android phones and tablets), you're sent to a dialog box (pictured) that allows the eradication of all browsing history, cookies, cached data, saved passwords, and autofill data—you pick what you want to delete. Android users get the added ability to limit deletion to an hour, a day, a week, a month, or "all time."

Again, check the Google My Activity page later to see what may be stored online.

On iOS, there is a completely separate Google app for searching (iOSAndroid), with its own integrated browser. You can't delete the history of surfing within that Google app, though you can close all the tabs by tapping the Tabs icon at lower right, swiping one floating window right to delete, then selecting CLEAR ALL. That app's search history is stored in My Activity, of course.


Edge

Microsoft's browser is barely a blip in the mobile world, but if you're using Edge on the desktop you may want it on mobile for syncing. The iOS version has a hamburger menu at the lower right that allows access to Settings > Privacy and security > Clear Browsing Data; from there you download browsing history, cookies, cached data, even passwords and filled-in forms, set to a time range from the last hour up to "all time." To delete data for individual sites for visit, use the menu and select History, then swipe left on whatever you want to be rid of. Note that if you are syncing with your desktop, you'll see the history reflected here for mobile and desktop.

Edge on iOS
(Credit: PCMag/ Microsoft)

For Edge on Android, the moves are all the same, the only difference is the three-dot menu is located at the bottom center of the screen.


Firefox

The Firefox browser is available for iOS or Android, free on both platforms. How you delete the browser history in each is a little different.

On iOS, tap the hamburger menu at the bottom right and select Settings > Data Management. On the next screen, you can turn off the collection of browser history (or data caching, cookies, and offline website data) entirely. Click the Clear Private Data link at the bottom to clear all of the above. Note in Settings there is also a toggle to Close Private Tabs, which shuts them all down when you leave the browser.

Firefox Mobile
(Credit: PCMag)

On Android, Firefox uses the three-dot menu. Select History to see the list, and click the X next to each entry you want to clear. If you click the menu and go to Settings > Delete browsing data, you get the option to clear all the private data of your choice. Use Delete browsing data on quit to do exactly that, everytime.


Opera

Opera's app is on iOS and Android and has variations like Opera GX (gaming) or Opera Mini (a minimalist browser), depending on the platform.

Opera Mobile delete
(Credit: PCMag/Opera)

To clear history in Opera on iPhone, click the three-dot menu, then click History. While you're looking at the history, click the three dots again, and one option is Clear History. Better yet, go into Settings > Clear Browser Data to clear everything.

On Android, on the avatar menu at bottom find History to see the sites you've visited; each has a drop down menu with steps to reach the site. Swipe left to kill them individually, or use the trash can icon up top to delete all. There's also a power-button icon in the menu that lets you access Settings so you can Clear all data on exit.


Which Web Browser Is Best for You?
PCMag Logo Which Web Browser Is Best for You?

Like What You're Reading?

Sign up for SecurityWatch newsletter for our top privacy and security stories delivered right to your inbox.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

TRENDING

About Eric Griffith

Senior Editor, Features

I've been writing about computers, the internet, and technology professionally for over 30 years, more than half of that time with PCMag. I run several special projects including the Readers' Choice and Business Choice surveys, and yearly coverage of the Best ISPs and Best Gaming ISPs, plus Best Products of the Year and Best Brands. I work from my home, and did it long before pandemics made it cool.

Read Eric's full bio

Read the latest from Eric Griffith