Developer
Tailwind CSS Converter
Paste Tailwind classes to get plain CSS, or paste CSS to get the matching Tailwind classes.
Preparing tool
How to use Tailwind CSS Converter
- Paste Tailwind classes or CSS. The direction is detected, or you can choose it.
- Pick separate rules or one merged rule, and read the notes for anything that was not on the default scale.
- Copy the result or download it.
What are the limits of Tailwind CSS Converter?
Covers the common core of Tailwind's default theme (spacing, sizing, layout, flex, grid, text, borders, radius, shadow, opacity, transitions and the gray, red, blue and green colour scales), not every utility or plugin, and not custom themes. Colours use the classic hex palette; newer Tailwind versions use OKLCH values that look almost the same. CSS that has no matching class becomes an arbitrary value like w-[13px]. Your text stays on your device.