Skip to content
LovelyTools
EN

Type Scale Generator

Build a modular type scale with fluid clamp() sizes for every screen.

Processed locally on your device — nothing is uploaded.

About the Type Scale Generator

Good typography uses a consistent scale: each heading size is the previous one multiplied by a ratio such as 1.25 (a major third) or 1.618 (the golden ratio). This tool builds that scale for you and, if you like, makes it fluid — sizes grow smoothly from small to large screens with CSS clamp(), so you need no breakpoints.

Set the base size and ratio for large screens, a smaller base and ratio for phones, and the two screen widths. You get CSS custom properties for every step, a preview of real text and a table of exact sizes.

How to use the Type Scale Generator

  1. Set the base size and ratio for large screens.
  2. Turn on fluid type and set the small-screen values.
  3. Copy the CSS variables.

Features

  • Eight classic ratios
  • Fluid clamp() values
  • Separate mobile ratio
  • Live specimen
  • CSS custom properties

Supported formats

  • CSS
  • SVG preview

Frequently asked questions

Does clamp() respect user font size?

Yes — the values use rem, so text still grows when people enlarge their browser’s default font size.

Is my text sent anywhere?

No. Everything runs in your browser, so nothing you paste is uploaded or stored.