diagnostic · one of 36 free, no counter
Tailwind theme
Can I get the Tailwind config back out of a built site?
A built Tailwind site ships utility classes and no config. This reads what the page paints - not what a stylesheet declares - groups the values into scales, and writes the result out as a theme. Values that appear once are left out: one use is a one-off, not a scale.
Reach it Press ⌘ + K on any tab and type tailwind theme. Ctrl + K on Windows and Linux
in the panel · free, no counter
What this actually is
reconstruct a tailwind config from a built siteWhen you are rebuilding something, matching a brand you were handed as a URL, or auditing your own site for values that escaped the config. Nothing is rounded and no missing rung is filled in - a system that tidies up the page it came from stops describing it.
Asked about this diagnostic
4 of themDoes it work on a site that does not use Tailwind?
The theme reconstruction does not, and says so rather than producing a config from nothing. The token extraction underneath it works on any page, because that reads computed values instead of class names.
Will the config be identical to theirs?
No, and it cannot be. What is recovered is the part of the theme this page uses; a token defined in their config and never applied leaves no trace in the rendered document.
Is this legal to do?
You are reading the CSS the site sent to your browser, which is the same thing your browser does. What you then build with it is the same question it always was, and no tool answers that one for you.
Which Tailwind version does it assume?
It matches the class names, which are stable across 3 and 4, and exports in the newer @theme form. The older tailwind.config.js shape is available in the same menu.
how to use tailwind theme
- Open Tailwind theme on the built site, where there is no config left to read.
- It reads the class names beside what the page actually paints.
- Read the scales it inferred - spacing, palette, breakpoints. A value used once is left out.
- Export the theme file. Nothing is rounded and no missing value is invented.
written about at length
70 of these · no host permissions · three free audits