Safari extension · iPhone, iPad & Mac

Reject cookie popups and auto-delete cookies in Safari

Cookie DNT clicks "Reject" on cookie popups for you. When you close a site's tab, it deletes that site's cookies and stored data. You choose which sites, so you stay logged in everywhere else.

One-time purchase. No account, no tracking.

Cookie DNT in Safari: 38 cookies deleted on nytimes.com, with a Clean up Cookies Now button

What Cookie DNT does

Rejects cookie popups for you

When a site asks you to accept cookies, Cookie DNT picks "Reject". If there's no reject option, the popup is hidden. Pause it for any site.

Deletes cookies when you close a tab

A site's cookies and data are deleted once none of your tabs are on it. Or set a timer, from seconds to hours.

You pick which sites get cleaned

Turn deletion on site by site, so you stay logged in elsewhere. Or auto-delete everywhere except an allow list - wildcards like *.example.com work.

Clears more than cookies

Also removes localStorage, sessionStorage and IndexedDB, the other places sites keep data about you.

No tracking

Cookie DNT doesn't track your browsing. Your site lists stay on your devices and your iCloud.

iPhone, iPad and Mac

Your site lists sync with iCloud, so every device deletes the same cookies.

Why not just use Safari's settings?

Safari can clear all your cookies, or block them all. It can't delete one site's cookies when you leave it. That's the gap Cookie DNT fills.

Clear HistoryPrivate BrowsingBlock All CookiesCookie DNT
Deletes cookies automaticallyNoYes-Yes
Keeps the logins you wantNoNoNoYes
Choose sites one by oneNoNoNoYes
Sites still work normallyYesYesOften breakYes
Rejects cookie popupsNoNoNoYes

Cookie DNT doesn't block ads or trackers. Pair it with a content blocker if you want that.

Guides

Questions

Does Safari delete cookies automatically?

Safari limits some tracking cookies, but it has no setting to delete a site's cookies when you close its tab or after a set time. Clearing history removes everything at once, including the logins you want to keep. Cookie DNT deletes cookies automatically, only for the sites you choose.

How do I delete cookies for one site in Safari?

By hand, on iPhone and iPad go to Settings > Apps > Safari > Advanced > Website Data (Settings > Safari on iOS 17 and earlier); on Mac go to Safari > Settings > Privacy > Manage Website Data. Cookie DNT does this for you every time you leave the site.

Is there a Cookie AutoDelete for Safari?

Cookie AutoDelete is a Chrome and Firefox extension and isn't available for Safari. Cookie DNT works the same way in Safari - it deletes a site's cookies after you close its tab, and keeps the sites on your allow list.

Does Cookie DNT block cookie banners?

Yes. Since version 2.12, Cookie DNT rejects cookie consent popups for you - it clicks the site's own "Reject" button, or hides the popup when there is none. It works on thousands of sites that use common consent tools, though not every site. If a site misbehaves, pause it for that site from the extension menu. It uses DuckDuckGo's open-source autoconsent rules (MPL-2.0).

Does Cookie DNT block ads?

No. Cookie DNT rejects cookie popups and deletes cookies and site data. It doesn't block ads, trackers or network requests.

Will I get logged out of sites?

Only on sites you turn cleaning on for. Leave your bank, email and other logins off the list (or on the allow list in Block All mode) and they stay signed in.