Typography

font-weight to Tailwind

Numeric weights map to names, so font-weight: 600 becomes font-semibold.

The 9 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for font-weight.

font-weight values and their classes

CSSTailwind
font-weight: 100;font-thin
font-weight: 200;font-extralight
font-weight: 300;font-light
font-weight: 400;font-normal
font-weight: 500;font-medium
font-weight: 600;font-semibold
font-weight: 700;font-bold
font-weight: 800;font-extrabold
font-weight: 900;font-black

Values that are not on the scale

Anything without a named class is written as an arbitrary value in square brackets. The converter falls back to this rather than rounding your CSS to the nearest class, because silently changing a value is worse than an ugly class name.

font-[your value]

Other typography properties

Converting a whole stylesheet?

Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.

Open the converter