Type Scale Generator
Modular typography scale with CSS variables and preview.
Free online type scale generator by AIML Digital. It runs 100% in your browser: no sign-up, no limits, and nothing you enter is sent to a server.
Formulas
Size(step) = Base × Ratioˢᵗᵉᵖrem = px ÷ 16
How it works
- Steps −2 … +6 around the base size, output as CSS custom properties.
Frequently asked questions
Is the Type Scale Generator free?
Yes. The Type Scale Generator by AIML Digital is completely free, with no sign-up, no limits and no watermark.
Is my data sent anywhere?
No. The Type Scale Generator runs entirely in your web browser using JavaScript. What you type stays on your device.
What formula does the Type Scale Generator use?
Size(step) = Base × Ratioˢᵗᵉᵖ; rem = px ÷ 16.
How does the Type Scale Generator work?
Steps −2 … +6 around the base size, output as CSS custom properties.
Does the Type Scale Generator work on mobile?
Yes. It works in any modern browser on phone, tablet or desktop, and keeps working offline once loaded (except tools that load a helper library the first time).
More Design tools
- Color Picker & Converter — Pick and convert HEX, RGB, HSL, HSV, CMYK and OKLCH.
- Gradient Generator — Build linear, radial and conic CSS gradients visually.
- Palette Generator — Harmonious color palettes from one base color.
- Box Shadow Generator — Layered CSS box-shadows with a live preview.
- Border Radius Generator — Per-corner border-radius CSS, including blob shapes.
- Contrast Checker — WCAG 2 contrast ratio with AA/AAA pass-fail and fixes.
- PX ⇄ REM Converter — Convert pixels to rem/em and back, with a reference table.
- Glassmorphism Generator — Frosted-glass CSS cards with blur, tint and border.