Zero-Width Text Steganography

Hide secret messages in plain text using invisible characters

Overview

Zero-Width Text Steganography does two jobs in your browser: it reads the messages hidden in a piece of text, and it hides a message of your own inside ordinary text. Nothing you type or paste leaves the page.

How to decode zero-width text

  1. Paste the text into Text to check. The box opens with a sample so you can see the result first; the first click selects the sample, so a paste replaces it, and the Paste button reads your clipboard when the browser allows it.
  2. Read the Hidden message panel. Every hidden message gets its own panel, in the order it appears in the text.
  3. Press Copy on the message you want.

The tool tries the schemes in circulation, so text from other zero-width tools works too:

SchemeInvisible characters usedHow it reads
Binary zero-width text (this tool's own format and most others)Any two invisible characters stand for 0 and 1, most often U+200B, U+200C, U+200D, U+2060 and U+FEFF; a third one may separate the lettersGroups of 8, 7 or 16 bits, read as UTF-8 or as character codes. Both ways round are tried
Unicode tag characters ("ASCII smuggling")U+E0020 to U+E007E; the start tag U+E0001 and the cancel tag U+E007F are skippedEach tag character is the ASCII letter with the same low code
Variation selectorsU+FE00 to U+FE0F and U+E0100 to U+E01EFOne byte per selector, read as UTF-8

Below the messages, Visible text shows the text without the invisible characters, with a numbered marker where each message sat, and Copy without invisible characters copies that clean text, so it also works as a zero-width character remover. The list under it names every invisible character found, such as U+200B ZWSP ×12. Turn on Show invisible characters to see your text with every invisible character drawn as a mark: · for U+200B, ○ for U+200C, ● for U+200D, ◇ for U+FEFF, ▫ for U+2060, ▪ for a tag character and ◆ for any other.

If the text holds invisible characters but nothing readable, the tool says so and still lists them: they may be ordinary formatting marks (soft hyphens, bidi marks) or a scheme the tool does not know. A joiner inside an emoji (a family, a heart on fire) or a variation selector after an emoji belongs to that emoji: it stays in the clean text and is not counted. If it holds none, the text probably passed through a chat app, a form or a social site that removes them before it reached you.

Text hidden with earlier versions of this tool, which wrote Morse code in U+200C (dot), U+200D (dash) and U+200B (separator), still decodes here. Those messages come back in upper case because that scheme never kept the case. A message of a single letter is read only when it sits between other text.

How hiding works

Switch to Hide text, write the Visible text and the Secret message, and copy Text to send. The text looks exactly like the visible text you wrote, and the line under it says how many invisible characters were added.

  • The secret is stored as UTF-8, so case, double spaces, line breaks, emoji and Chinese, Japanese or Spanish characters all survive.
  • Each byte becomes 8 invisible characters: U+200C for 0 and U+200D for 1, so a long secret makes a long invisible run.
  • The run goes right after the first word of the visible text (at the end when it is a single word), so trimming the ends of the text or selecting a word by double click does not remove it. If the visible text already has invisible characters at that spot, the run goes to the next spot with none beside it, so it never merges with them.

Hiding don't in I love you gives a 50-character text: 10 visible characters and 40 invisible ones. Anyone can read the result by pasting it into this tool, and tools that read binary zero-width text will read it too. Check it survives loads the finished text into Reveal hidden text, so you can paste back what a chat app returned and see whether the secret is still there.

Messages made before this version used the Morse scheme above. They still decode here, but new messages use the binary scheme, so a recipient who only has an old copy of the tool will not read them; send them to this page.

The address keeps the tab: ?mode=hide opens Hide text.

Platforms That May Strip Zero-Width Characters

The hidden data survives copy-paste through most plain-text environments, but some systems remove invisible characters:

  • Rich text editors (Google Docs, Notion): may strip non-printing characters on paste
  • Plain-text form fields and databases: some sanitize non-printable characters
  • Certain social platforms: some backends clean zero-width characters from posts
  • Code formatters: lint and format tools may remove zero-width characters from strings

Test in your target platform before assuming the hidden data will survive.

Concealment, Not Encryption

Zero-width steganography provides concealment, not encryption. Anyone who knows this technique, or who uses any Unicode analyzer, can read the hidden content. Detection is a best guess: very short messages from other tools, or schemes this tool does not know, may not be recognised. Use it for fun hidden messages, invisible watermarks and covert notes, not for sensitive information.