Line Separator vs Space

Compare two Unicode characters side by side — encodings, HTML entities, escape sequences, and Unicode properties. Useful for distinguishing visually similar characters like hyphens and dashes, quotation marks, or homoglyphs.

vs

Line Separator

U+2028

Space

U+0020

Property Comparison

Property Line Separator Space
Codepoint U+2028 U+0020
Decimal 8232 32
HTML Entity 
  
HTML Decimal 
  
HTML Hex 
  
UTF-8 E2 80 A8 20
UTF-16 20 28 00 20
UTF-32 00002028 00000020
CSS Escape \2028 \20
JS Escape \u2028 \u0020
Python Escape \u2028 \u0020
URL Encoded %E2%80%A8 %20
Category Line Separator (Zl) Space Separator (Zs)
Block General Punctuation Basic Latin
Script Common Common
Bidi Class WS WS
Unicode Version 1.1 1.1
Rows highlighted in amber differ between the two characters.