How to Clear Browser History on All Browsers on macOS
How to Clear Browser History on All Browsers on macOS
Every site you visit leaves traces on your Mac: URLs in your history, tracking cookies, autofill entries, and session files that remember your login state. Over time, these files accumulate and can reveal a detailed picture of your browsing habits — even after you close the tab.
This guide covers how to clear browser history and privacy data on every major macOS browser, what each data type actually contains, and how to go deeper than the built-in "Clear History" button. For a broader storage cleanup, see how to free up disk space on Mac.
What Your Browser Stores (and Why It Matters)
macOS browsers persist several categories of data on disk:
- History — every URL you visited, with timestamps. Stored in SQLite databases.
- Cookies — session tokens, tracking IDs, and site preferences. Some expire in years.
- Form data — autofill entries for names, addresses, emails, and passwords you typed into forms.
- Sessions — files that restore your open tabs and windows after a restart.
- Web storage — LocalStorage, IndexedDB, and site databases used by web apps for tracking or caching.
Most browsers let you clear some of this, but rarely all of it in one pass — and never across multiple browsers at once.
Safari
Clear history from the menu
- Open Safari.
- Choose History → Clear History…
- Select the time range (last hour, today, today and yesterday, or all history).
- Click Clear History.
This removes history, cookies, and website data for the chosen period — but it does not delete form data, saved sessions, or LocalStorage.
Delete form data and sessions manually
- Form Values:
~/Library/Safari/Form Values - Last session:
~/Library/Safari/LastSession.plist - Recently closed tabs:
~/Library/Safari/RecentlyClosedTabs.plist - Saved state:
~/Library/Saved Application State/com.apple.Safari.savedState - LocalStorage:
~/Library/Safari/LocalStorage - Databases:
~/Library/Safari/Databases
Quit Safari before deleting any of these files.
Google Chrome
Clear browsing data from settings
- Open Chrome and press Shift + Command + Delete.
- Choose the time range and check Browsing history, Cookies and other site data, and Cached images and files.
- Click Clear data.
Chrome groups history, cookies, and cache together, but it does not clear form autofill data, session restore files, or IndexedDB by default.
Deep-clean Chrome profiles
Chrome stores per-profile data under:
~/Library/Application Support/Google/Chrome/Default
~/Library/Application Support/Google/Chrome/Profile 1
…
Key files per profile:
| File | Contents |
|---|---|
History | Visited URLs with timestamps |
Cookies | Session and tracking cookies |
Web Data | Autofill form entries |
Current Session | Open tabs snapshot |
Current Tabs | Tab metadata |
Local Storage | Per-site key-value data |
IndexedDB | Structured web app storage |
Quit Chrome before deleting any of these.
Firefox
Clear recent history
- Open Firefox and press Shift + Command + Delete.
- Select the time range and check the items you want to clear.
- Click Clear Now.
Firefox offers more granular control than most browsers, but its places.sqlite database stores both history and bookmarks — deleting it would also remove your bookmarks.
Manual cleanup per profile
Firefox profiles live under:
~/Library/Application Support/Firefox/Profiles/<profile-name>.default-release
| File | Contents |
|---|---|
places.sqlite | History and bookmarks (do not delete) |
cookies.sqlite | Cookies |
formhistory.sqlite | Autofill entries |
sessionstore-backups | Session restore data |
webappsstore.sqlite | Web storage |
Microsoft Edge, Brave, Arc, Vivaldi, Opera
All Chromium-based browsers follow the same structure as Chrome, just in different folders:
| Browser | Data folder |
|---|---|
| Edge | ~/Library/Application Support/Microsoft Edge |
| Brave | ~/Library/Application Support/BraveSoftware/Brave-Browser |
| Arc | ~/Library/Application Support/Arc |
| Vivaldi | ~/Library/Application Support/Vivaldi |
| Opera | ~/Library/Application Support/com.operasoftware.Opera |
Each has Default and Profile N subfolders containing the same History, Cookies, Web Data, and Sessions files as Chrome.
To clear history from the UI, use Shift + Command + Delete (same shortcut as Chrome) and select the data types.
What "Clear History" Misses
The built-in clear-history dialogs in every browser leave behind:
- Autofill and form data — your name, email, address, and search queries typed into forms.
- Session restore files — snapshots of open tabs that survive restarts.
- IndexedDB and LocalStorage — persistent web storage used for tracking and caching.
- Multi-profile data — most browsers only clean the default profile unless you select otherwise.
- Cross-browser residue — clearing Safari does nothing for Chrome, and vice versa.
Automate Deep Privacy Cleanup with NythyCleaner
NythyCleaner's Privacy section scans all installed browsers at once and reports exactly what data exists and how much space it uses. It covers:
- Safari — history, cookies, form values, sessions, LocalStorage, databases.
- Chromium browsers — Chrome, Edge, Brave, Arc, Vivaldi, Opera, Chromium, Iridium. All profiles are scanned automatically.
- Firefox — cookies, form history, sessions, web storage (bookmarks are preserved).
Each item shows a risk level (high for history and cookies, medium for sessions and storage) and the exact file paths involved. You select what to remove and NythyCleaner deletes the files safely — quitting the browser first is recommended.
You can combine this with:
- System cleanup — browser caches, logs, and other system traces.
- Disk space — treemap view to find large folders outside browser data.
Safety Checklist
- Quit the browser before deleting its data files.
- Do not delete
places.sqlitein Firefox — it contains your bookmarks. - Do not delete
Login Dataorkey4.db— those store saved passwords. - If you use multiple Chrome profiles, verify you are cleaning the right one.
Summary
| Browser | Built-in clear | Misses |
|---|---|---|
| Safari | History, cookies | Form data, sessions, LocalStorage |
| Chrome | History, cookies, cache | Autofill, sessions, IndexedDB |
| Firefox | History, cookies, cache | Form data, session backups, web storage |
| Edge / Brave / Arc / Vivaldi / Opera | Same as Chrome | Same as Chrome |
Clearing browser history manually is a good habit, but it leaves gaps. NythyCleaner fills those gaps by scanning every browser and every profile on your Mac, showing you exactly what persists, and letting you remove it in one workflow.