Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a tool which would be able to identify unused and/or duplicate css selectors and rules, with the following two restrictions:

  • The tool would have to be able to analyze css pages which are used for many HTML pages, so a tool like Dust-Me won't help.

  • The tool should also work on a local installation, because I'd also like to be able to check my css at development stage. This would rule out online css verifiers.

share|improve this question

There is a Firefox addon called CSS Usage which shows all styles used/unused on a page.

It claims to do multiple pages but in my experience it seems to be somewhat unreliable in its results. Regardless it has helped me out a bunch in the past.

share|improve this answer

I have tried Dust Me and CSS Usage in the past with some success to get an initial list of unused css selectors. Then what I do is focus on searching for those potentially unused selectors manually. At least that reduces the scope of the problem from hundreds of selectors to a few dozens.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.