What a utility class really does
Tailwind hides plain CSS behind short names. p-4 is padding of 1rem. flex-col is flex-direction: column. That's handy while you build, and a puzzle when you need the raw CSS. Paste a string of classes here and the converter shows the equivalent rules.
It's useful when you're moving a component out of a Tailwind project, handing styles to someone who doesn't use it, or learning what a class does underneath.
Variants and dark mode
Prefixes like md: and lg: turn into media queries. hover: and focus: become pseudo-class selectors. dark:bg-gray-800 turns into a dark selector rule with the matching color. The output groups these so you can read them in order.
If a class can't be resolved, the tool warns you instead of dropping it silently. A typo like bg-gray-8000 would otherwise vanish.
Custom config and plugins
The converter uses Tailwind's default theme. Custom colors or spacing from your config file won't resolve, because the tool can't see your project. Plugins like forms or typography add rules it doesn't include either.
For those, take the output as a base and fill in your own values. Version differences exist too, since Tailwind's newer releases changed some defaults. Check anything important against your build.
Whole files
It works on class strings, not full HTML documents. Copy the class attribute value from each element and convert one element at a time. For bigger jobs, running Tailwind's own build gives exact output.
Good habits
Read the output, then clean it up. Remove rules you don't need and group repeated values into CSS variables. Your classes stay in your browser.
Why convert at all
You might be moving a component into a project without Tailwind, writing an email template or learning what a utility class really does. Seeing the plain CSS removes the mystery. flex items-center gap-4 becomes display flex, align-items center and a gap of 1rem.
Responsive prefixes become media queries and dark: becomes a dark mode selector. Hover and focus states become pseudo-classes.
Limits to know
Custom classes from a config file, plugin utilities and arbitrary values may not resolve. The tool flags what it can't convert so you can fill the gaps by hand. Always review the output before you paste it into production.