Score BreakdownCompare TwoExplanations
Specificity:
0
IDs
2
Classes
3
Elements
Score: (0, 2, 3) = 23
Specificity:
1
IDs
2
Classes
1
Elements
Score: (1, 2, 1) = 121
Selector 2 wins (121 vs 23)

Specificity Reference

(1,0,0) - IDs
#header
#nav
(0,1,0) - Classes
.active
[type="text"]
:hover
(0,0,1) - Elements
div
p
::before
Share:Copied!
Was this tool helpful?

Get a free API key + new tools as they ship

100 calls/day, no card, no spam. Built by one person, in public.

About Specificity Calc

Specificity Calc is a free, browser-based utility designed to make developer and design work as quick and frictionless as possible. The goal was to keep the path from "open the page" to "get the result" as short as possible. No mandatory account, no cookie wall, no upsell at every step. If you find yourself doing this regularly, the rest of the developer suite covers most adjacent tasks with the same approach.

When you'd reach for Specificity Calc

  • You're cleaning up a folder of files that accumulated over a project and need to standardize them.

    Designers, writers, and developers wrapping up deliverables.

    Drop each file in, copy the output, move on.

  • You're hitting the daily limit of a paid SaaS and need a backup option for a single quick job.

    Marketers and ops people whose primary tool is metered.

    Stay productive without burning credits.

  • You're on a public or shared machine and don't want to leave traces of what you're working on.

    Travelers, contractors, anyone working from a friend's computer.

    Nothing is uploaded, nothing persists if you're not signed in.

  • You need to handle a one-off task right before a meeting and don't have time to install anything.

    Anyone working remotely on a borrowed or restricted machine.

    Open the page, get the result, paste it into your doc — under a minute.

Frequently asked about Specificity Calc

Can I use Specificity Calc commercially?
Yes. The output of Specificity Calc belongs entirely to you, with no licensing restrictions.
Will Specificity Calc change my original file?
Never. Specificity Calc only reads your input file and produces a new output file.
Does Specificity Calc work on mobile?
Yes, Specificity Calc is fully responsive and tested on iOS Safari and Android Chrome.
Are my files uploaded to a server when I use Specificity Calc?
Specificity Calc processes everything in your browser using local APIs. Your files never leave your device.
Is Specificity Calc really free?
Yes — Specificity Calc is free for unlimited personal use, with no account required and no watermark on the output.