Pull every CSS custom property out of a stylesheet with the selector it was declared in, its line, an inferred type and a swatch for colour values.
Waiting for a stylesheet
Paste CSS. Every declaration with a leading -- is picked up, along with the selector it was declared in.
The tokens appear here
Every custom property with its scope, line, inferred type and a swatch where the value is a colour.
CSS Variable Extractor runs entirely on your device — nothing is uploaded.
You’re on the Free plan. Compare plans
Most variable extractors return a flat list of names and values, and in doing so throw away the single most useful fact about a token system: which selector each one was declared in. The same name in `:root` and again in `[data-theme="dark"]` is a theme. The same name twice in `:root` is probably a bug. A flat list makes those two indistinguishable.
So scope is kept and reported. Redefinitions are listed with every selector they appear in, and the tool does not call either case an error, because it cannot tell from the CSS alone which one it is looking at. What it can do is put the facts next to each other so you can.
The type beside each value is an inference and labelled as one everywhere it appears. `--spacing-base: 0` is a dimension to a person and a plain number to anything that reads the text, and no amount of pattern matching settles that without knowing what the token is for. Colour values get a swatch, which is the one inference worth rendering, and a value that is a `var()` reference gets no swatch at all rather than a confident wrong one.
`var()` references pointing at names this stylesheet never declares are listed too. That is usually nothing — the name is declared in another file — but it is occasionally the reason something is falling back to nothing, and it is cheap to see. Nothing is fetched: it reads the CSS you paste, does not follow `@import` and does not inspect a live page.
Because that is what tells a theme from a duplicate. The same name in :root and in a dark-theme selector is deliberate; the same name twice in :root is probably not. Flattening the list loses the distinction entirely.
They are a guess from the value's shape and are labelled as one. A bare 0 could be a length or a number and the CSS does not say. Colours are the one case confident enough to render a swatch for.
A var() pointing at a name this stylesheet never declares. Usually it is declared in another file and this is nothing. Occasionally nothing declares it anywhere, in which case the property falls back to its initial value or is dropped.
No. It reads only the CSS you paste — no network requests, no imports followed, no live page inspected. Variables declared in another file are not here.
No. It is parsed in your browser and never leaves the page, which is what makes it safe for a proprietary design system.