Wipe

How to Clear Browser History Permanently (Not Just from the Menu)

Quick Answer

Clicking “Clear browsing data” in Chrome or Edge or Firefox removes entries from the visible history list. It does not overwrite the underlying database files on your drive. Deleted records remain in the SQLite database’s free pages and can be recovered with forensic tools. To permanently destroy all browser traces, use Univik File Eraser‘s Clean System Traces feature to securely overwrite every browser database file, then run Wipe Free Space to destroy any residual data in the freed disk sectors.

Introduction

You open Chrome, press Ctrl+Shift+Delete, select “All time” and click Clear data. The history list is now empty. You feel safe. You are not. The browsing data you just “cleared” is still on your hard drive. The browser deleted the records from its active database tables but the underlying SQLite database files still contain the old data in their free pages. Anyone with access to your drive can recover that history using free forensic tools.

This is not a Chrome problem. Edge and Firefox work the same way. Every major browser stores data in SQLite databases and SQLite does not overwrite deleted records by default. This guide explains exactly where each browser hides your data on disk, which files survive a history clear and how to permanently destroy every trace.

Why “Clear Browsing Data” Does Not Actually Delete Your Data

Browsers store history and cookies and auto-fill data and saved passwords in SQLite database files. When you clear browsing data through the browser menu, the browser executes SQL DELETE commands that remove records from the active tables. However, SQLite does not overwrite the disk space those records occupied. Instead, it marks those database pages as “free” for future reuse.

Until the database engine reuses those pages for new data, the deleted records sit in the file exactly where they were. A hex editor can open the database file and find full URLs and page titles and timestamps in the free pages. Forensic tools like DB Browser for SQLite and Hindsight (a Chrome forensic analyzer) automate this extraction and can reconstruct a complete browsing timeline from a “cleared” history database.

Even running SQLite’s VACUUM command (which rebuilds the database and reclaims free pages) does not solve the problem completely. VACUUM creates a new clean database file, but the old file’s data remains in the freed disk sectors until those sectors are overwritten by something else. The browser data moves from “recoverable inside the database” to “recoverable from the drive’s free space.”

Where Each Browser Stores Your Data on Disk

Browser Data Location (Windows) Key Database Files
Chrome %LocalAppData%\Google\Chrome\User Data\Default\ History, Cookies, Login Data, Web Data, Favicons, Shortcuts, Top Sites
Edge %LocalAppData%\Microsoft\Edge\User Data\Default\ History, Cookies, Login Data, Web Data, Favicons, Shortcuts, Top Sites
Firefox %AppData%\Mozilla\Firefox\Profiles\[random].default-release\ places.sqlite, cookies.sqlite, logins.json, formhistory.sqlite, favicons.sqlite

Chrome and Edge share the same Chromium codebase and use identical file names and database structures. Firefox uses different file names but the same SQLite storage engine with the same free-page recovery vulnerability. Each browser also maintains write-ahead log (WAL) files (History-journal, cookies.sqlite-wal) that can contain copies of recently modified records.

Seven Types of Data That Survive a History Clear

1. Favicon database. The Favicons file stores website icons for every site you have visited. Clearing history does not clear favicons. The icon database reveals your complete browsing pattern even when the history database is empty. A forensic examiner can reconstruct which sites you visited by listing every favicon stored on the system.

2. SQLite free pages. As explained above, deleted history records remain in the database file’s free pages until SQLite reuses them. On a browser used daily, free pages may contain weeks or months of browsing data.

3. Write-ahead logs (WAL files). SQLite uses WAL files to improve database performance. These journal files contain recent write operations and may preserve records that were deleted from the main database. WAL files are not always cleaned when you clear history.

4. Session restore files. Chrome stores current and recent session data in “Current Session” and “Last Session” files. Firefox stores session data in sessionstore.jsonlz4. These files record every tab you had open including full URLs and scroll positions. Clearing history does not clear session restore data.

5. Download history. Chrome’s History database contains a separate “downloads” table that may not be purged when you select “Clear browsing history” without also checking “Download history.”

6. Auto-fill and form data. The Web Data database stores names and addresses and phone numbers and credit card details from web forms. Clearing “browsing data” does not always include auto-fill unless you specifically select it.

7. Cached DNS lookups in the browser. Chrome maintains an internal DNS cache separate from the Windows DNS cache. This cache records domain names your browser recently resolved. It persists independently of your browsing history and reveals site visits even after history is cleared. Access it at chrome://net-internals/#dns while Chrome is running.

The DNS Cache: A Second Browsing Log You Never See

Beyond the browser’s own DNS cache, Windows maintains a system-level DNS cache that records every domain name your computer has resolved. This cache reveals browsing activity across all browsers and applications.

View the current DNS cache by opening Command Prompt and running ipconfig /displaydns. The output shows every domain your computer has contacted recently. To clear it, run ipconfig /flushdns. However, flushing clears only the in-memory cache. Your DNS queries may also be logged by your router and your ISP and any DNS server you use.

For local privacy, flushing the DNS cache and clearing browser history together provides better coverage than either action alone. Univik File Eraser‘s Clean System Traces handles both the browser databases and the system DNS cache in a single operation.

How to Permanently Clear Chrome Data

Step 1: Clear through Chrome. Press Ctrl+Shift+Delete, select “All time” and check all categories (browsing history and download history and cookies and cached images and passwords and auto-fill). Click Clear data. This removes records from the active database tables.

Step 2: Close Chrome completely. Check the system tray because Chrome often runs background processes after you close the window. Right-click the Chrome icon in the tray and select Exit. The browser must be fully closed before you can overwrite its database files.

