Character Code
HTML Non-Breaking Space Code
Three ways to write this character in HTML — pick whichever your project already uses, copy it, and paste it straight into your markup.
␣
Non-breaking space (U+00A0) — shown here as a visible marker
Named entity — most common, keeps two words together
 
Decimal — numeric reference
 
Hex — hexadecimal reference
1How To Use
Follow these steps — no coding experience needed.
- Pick a formatNamed entities are the easiest to read in source code; decimal and hex work identically in every browser.
- Click CopyEach variant has its own copy button — no need to select text manually.
- Paste into your HTMLDrop it directly into your page text, exactly where the symbol should appear.
2Example Output
What this code looks like once it's on a real page.
10 km away — the number and unit never wrap onto separate lines.
3Browser Compatibility
| Browser | Support | Notes |
|---|---|---|
| Chrome | ✓ Supported | Full support |
| Firefox | ✓ Supported | Full support |
| Safari | ✓ Supported | Full support |
| Edge | ✓ Supported | Full support |
| Opera | ✓ Supported | Full support |
| Mobile browsers | ✓ Supported | Full support, iOS & Android |
Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.
→Related Pages
More tools that pair naturally with this one.