Code · Made a little simpler

Font Weight Previewer

See the same text at different weights, check the font’s available range, and copy or download CSS weight declarations.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

DM Sans · Variable weight axis 100–1000 · default 400

  1. 100

    The quick brown fox jumps over the lazy dog.

  2. 200

    The quick brown fox jumps over the lazy dog.

  3. 300

    The quick brown fox jumps over the lazy dog.

  4. 400

    The quick brown fox jumps over the lazy dog.

  5. 500

    The quick brown fox jumps over the lazy dog.

  6. 600

    The quick brown fox jumps over the lazy dog.

  7. 700

    The quick brown fox jumps over the lazy dog.

  8. 800

    The quick brown fox jumps over the lazy dog.

  9. 900

    The quick brown fox jumps over the lazy dog.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Font Weight Previewer: how to use it

  1. Choose DM Sans, Newsreader or Noto Sans Arabic. To inspect your own typeface, open one local font file.
  2. Enter sample text and set a preview size. Enter weights separated by commas or choose Use font weight range to see the minimum, default and maximum.
  3. Compare the rows at the same size. Copy a weight declaration or download the available rows as CSS classes.

Limits and notes

Loads one TTF, OTF, WOFF or WOFF2 font up to 8 MiB, with up to 16 MiB of expanded WOFF2 data. WOFF2 metadata inspection requires browser support for Brotli decompression. Supports up to 12 CSS weights from 1 to 1000 and sample text of up to 300 characters. The CSS export contains weight rules.

How your privacy works →

Font Weight Previewer: common questions

How is the weight range found?

An uploaded variable font can declare a wght axis in its OpenType fvar table. A single-weight font usually declares its weight in OS/2. When those tables provide no weight, the preview reports its 400 assumption.

Why are some rows hidden for Newsreader?

Available weights only filters out requests beyond the selected font’s range. The bundled Newsreader supports 200 through 800.

What does a preview outside the range show?

The browser matches the requested CSS weight to its available faces. The row displays the requested value and marks it as outside the detected range.

Can I preview Arabic text?

Choose Noto Sans Arabic and use the Arabic example or enter your own text. Glyphs missing from the selected font can use a browser fallback.

Guides