Narrow No-Break Space (U+202F)

Narrow No-Break Space is a thin space that keeps the characters on each side together on one line.

Updated By Milind Sahu How we test

Copy tool
U+202F, 3 bytes

U+202FZs · spacehas width

Need the code?HTML, CSS, JS escapesFind it in text

How we test

An app result is shown only after a hand test on a named app version, with the date. Results older than 120 days are hidden until re-tested.

Read the method →

What is the Narrow No-Break Space used for?

The Narrow No-Break Space (U+202F) is used where two characters must stay together but a full space looks too wide, such as between groups of digits. It is a thin space with no line break on either side. It is whitespace, so trim() removes it, and NFKC turns it into a normal space.

Commonly abbreviated NNBSP and also called the no-break thin space, it is in the General Punctuation block and arrived in Unicode 3.0.

The names list only asks that it be as wide as the thin space, U+2009. The exact width therefore comes from the font, and it varies from one font to the next.

Its line break class is GL, so it glues its neighbors together. Use it where two characters must stay together but a full space looks too wide, such as between groups of digits.

It is category Zs with the White_Space property, so trim() and \s remove it, and NFKC turns it into a normal U+0020.

Watch out for

  • It looks like an ordinary space in many fonts but doesn't match one in search.
  • As whitespace, it is a poor choice for blank names.
  • In UTF-8 it takes 3 bytes (E2 80 AF).

Sources: Unicode names list (NamesList.txt) · Unicode line breaking (UAX #14) · Unicode properties (PropList.txt) · ECMAScript: white space · Unicode normalization (UAX #15) · Unicode blocks (Blocks.txt) · Unicode version each character arrived (DerivedAge.txt) · Unicode character data (UnicodeData.txt) · Computed from the character itself (see Codes and escapes)

Codes and escapes

FormatValueCopy
HTML entity   ·  
CSS \202F
JavaScript / Java \u202F
Python \u202F
URL-encoded %E2%80%AF
UTF-8 bytes E2 80 AF

Properties

Unicode category
Zs (Space separator)
Treated as whitespace
Yes
Width
Takes up space
Unicode name
NARROW NO-BREAK SPACE

Where it works

Not tested yet. Results appear here with the app version and date once each app is tested by hand.

Similar characters

Back to all 13 invisible characters

FAQ

How do I type a narrow no-break space?

To type a narrow no-break space, copy it from the tool above, or write   in HTML and \u202F in JavaScript. It takes 3 bytes in UTF-8, E2 80 AF. Its exact width comes from the font, since Unicode only asks that it match the thin space, U+2009.

What is the difference between a narrow no-break space and a no-break space?

The main difference between a narrow no-break space and a no-break space is width. Both keep their neighbors on one line, but U+202F is meant to be as narrow as a thin space, while U+00A0 is as wide as a normal space. NFKC turns both into a plain U+0020.

Why doesn't my search match text with a narrow no-break space?

Your search doesn't match because a narrow no-break space is a different character from a normal space, even when it looks the same. A search for two words separated by U+0020 won't find them separated by U+202F. Replace it with a normal space, or normalize the text with NFKC.