How to clear the browser cache on a Mac

Browser caches are rebuildable and often a few gigabytes. Clear them from the browser's own settings so passwords, bookmarks and logins stay.

Measure (read-only)

 Terminal
du -sh ~/Library/Caches/com.apple.Safari ~/Library/Caches/Google/Chrome ~/Library/Caches/Firefox ~/Library/Caches/Microsoft\ Edge 2>/dev/null

Safari

  1. Safari → Settings → Advanced, tick Show features for web developers.
  2. Choose Develop → Empty Caches. This clears cached files only; history and logins stay.

Chrome

  1. Press Shift-Command-Delete (or Chrome → Delete Browsing Data).
  2. Pick a time range and tick only Cached images and files. Leave cookies unticked unless you want to be logged out.

Firefox

  1. Firefox → Settings → Privacy & Security → Cookies and Site Data → Clear Data…
  2. Tick only Temporary cached files and pages.
Caches fill up again as you browse, so clearing them gains space for a while. It is most useful when a site misbehaves or a cache has grown unusually large.
Do not delete browser profile folders in ~/Library/Application Support. They hold passwords, bookmarks and extensions.

Junk Raccoon cleans browser caches but never a browser profile, and anything it removes can be put back.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac