Browser Debugging Suite

Cookie Bookmarklets

Instant control over your browser state. These JavaScript snippets allow you to audit and manage cookies or storage with zero setup.

Developer Utility

The Cookie Arsenal

Powerful one-click tools for browser state management. Drag the items to your bookmarks bar or copy the code to perform instant debugging and auditing.

Drag to Bookmarks Bar
100% Client-Side JS

View Cookies

Ready to deploy

Shows all current domain cookies in a simple alert box.

javascript:alert(document.cookie.split(';').join('\n\n'))

Delete All Cookies

Ready to deploy

Force expires every cookie on the current domain and path.

javascript:(function(){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=cookies[i];var eqPos=cookie.indexOf('=');var name=eqPos>-1?cookie.substr(0,eqPos):cookie;document.cookie=name+'=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/';document.cookie=name+'=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain='+window.location.hostname.replace(/^www\./,'')}alert('All cookies cleared!')})();

Clear Storage

Ready to deploy

Wipes LocalStorage and SessionStorage completely.

javascript:(function(){localStorage.clear();sessionStorage.clear();alert('LocalStorage & SessionStorage cleared!')})();

Quick Editor

Ready to deploy

Opens a simple prompt to add or edit a specific cookie.

javascript:(function(){var n=prompt('Cookie Name:'),v=prompt('Cookie Value:');if(n&&v){document.cookie=n+'='+v+';path=/';alert('Cookie Set!')}else{alert('Cancelled')}})();

Privacy Pro Tip

These bookmarklets only run on the active tab and current domain. They are a great way to verify if a site is properly handling session expiry or if you just want to quickly reset your state for local testing.