Cookie AutoDelete for Safari? The closest alternative

Updated · by Sufiyan Yasa, developer of Cookie DNT

Short answer: Cookie AutoDelete only exists for Chrome and Firefox. In Safari, Cookie DNT does the same job - it deletes a site's cookies and storage after you close its tab, and keeps the sites on your allow list.

Cookie AutoDelete is a popular open-source extension for Chrome and Firefox. When you close a tab, it deletes that site’s cookies unless the site is on your whitelist. It has never been released for Safari.

  Cookie AutoDelete (Chrome, Firefox) Cookie DNT (Safari)
Deletes cookies when the tab closes Yes Yes
Allow list / whitelist with wildcards Yes Yes (*.example.com)
Delete only chosen sites (greylist style) Yes Yes (Selective mode)
Clears localStorage and IndexedDB Yes Yes
Timer-based cleanup Yes Yes, seconds to hours
iPhone and iPad No Yes
Syncs settings between devices No Yes, via iCloud

Two ways to set it up

Clean everything except my favourites (like Cookie AutoDelete’s default): turn on Block All Mode in Cookie DNT and add the sites you want to stay logged into to the allow list.

Keep everything except a few sites: leave Block All Mode off and switch cleaning on for individual sites from the extension menu in Safari.

What about Safari’s own settings?

Safari can clear all website data or block all cookies, but it can’t clean per site on close. See how to auto-delete cookies in Safari for every built-in option and its trade-offs.

Other alternatives people mention