Drive Sweeper
Windows 10 & 11 Buy license · $29.95
Junk files

How to Clear Your Browser Cache to Free Up Disk Space on Windows

Clear browser cache to free up disk space in Edge, Chrome and Firefox on Windows, without losing passwords or logins, and see how much it really saves.

Updated 5 minute read The Drive Sweeper team

To clear your browser cache and free up disk space, press Ctrl + Shift + Delete in Edge, Chrome or Firefox, set the time range to All time (Everything in Firefox), tick only Cached images and files and clear it. That removes the cache without signing you out of websites or touching saved passwords. Expect to get back somewhere between a few hundred megabytes and a few gigabytes per browser. It is a quick win, but the cache refills as you browse, so it is rarely the answer to a full drive on its own.

Here are the exact steps for each browser, what to leave unticked, and how much space it really saves.

What the browser cache is

As you browse, your browser saves copies of images, scripts, fonts and other page files so sites load faster next time. Browsers limit the cache size automatically, usually somewhere from a few hundred megabytes up to a few gigabytes depending on how much free space your drive has. Clearing it is safe: the browser simply downloads files again when it needs them, so the first visit to each site afterwards is a little slower.

The cache is separate from your other browsing data:

Data typeWhat it doesClear to save space?
Cached images and filesSpeeds up page loadingYes, safe
Cookies and site dataKeeps you signed in, remembers site settingsUsually no, you will be signed out everywhere
Browsing historyList of pages you visitedSmall, little space saved
Passwords and autofillSaved logins and form dataNo, tiny and valuable
Download historyList of downloads (not the files)Tiny, does not delete downloaded files

Microsoft Edge

  1. Press Ctrl + Shift + Delete, or open Settings > Privacy, search, and services and under Clear browsing data click Choose what to clear.
  2. Set Time range to All time.
  3. Tick Cached images and files. Untick everything else, especially Cookies and other site data and Passwords.
  4. Click Clear now.

The dialog shows roughly how much space the cache uses before you clear it, which tells you whether it is worth doing.

Google Chrome

  1. Press Ctrl + Shift + Delete, or open Settings > Privacy and security > Delete browsing data (called Clear browsing data in older versions).
  2. Set the time range to All time.
  3. Tick Cached images and files only.
  4. Click Delete data (or Clear data).

Mozilla Firefox

  1. Press Ctrl + Shift + Delete, or open Settings > Privacy & Security and under Cookies and Site Data click Clear Data.
  2. Set the time range to Everything if asked.
  3. Tick only the cache option, labeled Temporary cached files and pages or Cached Web Content depending on your version.
  4. Click Clear.

If you use several browser profiles, for example a work and a personal profile, each has its own cache. Clear it from inside each profile.

How much space will you actually get back?

Usually less than people hope. A browser typically holds a few hundred megabytes to a couple of gigabytes of cache, and it starts filling again the moment you browse. If you use two or three browsers, multiply accordingly.

There are cases where browser data takes more:

  • Site data for web apps. Web-based email, document editors and music or video services with offline features can store large amounts in "site data". Clearing it signs you out of those sites and removes any offline content, so only do it for sites you can easily set up again. Edge and Chrome let you see and remove data per site under their cookies and site data settings.
  • Old profiles. Browsers you no longer use, or old profiles inside a browser, keep their caches. Uninstall the browser or remove the profile from its settings.
  • Downloads. The files you downloaded are not part of the cache. They sit in your Downloads folder until you remove them, and often take far more space. See cleaning up the Downloads folder.

Cache size and automatic clearing

Should you limit the cache size?

Browsers manage cache size automatically and shrink it when your drive is low on space, so there is normally no need. Repeatedly clearing the cache mostly makes browsing a little slower. Clear it when you need space quickly, when a site is behaving strangely, or as part of a broader cleanup, not every day.

Clearing the cache automatically

If you would rather not think about it, some browsers can clear the cache every time you close them:

  • Edge: in Settings > Privacy, search, and services, under Clear browsing data, click Choose what to clear every time you close the browser and turn on Cached images and files.
  • Firefox: in Settings > Privacy & Security, under History, choose Use custom settings for history, tick Clear history when Firefox closes, then click Settings and choose only the cache.

The trade-off is that every site loads a little slower the first time after each restart. For most people, an occasional manual clear is the better balance, because the browser keeps the cache within its own limits anyway.

Do not delete cache folders by hand

Browser caches live inside your AppData folder, for example under AppData\Local\Microsoft\Edge\User Data for Edge. You might see advice to delete these folders directly. Avoid it: the same folders contain your profile, bookmarks, extensions and saved passwords, and deleting the wrong subfolder while the browser is open can corrupt the profile. Use the browser's own clearing option, or a cleanup tool that only targets the cache.

Clearing caches as part of a bigger cleanup

Browser caches are one of several kinds of junk that build up on any PC, alongside Windows temporary files, update leftovers, crash dumps and log files. Drive Sweeper clears browser caches together with those other categories in one pass, so you do not have to go through each browser separately. It also looks where the larger space usually is: duplicates, huge forgotten files and old downloads.

Drive Sweeper never picks Windows or program files, and shows every item labeled safe, review or keep before anything is removed. For the built-in Windows side of junk cleanup, see deleting temporary files in Windows 11, and if you are wondering what else is safe to remove, is it safe to delete temp files covers it.

Frequently asked questions

Will clearing the cache log me out of websites?

Not if you clear only cached images and files. Cookies are what keep you signed in, so leave them unticked.

How big can a browser cache get?

Browsers limit their cache automatically, usually to somewhere between a few hundred megabytes and a few gigabytes depending on free space.

Will clearing the cache delete my passwords?

No, unless you also tick saved passwords. Cached images and files are separate from saved passwords and autofill data.

Get three guides like this every month, plus software update notices.Subscribe →