Unused CSS Finder
Unused CSS Finder is a free web tool that identifies CSS selectors that do not match elements in supplied HTML, then produces cleaned CSS.
What Unused CSS Finder is
Unused CSS Finder is a free web tool that identifies CSS selectors that do not match elements in supplied HTML, then produces cleaned CSS. Users can paste code or scan a URL, providing HTML, CSS, and optional JavaScript. Results include the original and cleaned stylesheet sizes, estimated savings, and removable rule sets. Selector checks use the browser’s native querySelectorAll against a DOM built from the supplied HTML. JavaScript scanning recognizes documented patterns for vanilla JavaScript, jQuery, React, Vue, Alpine.js, Angular, and Svelte. It handles conditional at-rules, native CSS nesting, pseudo-classes, comma-separated selectors, and multi-class selectors, while preserving @keyframes, @font-face, @import, and vendor pseudo-elements. The cleaned output keeps formatting, property values, and comments rather than minifying the stylesheet. Pasted code is analyzed in the browser. URL scans use a same-server PHP proxy, retrieve only same-domain CSS and JavaScript, and skip external resources and JavaScript files over 500 KB. The scanner does not execute JavaScript or simulate interactions, which limits what it can detect.
Good
- Free web tool.
- Accepts pasted code or a URL scan.
- Reports stylesheet sizes and estimated savings.
- Preserves formatting, values, and comments in cleaned CSS.
- Recognizes documented patterns for several JavaScript frameworks.
Watch out
- Does not execute JavaScript or simulate interactions.
- URL scans skip external resources.
- Skips JavaScript files over 500 KB.
- CSS-in-JS tools with generated hashed class names are unsupported.
Who it suits
It suits developers who want to inspect supplied HTML and CSS for selectors that appear unused, including projects with documented JavaScript patterns. It is less suited to pages that rely on runtime-generated classes or authenticated URL access.
Verdict
Unused CSS Finder can identify removable rules from the HTML and code supplied, while preserving stylesheet formatting. Its static analysis and URL-scan limits matter for pages with runtime styling, external assets, or authentication.
Plans and prices
From Unused CSS Finder's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Free | Free | Free tool; URL scanning skips external resources and JavaScript files over 500 KB |
The facts
Each one read from Unused CSS Finder's own pages, with the date it was checked.
What it does
- Authenticated pages
- The URL scanner fetches pages without authentication, and the maker suggests pasting rendered HTML and stylesheet contents for pages behind login.checked 8 Oct 2026
- CSS support
- The tool handles conditional at-rules, native CSS nesting, pseudo-classes, comma-separated selector lists, and multi-class selectors.checked 8 Oct 2026
- Framework patterns
- JavaScript scanning recognizes documented patterns for vanilla JavaScript, jQuery, React, Vue, Alpine.js, Angular, and Svelte.checked 8 Oct 2026
- Input methods
- Users can paste code or scan a URL, and can provide HTML, CSS, and optional JavaScript.checked 8 Oct 2026
- Output
- Cleaned CSS preserves the original formatting, property values, and comments; it is not minified.checked 8 Oct 2026
- Preserved rules
- @keyframes, @font-face, @import, and vendor pseudo-elements are preserved rather than flagged as unused.checked 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.checked 8 Oct 2026
- Purpose
- The tool identifies CSS selectors that do not match elements in supplied HTML and produces cleaned CSS.checked 8 Oct 2026
- Results
- Scan results show original and cleaned stylesheet size, estimated savings, and removable rule sets.checked 8 Oct 2026
- Selector matching
- Selectors are tested against a DOM built from the supplied HTML using the browser's native querySelectorAll.checked 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.checked 8 Oct 2026
- Support
- The site offers a contact form for feedback and enquiries and says it may be unable to answer every email.checked 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.checked 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.checked 8 Oct 2026
Alternatives to Unused CSS Finder
- 1

DeepSource
Free planWebAPILinuxmacOS8.0From $30 a month - 2

Qodana
Free planWebAPIExtensionLinux7.9From $5 a month - 3

GitHub CodeQL
Free planWebExtensionLinuxmacOS7.5From $30 a month - 4

Cppcheck
Free planOpen sourceLinuxmacOSSelf-hostedWindows7.4Free plan - 5

Gitar
Free planWebAPISelf-hosted7.2From $20 a month - 6
gosec
Free planOpen sourceAPILinuxmacOSSelf-hosted7.2Free plan
