How to use Static Unused CSS Selector Report
- Paste the stylesheet and the HTML snapshot to be compared.
- Run the bounded static matcher without applying styles or fetching imports.
- Review unmatched candidates alongside unsupported/dynamic cases before any removal.
Example: Static Unused CSS Selector Report
Compare supported CSS selectors with a supplied HTML snapshot, separating unmatched candidates from unknown states.
Options
- Snapshot evidence
- A selector matching nothing in this input can still be used by another page or runtime state.
- Unknown selectors
- Unsupported syntax, dynamic pseudo states and unevaluated at-rules remain unknown rather than receiving an unused verdict.
Supported inputs and limits
Where your input is processed
This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.
An unmatched selector is not safe to delete
Scripts, responsive state, forms, shadow trees and pages outside the snapshot can use a rule. Recheck those contexts in a real application and retain the source stylesheet until review is complete. This report never automatically removes CSS.
Questions about Static Unused CSS Selector Report
Will it remove CSS automatically?
It exports findings without editing your stylesheet.
Are hover states called unused?
Dynamic or unsupported states remain unknown.
Does one snapshot cover every page?
No. Review other pages and runtime states separately.