Convertidor Clases Tailwind
Convierte declaraciones CSS en clases de utilidades Tailwind y viceversa usando valores de escala de Tailwind v4. Expande shorthand de padding y margin, recurre a valores arbitrarios fuera de escala y lista todo lo que no pudo convertirse.
🔒 Esta herramienta funciona totalmente en tu navegador. Tus archivos nunca se suben a un servidor.
Line by line
| Input | Result |
|---|
Values come from the Tailwind v4 default theme, read from the installed version rather than typed from memory. If your project customises its theme, the class names are right but the numbers may not be — and v3 differs from v4 on several scales, most noticeably border radius. Nothing is uploaded.
How Convertidor Clases Tailwind works
- Open Convertidor Clases Tailwind and review the example state before entering your own values.
- Enter or select the information needed for Convertidor Clases Tailwind.
- Review the result and adjust the inputs if you want to compare another case.
Converts CSS declarations to Tailwind utility classes and back, using scale values read from Tailwind v4 itself. Expands padding and margin shorthand, falls back to arbitrary values off the scale, and lists anything it could not convert instead of discarding it. The interactive workspace runs in your browser, so you can review the result without creating an account.
FAQ
What is Convertidor Clases Tailwind used for?
Converts CSS declarations to Tailwind utility classes and back, using scale values read from Tailwind v4 itself. Expands padding and margin shorthand, falls back to arbitrary values off the scale, and lists anything it could not convert instead of discarding it.
Do I need an account?
No. The tool is available directly in the browser without an account or sign-up.
What should I do if the result looks unexpected?
Check the entered values and compare them with the guidance shown in Convertidor Clases Tailwind. Use the result as a planning aid and verify important decisions independently.