CSS Font Shorthand Builder

Validate and assemble bounded CSS font shorthand source.

Scope: The generated declaration is inert text and does not load a font, inspect availability, or guarantee browser rendering.

Workbench

Inputs stay on this page.

Restricted escaped CSS source only. No font is loaded or rendered.

How to use CSS Font Shorthand Builder

  1. Fill in the fields:

    • Style: normal, italic, oblique.
    • Variant: normal, small-caps.
    • Weight: normal, bold, 100, 200, 300, 400, 500 and 4 more.
    • Stretch: normal, condensed, expanded.
    • Font size (px): 0.1 to 10,000.
    • Line-height multiplier: 0.1 to 20.
    • Font families, one per line.
  2. Press “Build font shorthand”.

  3. Copy the result, or download it as font-shorthand.json.

About this tool

Validate and assemble bounded CSS font shorthand source.

Restricted escaped CSS source only. No font is loaded or rendered.