Step 3: Overwrite the database files. Run Univik File Eraser‘s Clean System Traces. This securely overwrites the History and Cookies and Login Data and Web Data and Favicons and session files and WAL journal files. Every free page containing deleted records is destroyed.

Step 4: Wipe free space. Run Wipe Free Space on your system drive to overwrite the disk sectors where the old database contents were stored before the cleaning. This eliminates any residual data that migrated from the database files to the drive’s free space.

How to Permanently Clear Edge Data

Edge uses the same Chromium database structure as Chrome. The process is identical with one additional consideration: Edge integrates deeply with Windows and maintains separate data stores for its sidebar features and collections and vertical tabs.

Step 1: Open Edge, press Ctrl+Shift+Delete, select “All time” and check all categories. Click “Clear now.”

Step 2: Close Edge completely. Edge runs background processes by default. Go to Settings > System and performance and disable “Continue running background extensions and apps when Microsoft Edge is closed.” Then close Edge and verify it is not in the system tray.

Step 3: Run Clean System Traces in Univik File Eraser to overwrite Edge’s database files. The tool targets the Edge profile directory alongside Chrome and Firefox profiles.

Step 4: Run Wipe Free Space to destroy residual data on the drive.

How to Permanently Clear Firefox Data

Firefox uses different file names (places.sqlite for history and bookmarks, cookies.sqlite for cookies, formhistory.sqlite for form data) but the same SQLite engine with the same free-page vulnerability.

Step 1: In Firefox, press Ctrl+Shift+Delete. Select “Everything” in the time range and check all boxes. Click “Clear Now.”

Step 2: Close Firefox. Unlike Chromium browsers, Firefox does not typically run background processes after closing. Verify by checking Task Manager for any firefox.exe processes.

Step 3: Run Clean System Traces in Univik File Eraser to securely overwrite places.sqlite and cookies.sqlite and formhistory.sqlite and logins.json and favicons.sqlite and all associated WAL and journal files.

Step 4: Run Wipe Free Space to eliminate residual data from the drive sectors where Firefox’s old database contents existed.

How to Destroy All Browser Traces at Once

If you use multiple browsers (or if you have browsers installed that you rarely use but which still contain old data), the most efficient approach is to clean everything simultaneously.

Close all browsers. Ensure Chrome and Edge and Firefox are fully closed with no background processes running. Check Task Manager and the system tray.

Run Clean System Traces. Univik File Eraser scans for all installed browser profiles and securely overwrites their database files in one pass. This covers Chrome and Edge and Firefox and any Chromium-based browsers (Brave and Opera and Vivaldi) that share the same database structure.

Flush the DNS cache. Open Command Prompt as administrator and run ipconfig /flushdns. Clean System Traces handles this automatically but you can verify by running ipconfig /displaydns afterward to confirm the cache is empty.

Run Wipe Free Space. This final step overwrites every freed sector on the drive, destroying any database fragments that migrated to the drive’s free space during the cleaning process. After this step, no forensic tool can recover any browser data from the drive.

Frequently Asked Questions

Can my employer see my browsing history after I clear it?

If your employer uses network monitoring or a web proxy, your browsing activity is logged on their servers regardless of what you do on your local machine. Clearing local browser history does not affect server-side logs. However, clearing and overwriting local database files prevents anyone from recovering history by examining your computer’s drive directly.

Does incognito/private mode prevent this problem?

Partially. Incognito mode does not write history or cookies or auto-fill data to the persistent database files. However, DNS cache entries are still created, downloaded files remain on disk and any bookmarks or settings changes made during the session are saved. Incognito also does not protect against network-level monitoring by employers or ISPs.

How often should I permanently clear browser data?

For ongoing privacy maintenance, run Clean System Traces weekly or monthly depending on your browsing volume and sensitivity. Each session destroys the accumulated browser data since the last clean. For a specific privacy concern (preparing to hand over a laptop, clearing data after a sensitive browsing session), run it immediately followed by Wipe Free Space.

Will clearing browser data log me out of websites?

Yes. Clearing cookies logs you out of every website where you are currently signed in. You will need to re-enter passwords for email and social media and banking sites. If you use a password manager, make sure you know your master password before clearing. To avoid repeated sign-ins, some users clear only specific sites rather than all cookies.

Conclusion

Last verified: February 2026. SQLite free-page recovery tested with DB Browser for SQLite 3.13 and Hindsight 2024.02 on Chrome 131 and Edge 131 and Firefox 134 database files on Windows 11 24H2. DNS cache behavior verified with ipconfig /displaydns. WAL file contents analyzed with sqlite3 command-line tool. Session restore files examined with JSONView for Firefox sessionstore.jsonlz4.

The browser’s “Clear data” button is a user interface feature, not a data destruction tool. It removes records from active database tables while leaving the actual data in SQLite free pages on your drive. Favicons persist. WAL journals persist. Session files persist. DNS entries persist. The only way to permanently destroy all of this data is to overwrite the database files themselves and then overwrite the drive sectors where those files existed. Univik File Eraser handles both steps: Clean System Traces overwrites every browser database across all installed browsers, then Wipe Free Space destroys any residual data on the drive.

Two steps to truly clear your browsing data: (1) Close all browsers and run Univik File Eraser‘s Clean System Traces to securely overwrite every browser database file across Chrome and Edge and Firefox. (2) Run Wipe Free Space to destroy the freed disk sectors where old database contents resided. After these two steps, no forensic tool can recover any browsing data from your drive.

About the Author

This guide is written and maintained by the Univik team, developers of digital forensics and data security tools since 2013. We analyze browser database artifacts as part of forensic investigation workflows and understand exactly where browsers hide data that standard cleanup misses. Univik File Eraser’s Clean System Traces feature is built to target every known browser data store across Chrome and Edge and Firefox. Questions about permanent browser history deletion? Contact our team.