Em Space and Long Unicode Spaces
What the em space (U+2003) and other long Unicode spaces are, how to identify them by code point, and when an ordinary space or CSS is the safer choice.
An em space looks like a wide gap, but it is a separate character, not a styled version of the ordinary space. Inserting one changes the stored text. Whether that is useful or harmful depends on where the text goes next. This review explains what the em space and its relatives are, how to identify them by code point, and when an ordinary space or markup is the better choice.
Short verdict
Use an em space when you need a visible, fixed-feeling gap and the destination accepts only plain text, with no CSS, tabs or table structure. A typical case is setting off a label from a value in a plain-text post or a short bio. The main benefit is that the gap travels with the text and is not collapsed the way repeated ordinary spaces are in HTML. The main cost is that the character looks like whitespace but does not behave like an ordinary space. Exact-match search, string comparison, form validation and code can all treat it differently. Prefer ordinary spaces where text will be searched, compared, parsed, typed in again or used as an identifier. Prefer markup or CSS spacing where you control the presentation.
What an em space actually is
EM SPACE is code point U+2003 in the General Punctuation block. Its general category is Zs (space separator), and it has the Unicode White_Space property. Its nominal width is one em, a typographic unit equal to the current font size. Actual rendered width depends on the font. Some fonts have no glyph for it, and the renderer then substitutes a fallback, so the gap can vary from one environment to another.
Inserting an em space is character substitution, not visual presentation. Nothing is reversed, mirrored or restyled, and no font changes. The stored sequence contains U+2003 instead of, or in addition to, U+0020 SPACE. This differs from CSS spacing, such as margin, padding, letter-spacing or word-spacing, which changes only the display and leaves the underlying text untouched. Tools sometimes describe spacing characters as a 'space font', but no font is involved.
The family of long and fixed-width spaces
Unicode defines a set of spaces with nominal widths. The widths below follow the character names and Unicode's descriptions; real widths depend on the font. The line-breaking column states whether a line may wrap at the character under Unicode's line-breaking rules.
| Code point | Name | Nominal width | Line break allowed |
| U+0020 | SPACE | Font's normal word space | Yes |
| U+00A0 | NO-BREAK SPACE | Normal word space | No |
| U+2000 | EN QUAD | Half an em | Yes |
| U+2001 | EM QUAD | One em | Yes |
| U+2002 | EN SPACE | Half an em | Yes |
| U+2003 | EM SPACE | One em | Yes |
| U+2004 | THREE-PER-EM SPACE | One third of an em | Yes |
| U+2005 | FOUR-PER-EM SPACE | One quarter of an em | Yes |
| U+2006 | SIX-PER-EM SPACE | One sixth of an em | Yes |
| U+2007 | FIGURE SPACE | Width of a digit in the font | No |
| U+2008 | PUNCTUATION SPACE | Width of a period in the font | Yes |
| U+2009 | THIN SPACE | Roughly a fifth or sixth of an em | Yes |
| U+200A | HAIR SPACE | Narrower than a thin space | Yes |
| U+202F | NARROW NO-BREAK SPACE | Narrow | No |
| U+205F | MEDIUM MATHEMATICAL SPACE | About two ninths of an em | Yes |
| U+3000 | IDEOGRAPHIC SPACE | Width of a CJK ideograph | Yes |
For a 'long space', the practical candidates are U+2003 EM SPACE and U+2002 EN SPACE, and U+3000 IDEOGRAPHIC SPACE in East Asian text. EM QUAD and EN QUAD are legacy duplicates. Under canonical normalization (NFC or NFD), U+2001 becomes U+2003 and U+2000 becomes U+2002, so many systems store the quads as ordinary em and en spaces anyway.
Identifying the character by code point
Because these characters are blank, visual inspection cannot tell them apart. A code point inspector, or a few lines of code, will show exactly what a string contains. The Python example below uses the standard unicodedata module to list each character with its code point and official name.
import unicodedata
s = "Total:\u200342"
for ch in s:
print(f"U+{ord(ch):04X} {unicodedata.name(ch, '<unnamed>')}")
# Output includes the line:
# U+2003 EM SPACE
In JavaScript, the equivalent check is "\u2003".codePointAt(0).toString(16), which returns "2003". In HTML, the named entity produces U+2003. The entities , and produce U+2002, U+2009 and U+00A0. The numeric reference also produces an em space.
Normalization can silently remove it
U+2002 through U+200A have compatibility decompositions to U+0020. U+3000 and U+00A0 also decompose to U+0020 under compatibility normalization. Any system that applies NFKC or NFKD will therefore turn an em space into an ordinary space. This normalization is common in search indexing, username handling and some text-cleaning pipelines. Whether a specific site or app does this is not documented in the material reviewed here. Test the destination you care about rather than assuming the character will survive.
import unicodedata
unicodedata.normalize("NFKC", "\u2003") == " " # True
unicodedata.normalize("NFC", "\u2001") == "\u2003" # True
Will it stay readable and usable after copying or sharing?
Copying plain text normally copies the code point itself, so an em space usually pastes as an em space. The destination can still change it. A platform may normalize, trim or strip unusual whitespace, or render it with a different width. No scoped tests of particular platforms were available for this review. Treat any claim that 'it works on platform X' as unverified until you test it yourself.
- HTML rendering: CSS whitespace collapsing applies to ordinary spaces, tabs and line breaks, not to U+2003. Repeated em spaces therefore remain visible, which is why people use them for indentation in places that collapse normal spaces.
- Markdown: CommonMark counts only spaces and tabs as indentation. Leading em spaces do not create an indented code block, but they also do not form structure a parser recognizes.
- Trimming and splitting: many standard library functions treat U+2003 as whitespace. Examples are JavaScript's String.prototype.trim and the \s regular-expression class, and Python's str.split() with no arguments. Code that tests only for U+0020, such as a literal space in a pattern, will miss it.
- Matching and search: two strings that look identical can compare as different if one contains an em space. This affects exact-match search, deduplication, spreadsheet lookups and login fields unless the system normalizes first.
- Editing: users cannot easily see or type the character. Someone editing the text later may delete it, or retype an ordinary space, without noticing the difference.
- Line breaking: an em space allows a line break like an ordinary space. If the gap must not split across lines, U+00A0, U+2007 or U+202F is the appropriate choice, not U+2003.
Accessibility considerations
Spacing characters carry no meaning, so the main accessibility risk is structural rather than spoken. Em spaces used to fake columns or align a label with a value can look tidy in one font. They fall out of alignment in another font, at a different zoom level, or when text reflows on a narrow screen. A screen reader reads the content in stored order and receives no table relationships, so the visual grid is lost. How specific screen readers announce or skip U+2003 was not covered by the available evidence. Do not rely on any particular behavior without testing it in the assistive technology your audience uses.
If the spacing conveys structure, express that structure directly: a real table, a list, or labeled fields. If the spacing is purely decorative and you control the markup, use CSS margin or padding and keep ordinary spaces in the text.
When plain text is preferable
- Source code, configuration files and data formats, where an unexpected whitespace character can cause hard-to-find parsing errors.
- Usernames, email subjects, product codes, hashtags and anything else that will be matched, searched or typed in again.
- Alignment and tabular layouts, which belong in tables, tab stops or CSS.
- Content you need to look the same everywhere, because font support and normalization differ between destinations.
- Shared drafts that others will edit, because the character is invisible and easy to lose.
Open questions this review cannot settle
The available evidence did not include tests of specific social platforms, messaging apps, search engines or screen readers. It is therefore not possible to say here which destinations keep, normalize or strip em spaces, or how each assistive technology handles them. The code-point details, normalization mappings, HTML entities and CSS collapsing rule described above are documented Unicode, HTML and CSS behavior. Behavior in a specific destination should be confirmed by pasting a test string there and inspecting the result by code point.