Invisible & Whitespace Characters

Non-Breaking Space

A normal-width space that never wraps to the next line.

 
Unicode
U+00A0
HTML entity
 

Try Non-Breaking Space

Edit the text, then change the font and size.

Preview
Paste it here:  
Font
28px

About this entry

What it is

A normal-width space that never wraps to the next line.

Keeping numbers with units, or names on one line.

Copy & use

How to copy and use non-breaking space

  1. 01

    Copy the complete value

    Use the copy button above so the value is captured without its label, description or surrounding page text.

  2. 02

    Paste it where you need it

    Keeping numbers with units, or names on one line.

  3. 03

    Check the final result

    Apps may trim, reject or normalise invisible characters to prevent abuse. A character that works in one profile field may disappear in another, and moderation systems can change without notice.

Behaviour

How non-breaking space behaves

You cannot see whether this character arrived, so the properties that matter are the ones you can test for.

Width
The width of a normal space.
Line breaking
Explicitly forbids a break, which is its whole purpose. Use it between a number and its unit, or a name and its initial, so they never separate across lines.
How software treats it
The most widely understood character here, with its own HTML entity. Copying from a web page often brings unintended ones along, which is a common cause of string comparisons failing for no visible reason.
How to check it worked
Narrow the window until the text wraps. If the two words either side stay together, it is present and working.

Common questions

Using non-breaking space

What is non-breaking space?

A normal-width space that never wraps to the next line. Keeping numbers with units, or names on one line.

What is the code point for non-breaking space?

Non-Breaking Space is Unicode U+00A0, written as   in HTML. The code point is what makes the character stable: it stays the same wherever the text is pasted, even when a different font draws it at another weight or width.

Will non-breaking space work everywhere?

Apps may trim, reject or normalise invisible characters to prevent abuse. A character that works in one profile field may disappear in another, and moderation systems can change without notice.

Can I customise non-breaking space after copying?

You can add a short label, repeat compatible symbols or trim the design to fit. Keep important spaces, line breaks and uncommon Unicode characters intact while editing.

Also known as

non breaking spacenbsphard space

Keep browsing

More invisible & whitespace characters