coderef

Hyphenate limit charsLimited availability

The hyphenate-limit-chars CSS property sets the number of characters in a word before it is hyphenated and the minimum number of characters on either side of the hyphen.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–108Not supported
109+Supportedsince Jan 10, 2023
Current: 155
Edge
12–108Not supported
109+Supportedsince Jan 12, 2023
Current: 154
Firefox
1–136Not supported
137+Supportedsince Apr 1, 2025
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
18–108Not supported
109+Supportedsince Jan 10, 2023
Current: 155
Firefox Android
4–136Not supported
137+Supportedsince Apr 1, 2025
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Safari, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: hyphenate-limit-chars.

Feature detection

CSS · check before using
@supports (hyphenate-limit-chars: initial) {
  /* styles that rely on hyphenate-limit-chars */
}

/* or in JavaScript */
if (CSS.supports("hyphenate-limit-chars", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (2). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
hyphenate-limit-chars109109137✕109137✕
hyphenate-limit-chars.auto109109137✕109137✕