Other / CSS / Remove CSS
The Remove CSS bookmarklet disables all stylesheets and clears inline styles to view the page with CSS removed. Immediately disables all external and internal stylesheets, removes inline style attributes from all elements, displays a toggle button to restore CSS, and provides a way to toggle CSS on/off to test semantic HTML structure. Useful for verifying content order and accessibility without visual styling.
Run Remove CSS
Test run or drag to
bookmarklets bar to install
javascript:%21function()%7Blet%20e%3D%210%3Bconst%20t%3Ddocument.createElement(%22button%22)%3Bt.innerText%3D%22CSS%20removed%20(click%20to%20toggle)%22%2Ct.style.position%3D%22fixed%22%2Ct.style.cursor%3D%22pointer%22%2Cdocument.body.appendChild(t)%3Bfor(let%20e%3D0%3Be%3Cdocument.styleSheets.length%3Be%2B%2B)document.styleSheets%5Be%5D.disabled%3D%210%3Bconst%20o%3Ddocument.getElementsByTagName(%22*%22)%3Bfor(let%20e%3D0%3Be%3Co.length%3Be%2B%2B)o%5Be%5D.style.cssText%3D%22%22%3Bt.onclick%3Dfunction()%7Be%3D%21e%3Bfor(let%20t%3D0%3Bt%3Cdocument.styleSheets.length%3Bt%2B%2B)document.styleSheets%5Bt%5D.disabled%3De%3Bconst%20o%3Ddocument.getElementsByTagName(%22*%22)%3Bfor(let%20t%3D0%3Bt%3Co.length%3Bt%2B%2B)o%5Bt%5D.style.cssText%3De%3F%22%22%3Ao%5Bt%5D.style.cssText%3Bt.innerText%3De%3F%22CSS%20removed%20(click%20to%20toggle)%22%3A%22CSS%20restored%20(click%20to%20toggle)%22%7D%7D()%2Cconsole.log(%22%5CnSource%3A%20https%3A%2F%2Fdorward.uk%2Fsoftware%2Fdisablecss%2F%5CnBookmarklet%20name%3A%20Remove%20CSS%5Cn%22)%3B
← Back to all bookmarklets