ZERO WIDTH SPACE vs ZERO WIDTH JOINER

ZERO WIDTH SPACE
U+200B
View details →
ZERO WIDTH JOINER
U+200D
View details →
VS

Property Comparison

Property ​ U+200B ‍ U+200D
Name ZERO WIDTH SPACE ZERO WIDTH JOINER
Block General Punctuation General Punctuation
Script Zyyy Zinh
Category Format (Cf) Format (Cf)
Bidirectional BN BN

Encoding Comparison

Format U+200B U+200D
unicode U+200B U+200D
decimal 8203 8205
htmldecimal ​ ‍
htmlhex ​ ‍
css \200B \200D
javascript \u{200B} \u{200D}
python \u200b \u200d
java \u200B \u200D
go \u200B \u200D
ruby \u{200B} \u{200D}
rust \u{200B} \u{200D}
ccpp \u200b \u200d
urlencoded %E2%80%8B %E2%80%8D
utf8bytes e2 80 8b e2 80 8d
utf16bebytes 20 0b 20 0d
utf32bebytes 00 00 20 0b 00 00 20 0d

How to Distinguish

Both characters are in the General Punctuation block but use different scripts: ZERO WIDTH SPACE uses Zyyy, while ZERO WIDTH JOINER uses Zinh.

Tip: Paste the character into a hex editor or use charCodeAt() in JavaScript to check the actual codepoint.

Related Comparisons

​ ZERO WIDTH SPACE details ‍ ZERO WIDTH JOINER details All Comparisons