Skip to main content
I
Uni
UNICODE
Tools/Whitespace Normalizer

Unicode Whitespace & Special Space Normalizer

Inspect, detect, and convert all 20+ specialized Unicode space characters (NBSP, Em Space, Thin Space, Hair Space, CJK Fullwidth) into clean standard ASCII spaces.

7Non-Standard Spaces Found
50Total Characters
6Total Whitespace Count
63 BUTF-8 Size

Detected Non-Standard Unicode Spaces Breakdown (7)

Below is the list of specialized typographical, non-breaking, or fixed-width spaces found inside your text.

PositionCodepointCategoryRelative WidthCharacter Name
#7U+00A0Non-BreakingNormal (1/3 em)NO-BREAK SPACE (NBSP)
#12U+2003Typographic Proportion1 emEM SPACE (Mutton)
#18U+2007Tabular / MonospaceDigit widthFIGURE SPACE
#23U+3000East Asian CJK2 em (Fullwidth)IDEOGRAPHIC SPACE (Fullwidth)
#33U+2009Thin Spacing1/5 or 1/6 emTHIN SPACE
#37U+200AThinnest Space1/10 to 1/16 emHAIR SPACE
#42U+200BZero-Width0 px (Invisible)ZERO WIDTH SPACE (ZWSP)

The Typographical Taxonomy of Unicode Whitespace Characters

While keyboard spacebars produce only the standard ASCII Space (U+0020), the Unicode Standard defines more than 20 distinct whitespace characters. Inherited from centuries of hot-metal typesetting, these characters allow precise horizontal spacing in book publishing, mathematical notation, and East Asian calligraphy.

However, in web applications, programming languages, and databases, non-standard spaces frequently cause catastrophic failures. A Non-Breaking Space (U+00A0) copied from Microsoft Word or a web page looks identical to a standard space, but causes syntax errors in JavaScript and Python, breaks JSON deserializers, and prevents database equality lookups. Normalizing these characters back to standard ASCII ensures clean, bug-free data processing.

Overview of Key Typographical Spaces

Em Space (U+2003) & En Space (U+2002):Proportional to font size (1 em = capital M width; 1 en = 1/2 em capital N width).
Figure Space (U+2007):Matches the exact tabular width of digits 0–9 for aligned accounting numbers.
Thin Space (U+2009) & Hair Space (U+200A):Used around em-dashes and mathematical operators for subtle typographic breathing room.
Ideographic Space (U+3000):Fullwidth square space matching the geometry of Chinese, Japanese, and Korean characters.

Frequently Asked Questions (FAQs)

Why does copying text from web pages inject unwanted non-breaking spaces (NBSP)?+

Web designers often use   (U+00A0) in HTML to prevent titles or price tags from awkwardly wrapping onto new lines. When highlighted and copied, the NBSP character is copied into your clipboard instead of a normal space.

How does regex \s handle Unicode whitespace characters?+

In JavaScript (with the /u flag), Python, and modern PCRE engines, \s matches all standard and non-standard Unicode whitespace characters. However, legacy ASCII regexes only match 0x20, tab, newline, and carriage return.

Can this tool remove multiple consecutive blank lines?+

Yes! Use the "Collapse Multiple Spaces" button to turn repeated spaces and tabs into single clean spaces.