Zero-width text hider
Encode a secret as zero-width characters (U+200B / U+200C) inside ordinary text. The visible text stays identical, and the built-in decoder restores the message — all in your browser.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Hidden data is inserted one bit per character: 0 uses U+200B, 1 uses U+200C. Extra bits are appended when the carrier is too short.
Hidden result
The text looks exactly like the carrier, but every character carries a zero-width bit you can copy to someone else.
Enter a carrier and a message to hide
Carrier chars: 0 · Hidden bits: 0 · Message bytes: 0 · Bits appended: 0
Extract hidden message
Reads every zero-width character and parses a 16-bit length followed by UTF-8 bytes.
No decodable hidden message found
Zero-width chars: 0 · Declared bytes: 0
What this tool does
- Hide a short passphrase or meeting note inside an ordinary sentence that survives a copy-paste
- Add an invisible provenance marker to text and later check it with the built-in extractor
Example
Input
Carrier “This looks like an ordinary sentence.”, hidden message “See you tomorrow”
Output
This looks like an ordinary sentence. (identical visually; every character now carries zero-width bits)
The message is 16 UTF-8 bytes, so the payload needs 16 bits of length plus 128 bits of data = 144 bits. The 37-character carrier hosts the first 37 bits and the remaining 107 are appended at the end.
Frequently asked questions
How is the message encoded?
The payload is a 16-bit big-endian byte length followed by the message UTF-8 bytes, one bit per zero-width character: 0 = U+200B (ZERO WIDTH SPACE), 1 = U+200C (ZERO WIDTH NON-JOINER). Bits are inserted after successive carrier characters; if the carrier is too short the remaining bits are appended, so a very short carrier still works but ends with a long invisible tail.
Does the visible text change, and can people notice?
The visible text is byte-identical to the carrier (after removing zero-width characters) and copy-paste does not change it. But zero-width characters are not truly invisible: editors such as Notepad may draw boxes, some platforms strip them, and pasting can lose them. The length and file size can also give it away, so treat this as a toy, not encryption.
What does “Clear existing hidden data first” do?
It is on by default and removes U+200B / U+200C / U+200D / U+2060 / U+FEFF from the carrier so old payloads are not copied along. With it off, existing zero-width characters stay and interleave with the new data, which normally makes extraction fail.
Why can extraction fail?
Zero-width characters stripped by a platform, truncated text, or bytes that are not valid UTF-8 all end in “No decodable hidden message found”. The page still reports how many zero-width characters were seen and the byte length the payload declared, so you can tell loss from corruption. Messages longer than 65535 UTF-8 bytes are rejected outright.
Keywords:zero-width texttxthidderoffline