CSS Selector Extractor
List every selector in a stylesheet in the order it appears, which makes it far easier to see what a file targets and find the rules fighting each other.
100% in your browser — your code never leaves this tab. No sign-up, no limits.
Tools
CSS Selector Extractor
List every selector in orderPaste CSS, drop a file, or
CSS Selector Extractor — Frequently Asked Questions
Opening an unfamiliar CSS file top to bottom is a poor way to understand it, because the structure that matters is not the order of the text but the set of things it targets. A selector list gives you that structure in one pass: which components the file owns, whether it reaches into markup it should not, how deeply it nests, and whether it repeats itself. Ten seconds with the list usually tells you more about whether a stylesheet is well-organised than ten minutes of scrolling.
A few patterns are worth acting on. The same selector appearing many times suggests rules that should be consolidated. Very long descendant chains indicate styles coupled to a specific DOM shape, which will break when the markup changes. Selectors combining IDs with classes point to past specificity fights. And a file whose selectors are all element names rather than classes is usually a global stylesheet that will surprise someone later. None of these is automatically wrong, but each is a reasonable place to look first.
To answer two questions quickly. First, what does this file target — which is what you need when you inherit a stylesheet, evaluate a third-party theme, or work out whether a file is safe to delete. Second, where are the conflicts: when the same selector appears several times in one file, the later rules are overriding the earlier ones, and that is where unexpected styling usually comes from. Source order matters for that, which is why the list preserves it rather than sorting.
Seeing the selectors together makes the shape of the problem visible. Long chains, repeated IDs, and selectors ending in !important are the signatures of a stylesheet where each fix has escalated the previous one, and they cluster around the components that are hardest to restyle. The list will not compute specificity scores for you, but it reliably shows you which parts of a file have become an arms race and therefore where a rewrite pays off most.
No — that requires knowing your markup, and this tool only reads the stylesheet. To find unused CSS, use the Coverage panel in Chrome devtools, which records which rules actually matched while you exercised the page. Treat its output as a starting point rather than a verdict: rules for states you did not trigger during recording, such as error messages or open modals, will look unused when they are not.
Yes. Selectors nested in @media, @supports, and similar at-rules appear in the list alongside top-level ones, in the order they occur. That is deliberate, because responsive overrides are a frequent source of the "why is this style not applying" question — and seeing a selector appear twice, once at the top level and once inside a breakpoint, is often the whole answer.
No. Every one of these tools runs entirely in your browser using JavaScript. Your stylesheet is never uploaded, never logged, and never sent to any server — you can confirm this by opening your browser devtools Network tab while you work, or by disconnecting from the internet after the page loads and watching everything continue to function. That makes it safe to paste proprietary or client CSS.
CSS Tools
Edit CSS against real markup with a live preview, then format it, minify it, sort properties so diffs behave, add the prefixes older engines still want, or pull out every colour and selector a file contains. All of it runs on your own machine.

CSS Editor
Write CSS against real markup and watch every change land in the preview.

CSS Formatter
Turns a minified or inconsistent stylesheet into rules you can read and review.

CSS Minifier
Cuts comments, whitespace and slack from a stylesheet, and counts the bytes saved.

CSS Property Sorter
Alphabetises declarations inside every rule so diffs stop moving around between edits.

CSS Comment Remover
Deletes every comment and leaves the rules exactly as they were.

CSS Vendor Prefixer
Adds the -webkit- and -moz- prefixes older engines still need to apply your rules.

CSS Color Extractor
Pulls every hex, rgb and hsl value out of a stylesheet into one auditable list.

CSS Selector Extractor
Lists every selector in order, which makes it obvious what a file actually targets.

CSS Viewer
Preview a stylesheet against a sample page and judge colour, spacing and layout.

CSS Validator
Catches unbalanced braces, missing semicolons and the property names you misspelled.
Customer Reviews
0 out of 5 stars
Based on 0 reviews
Review data
5 star reviews
- 0%
4 star reviews
- 0%
3 star reviews
- 0%
2 star reviews
- 0%
1 star reviews
- 0%
Share your thoughts
If you've used this tool, share your thoughts with other users
Recent reviews
Latest Articles
Tips, guides, and insights from our blog
How to Create Strong Passwords in 2026: A Simple Guide
Practical tips for creating passwords that actually keep your accounts safe. Covers password security, managers, and two-factor authentication — no fluff.
What is a UUID? Complete Guide to Unique Identifiers
A straightforward look at UUIDs — what they are, how they work, and how to actually use them in your apps.
What is Lorem Ipsum? History, Meaning, and Modern Uses
The 2000-year story of Lorem Ipsum — from Cicero's Latin philosophy to modern web design. Plus why designers still use it and how to generate it yourself.
URL Slugs: The Complete SEO Guide for 2026
What URL slugs are, why they matter for search rankings, and how to get them right. Covers best practices and common mistakes to watch out for.