Technical information

Symbol
NameZero width space
Unicode numberU+200B
CategorySpace symbols
DescriptionThe Unicode character U+200B, known as "Zero Width Space", is part of the "General Punctuation" block. This character is categorized under "Format, Other". As its name suggests, it represents an "invisible" space with zero width. It doesn't produce any visible mark and doesn't consume any horizontal space. It is used for a number of purposes, such as enabling line breaks within long words or URLs where normally there wouldn't be an appropriate place to break the line. It can also be used to separate characters that should not be connected or ligated by the rendering engine, or to insert a potential line break point in a string of non-breaking spaces. This special character plays a role in managing and controlling the appearance and layout of text, and its specific usage can depend on the context.

Encoding

HTML Entity​
HTML Entity (hex)​
HTML Entity (named)
URL Escape Code%E2%80%8B
UTF-8 (hex)0xE2 0x80 0x8B
UTF-8 (binary)11100010:10000000:10001011
UTF-160x200B
UTF-320x0000200B

Source Code

C, C++, and Java"\u200B"
CSS Code\200B
JavaScript"\u200B"
Perl\x{200B}
Python 2u"\u200B"
Python 3\u200B
Ruby\u{200B}

Preview

This Unicode character looks like this ​ in sentence and in bold like this and in italic like this .

Font size:

12px
16px
20px
28px
36px
48px
72px

CSS Property: font-weight

100
200
300
400
500
600
700
800
900

HTML Forms and Input

input
disabled input
input-group
select
button
button

Code examples in HTML and CSS

<span>&#8203;</span>

            
span {
    content: "\200B";
}

The symbol in different fonts

-apple-system
Apple Color Emoji
Arial
BlinkMacSystemFont
Courier New
Georgia
Droid Sans
Helvetica
Noto Sans
Oxygen
Roboto
"Segoe UI"
sans-serif
Segoe UI Emoji
Segoe UI Symbol
system-ui
Times New Roman
Ubuntu
Verdana

References