Zero Width Text Generator
Hide secret messages inside normal-looking text using invisible zero-width characters
Conceal a message inside normal-looking text
Text steganography hides one message inside another. This generator attaches your secret to a visible sentence using characters that display as nothing. The result looks identical to the cover text you typed, but it carries a hidden payload that the Zero Width Text Decoder can read back.
Creating hidden text
- Type the sentence that people will see in Visible Text (The Cover). If you leave it empty, the tool uses the words Hidden Message.
- Enter the message you want to conceal in Secret Message (To be hidden). Nothing is generated if this box is empty.
- Click Generate Hidden Text.
- Press Copy Hidden Text and paste it wherever you want to place it.
Changing either box hides the previous output so you do not copy an outdated version.
How the encoding works
Each character of the secret is converted to its numeric code and written as binary, padded to at least eight digits. A zero bit becomes a zero width space, a one bit becomes a zero width non-joiner, and a zero width joiner separates one letter from the next. The whole invisible string is placed after the end of the cover text. Every hidden letter therefore costs roughly nine invisible characters, so a long secret produces a long, though still invisible, tail.
Where it fits
- Adding a hidden marker to your own text so you can later tell whether a copy came from you.
- Puzzle hunts, escape rooms and classroom demonstrations of steganography.
- Embedding a short note in a caption or bio as a playful easter egg for friends who know how to decode it.
- Testing how a form or app deals with invisible Unicode.
What to expect
- The hidden data is fragile. Many platforms remove zero-width characters when you post, copy or sanitize text, and the secret disappears with them.
- It is obscured, not encrypted. Anyone who knows the scheme, or uses a decoder, can read it. Do not hide passwords or private information this way.
- Text editors that show invisible characters, or a character counter, will reveal that something extra is present because the length grows.
- Non-Latin letters and emoji have larger character codes and produce longer hidden strings.
- Do not use it to deceive people or evade rules on a site.
Generation runs entirely in JavaScript inside the page.
Related Articles
Related Tools
Re