CSS letter-spacing Property Explained

What the CSS letter-spacing property does, with an example.

Published November 6, 2026

letter-spacing adds or removes space between characters. Use small values: slightly positive for uppercase labels, slightly negative for large headings.

How it works

Prefer em units so spacing scales with font size. Avoid on body text, which hurts readability.

Ligatures are disabled when letter-spacing is non-zero.

Values and effects

letter-spacing: 0.05em; → uppercase labels
letter-spacing: -0.02em; → large headings
letter-spacing: normal; → default

Practical examples

Uppercase label

.label { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }

Tight heading

h1 { letter-spacing: -0.02em; }

Reset

.reset { letter-spacing: normal; }

Common mistakes

  • Large positive spacing on body text.
  • Using px so it doesn't scale.
  • Forgetting it also adds trailing space after the last letter.

Key takeaways

  • letter-spacing in one line: letter-spacing adds or removes space between characters.
  • Inspect it live in DevTools → Styles.
  • Test across browsers and screen sizes.

FAQ

em or px?

em scales with the font size, which is usually what you want.

Is letter-spacing supported in all browsers?

Yes in all modern browsers; check caniuse.com for edge cases.

More CSS articles