Zero Width Space

Shortcodes

Copy and paste codes for Zero Width Space symbol ​ to use in your websites, apps, blogs, and more.

Unicode
U+200B
HTML Code
​
HEX Code
​
CSS Code
\200B
JS/JSON
\u200B
Unix/C/PHP/JAVA
0x200B
URL-encode
%E2%80%8B
copied

Customize ​ Symbol

Customize ​ symbol as you like and download Zero Width Space as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
 

How to type Zero Width Space symbol ​ ?

  • You can try inserting Zero Width Space symbol using these system tools:
    • Mac Character Viewer (Control + Command + Space)
    • Windows Emoji/Symbol Picker (Win + .)
    • Windows Character Map (charmap.exe)
  • Note: These tools may not include all Unicode symbols
  • Copy and paste the ​ symbol directly from this website.
  • Use provided codes for Zero Width Space symbol where they are supported.

How to add Zero Width Space symbol in HTML, CSS, and JS?

HTML Methods:

1. Direct Symbol:
<span>​</span>
2. HTML Decimal Code:
<span>&#8203;</span>
3. Hexadecimal Code:
<span>&#x200B;</span>
Preview:

CSS Method:

.symbol::before {
    content: '\\200B';
}
Preview: Symbol

JavaScript Methods:

1. Direct Symbol:
document.querySelector('.symbol').textContent = '​';
2. Unicode Escape:
document.querySelector('.symbol').textContent = '\u200B';
Preview: