How to delete cookies for one site in Safari, without deleting local data

cookiessafari

I'm having trouble logging in to a website in Safari, so I wanted to delete cookies for that one site. I went to Safari > Preferences > Privacy > Manage Website Data And searches for the site's name, but I see that the site is using cookies and local storage. I don't want to delete the local storage, just the cookies.

Screenshot of Safari Privacy preferences showing site in question

This is on Mac OS X 10.15.7 with Safari version 14.0 (15610.1.28.1.9, 15610)

In Safari, How can I delete just the cookies for a single site and leave the local data?

Best Answer

Visit the website, open the developer tools (option-cmd-i, enabled in Preferences → Advanced), choose the Storage tab, then Cookies in the sidebar, and for each cookie, select it in the list and press backspace.