Auto Clear History on Exit
Chrome extension by Kuuloa
Clear Chrome history when the last window closes.
Chrome has no built-in “clear history on exit” option. This extension adds that step. It starts with browsing history only, so cookies and sign-ins are left alone unless you choose otherwise.
Cleanup starts when the last Chrome window closes. If Chrome exits before it finishes, the extension retries on the next startup. Completion before exit is not guaranteed.

- History only by default
- Cookie cleanup starts off
- Saved passwords are never deleted
- Browsing URLs are not stored or sent
- 19 languages
- Open source
Why an extension
Chrome can clear cookies on close. Not history.
Chrome's built-in setting Delete data sites have saved to your device when you close all windows removes on-device site data such as cookies. It does not delete your browsing history. Microsoft Edge and Firefox include a built-in option to clear history when the browser closes; Chrome does not.
Auto Clear History on Exit fills that gap: close the last window, and the history cleanup you chose begins. Compare it with Chrome's setting
Source: Google Chrome Help, “Learn about on-device site data in Chrome” (opens in a new tab)
01 / A useful default
Start small. Choose what goes.
There is no need to clear everything. The default removes browsing history only. Cache, cookies, download history, form data, and local storage are separate choices. Selected types are cleared for all time.
Safe
History only
The default. Cookies, cache, and site storage are left alone, so it is less likely to sign you out.
Standard
History + cache
A light everyday cleanup that also clears cached files.
Strong
Cookies and storage too
Adds cookies, download history, form data, and local storage. Signs you out of websites, including Google, and may pause Chrome Sync.
See what will be deleted before you save
Changes to data types and protected sites stay a draft until you choose Review changes and then Save settings. The review lists what will be deleted and what will be kept. Saving does not delete anything; the new settings apply to the next cleanup. Clear Now shows a similar review before it deletes.



02 / Keep what you need
Keep the sign-ins you choose.
Cookie cleanup is off by default. If you turn it on, set up Keep login first: tick the Gmail or GitHub configuration template, or add your own sign-in sites. Chrome skips their cookies during deletion. They are excluded, not deleted and restored afterward.
If you also clear cache or local storage, save Also protect cache and local storage to exclude the same sites from those deletions. Browsing history is still cleared for protected sites.
03 / Know what happened
Less guessing. A result for each type.
The Results tab reports each data type separately: whether Chrome reported completion, a task failed or was skipped, or completion could not be confirmed after an interruption. Results describe Chrome's response; the extension does not independently scan for remaining data. After a cleanup you can open a protected service and record whether you stayed signed in.
- Notifications after every cleanup, on by default, with one switch to turn them off. They close on their own. (Version 2.2.1)
- Pause automatic cleanup for 30 minutes, 1 hour, the rest of today, or until you resume.
- Clear Now runs a cleanup while Chrome is open, after a review of what will be deleted.

Practical guides
A cleaner browser, with fewer surprises.
Setup
Clear Chrome history on exit
Why Chrome's own on-close setting keeps your history, how to set up automatic cleanup, and what happens when the last window closes.
Read the guideEveryday use
Clear history. Keep useful logins.
History, cookies, and site storage explained, how Keep login works, and why a few sites can still sign you out.
Read the guideTroubleshooting
History still there? Start here.
Work through saved settings, the last-window trigger, and the Results tab in a useful order.
Read the guidePrivacy & limits
Know the scope.
The extension does not store or send browsing URLs. Its settings and reports stay in this browser.
What happens if Chrome exits before cleanup finishes?
Cleanup starts as soon as the last Chrome window closes. Chrome does not give extensions a guaranteed shutdown event, so an explicit Quit, a force quit, a crash, or an operating-system shutdown can interrupt it. The extension keeps a marker and retries the cleanup on the next startup. Completion before Chrome exits is not guaranteed.
Why does it ask for the “background” permission?
It keeps the Chrome profile available after the last window closes, so cleanup and its completion notification can finish. Chrome's own background-app settings still apply. On some platforms this permission can keep Chrome running without open windows and may let Chrome start at login; on macOS, Chrome 109 and later does not add a login item automatically.
Does it delete my Google Account activity?
No. It deletes Chrome's local browsing data. Search and browsing activity saved to your Google Account is managed separately in Google's Web & App Activity settings. Deleting cookies does not remove the Google Account from your Chrome profile.
Are saved passwords deleted?
No. Passwords are not a cleanup type in this extension. Chrome 144 and later no longer allow extensions to delete saved passwords.
Will every login be preserved?
Not necessarily. Keep login excludes the sites you choose from cookie deletion and, once you save that option, from cache and local storage deletion. Sign-in can also depend on other domains, such as a single sign-on page, and websites can end sessions on their own schedule. Why a few sites can still sign you out.
What does the extension store or send?
Browsing URLs are not stored or sent. Settings and cleanup reports stay in this browser; detailed reports keep up to 20 runs for 7 days and contain no visited URLs, page titles, or cookie values. From version 2.2, uninstalling opens an optional survey page on kuuloa.com. Its address carries only the extension version, Chrome's interface language, and two coarse ranges (days since install and number of successful cleanups), with no sites, settings, history, or identifiers.
Which languages are supported?
The extension is available in 19 languages: Arabic, Chinese (Simplified), Chinese (Traditional), Dutch, English, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Portuguese (Portugal), Spanish, Thai, Turkish, Vietnamese.
Is the source code available?
Yes. Auto Clear History on Exit is open source. Read the code on GitHub (opens in a new tab).
Do these pages track me?
These pages use Vercel Web Analytics, which counts page views and survey answers without cookies. Chrome Web Store links carry campaign labels (UTM parameters) that show which page a visit came from. Neither includes your browsing history.
Let the end of a session start the cleanup.
Start with history only. Add other data types after you understand their effects.
Chrome is a trademark of Google LLC.