- Home
- Static Analysis Tools
- Unused CSS Finder
On the recordRead 8 Oct 202614 facts
Unused CSS Finder
Plans and prices
Free
Free
Free tool; URL scanning skips external resources and JavaScript files over 500 KB
Read 8 Oct 2026 · cssportal.com
On the record
- Authenticated pages
- The URL scanner fetches pages without authentication, and the maker suggests pasting rendered HTML and stylesheet contents for pages behind login.cssportal.com · read 8 Oct 2026
- CSS support
- The tool handles conditional at-rules, native CSS nesting, pseudo-classes, comma-separated selector lists, and multi-class selectors.cssportal.com · read 8 Oct 2026
- Framework patterns
- JavaScript scanning recognizes documented patterns for vanilla JavaScript, jQuery, React, Vue, Alpine.js, Angular, and Svelte.cssportal.com · read 8 Oct 2026
- Input methods
- Users can paste code or scan a URL, and can provide HTML, CSS, and optional JavaScript.cssportal.com · read 8 Oct 2026
- Output
- Cleaned CSS preserves the original formatting, property values, and comments; it is not minified.cssportal.com · read 8 Oct 2026
- Preserved rules
- @keyframes, @font-face, @import, and vendor pseudo-elements are preserved rather than flagged as unused.cssportal.com · read 8 Oct 2026
- Privacy
- The maker says pasted code is analyzed entirely in the browser, while URL scans use a same-server PHP proxy and do not send code to a third-party service.cssportal.com · read 8 Oct 2026
- Purpose
- The tool identifies CSS selectors that do not match elements in supplied HTML and produces cleaned CSS.cssportal.com · read 8 Oct 2026
- Results
- Scan results show original and cleaned stylesheet size, estimated savings, and removable rule sets.cssportal.com · read 8 Oct 2026
- Selector matching
- Selectors are tested against a DOM built from the supplied HTML using the browser's native querySelectorAll.cssportal.com · read 8 Oct 2026
- Static analysis limits
- The tool does not execute JavaScript or simulate interactions, so runtime-generated classes, computed class names, iframe or Shadow DOM styles, and third-party script classes can be missed.cssportal.com · read 8 Oct 2026
- Support
- The site offers a contact form for feedback and enquiries and says it may be unable to answer every email.cssportal.com · read 8 Oct 2026
- Unsupported CSS-in-JS
- CSS Modules, styled-components, Emotion, and other tools that generate hashed class names are not supported for static analysis.cssportal.com · read 8 Oct 2026
- URL scan limits
- URL scans fetch only same-domain CSS and JavaScript; external resources are skipped, as are JavaScript files over 500 KB.cssportal.com · read 8 Oct 2026