U+200D · General Punctuation
Zero width joiner: how to type this invisible character
Copy it with one click. It has no Alt code or Option-key shortcut; Word’s Alt + X and the codes below work everywhere.
- WindowsNo Alt code. Use Word’s Alt + X, Character Map, or copy it here.
- MacCtrl+⌘ Cmd+Space Character Viewer, then search
- Word200DthenAlt+X
- iPhoneNo long-press for it. Copy it here.
- HTML
‍or‍
Every way to type it
Only methods that exist on that system are shown as shortcuts.
Windows no Alt code
There is no Alt code for this character. Open Character Map (charmap), tick Advanced view, search “zero width joiner”, then Select and Copy. Or use Word’s Alt + X below.
Mac Character Viewer
No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “zero width joiner” and double-click it.
Microsoft Word Alt + X
Type 200D, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “zero width joiner”, or paste it from here.
iPhone and iPad copy
Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).
Android symbol pages
Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.
Linux Unicode input
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How zero width joiner is stored in UTF-8
3 bytes (24 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| HTML entity | ‍ | |
|---|---|---|
| Unicode | U+200D | |
| HTML decimal | ‍ | |
| HTML hex | ‍ | |
| CSS content | \200D | |
| JavaScript | \u200D | |
| JSON | \u200d | |
| Python | \u200d | |
| UTF-8 bytes | E2 80 8D | |
| UTF-16 | 200D | |
| URL encoded | %E2%80%8D | |
| Python name | \N{ZERO WIDTH JOINER} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name ZERO WIDTH JOINER
- Category Format character (Cf)
- Block General Punctuation
- Note commonly abbreviated ZWJ
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| WJ | Word joiner | U+2060 | – |
| ZWN | Zero width non-joiner | U+200C | – |
| ZWS | Zero width space | U+200B | – |
| HS | Hair space | U+200A | – |
| TS | Thin space | U+2009 | – |
| ES | Em space | U+2003 | – |
Questions
Is there an Alt code for zero width joiner?
No. Zero width joiner (U+200D) is not in code page 437 or 1252, so Alt + numpad codes cannot type it. In Word type 200D and press Alt + X, or copy it from this page.
How do I type zero width joiner on a Mac?
Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.
What is the HTML code for zero width joiner?
Use ‍ or ‍ (decimal) or ‍ (hex).
Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.