CSS to Tailwind
Paste CSS rules below.
Paste CSS rules and convert each declaration into Tailwind utility classes. Spacing, colors, typography, flexbox and layout map automatically, with notes for anything unmapped.
Paste CSS rules below.
Each declaration is matched against a mapping table: display flex becomes flex, margin 16px becomes m-4, font-weight 700 becomes font-bold. Hex colors use Tailwind arbitrary values like bg-[#ffffff], and anything without a utility equivalent is listed in an HTML comment so nothing is silently dropped.
Migrating a legacy stylesheet to Tailwind usually means translating hundreds of declarations by hand. Converting rule by rule here gives you a starting class list for each component, which you can paste into your markup and refine.