Letter Spacing Tool
Calibrate letter spacing, word spacing and line height with live preview and preset styles.
① Adjust letter spacing, line height and font size ② Preview the result live ③ Copy the CSS values
Typography is the art and technique of arranging type. Good spacing creates rhythm, hierarchy, and visual comfort for the reader.
letter-spacing: 0em; word-spacing: 0em; line-height: 1.6; font-size: 16px; font-weight: 400; font-family: DM Sans, sans-serif; text-transform: none;
What is letter-spacing in CSS?
The CSS letter-spacing property controls the horizontal space between individual characters (also called tracking in print typography). It accepts positive or negative values in px, em, or rem. Using em units is generally preferred because the spacing scales proportionally when the font-size changes — a letter-spacing of 0.05em on a 16px font equals 0.8px, but on a 32px heading it becomes 1.6px automatically.
The word-spacing property adds or removes space between words, while line-height defines the vertical rhythm — the distance between baselines. Together these three properties control the density and readability of your text. WCAG 1.4.12 (Text Spacing) requires that no loss of content occurs when letter-spacing is set to at least 0.12em, word-spacing to 0.16em, and line-height to 1.5 — so always test your designs against these thresholds.