Letter-spacing property

Last updated: 2026-09-13

letter-spacing Letter-spacing property

The letter-spacing CSS property sets the spacing between characters in text. Positive values increase the gap and negative values tighten it. It is often used in headings or to improve readability of uppercase English text.

Category
Initial Valuenormal
InheritedYes
Applies To
Animation Type
CSS VersionCSS1
StatusStandard

📝 Syntax

letter-spacing: normal | <length>;

⚙️ Values

ValueTypeDescription
normalKeywordDefault letter spacing
<length>TypeA fixed letter-spacing value

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
letter-spacing v1 v12 v1 v1 v1
Supported in all major browsers
Tip: For all-caps English text, adding 0.05em–0.1em of letter spacing noticeably improves readability.

❓ FAQ

QDoes the letter-spacing property work correctly with Chinese text?
AYes. Adding 0.5px to 1px between Hanzi makes body text feel more airy and headings more designed, but more than 2px breaks the reading rhythm. letter-spacing applies uniformly to all characters, Chinese and English alike.
QDoes the letter-spacing property affect text alignment in justified text?
AYes. The spacing occupies extra width after every character, and with text-align: justify the leftover space is distributed via spacing, so gaps can look uneven. For all-caps English, a modest increase actually improves readability.
QCan the letter-spacing property accept negative values in a CSS rule?
AYes. Negative values pull characters closer together — for example -0.05em tightens large heading text; but too small a value overlaps glyphs and hurts readability. In responsive layouts prefer em, which scales with the font size.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