QuickFreeTools

Online HTML Code Space

Get the HTML entity and character codes for non-breaking space and regular space. Copy for HTML, XML, or web content.

Space characters — copy the form you need.   prevents line breaks.

  • Non-breaking space
     
  • Decimal (nbsp)
     
  • Hex (nbsp)
     
  • Regular space (decimal)
     

Frequently Asked Questions

What is the HTML entity for space?
  (non-breaking space) or   (regular space).   prevents line breaks.
When should I use  ?
Use   when you need a space that should not break across lines (e.g. between number and unit).
What about multiple spaces?
HTML collapses normal spaces; use multiple   or CSS (e.g. white-space) for visible multiple spaces.

Related Developer Tools