b2KIT

Secret Message Encoder

Encode messages using various methods including zero-width characters, invisible ink Unicode, and whitespace encoding.

Tested tool guide Tested browser tools Checked August 16, 2026

What Secret Message Encoder does and how it behaves

This tool hides a message by converting it into characters that occupy space but display nothing: zero-width Unicode code points, invisible-ink characters, or whitespace runs arranged in patterns. You pick a method, enter your secret and a visible carrier text, and the output reads as the carrier alone. The thing most people get wrong the first time: this is encoding, not encryption. Anyone who knows the method, or recognizes the tell-tale invisible-character patterns, can decode the message back to plain text. Treat it as hiding a note, not locking a safe.

How the result is produced

1

Zero-width and invisible-ink methods

These methods convert the secret into bits and map each bit to a choice between code points that render nothing, such as U+200B and U+200C, with a terminator at the end. The invisible sequence is stitched into a visible carrier message, so the text looks unchanged. Decoding ignores every visible character, re-reads the invisible ones as bits, and rebuilds the message. Encoder and decoder must share the same mapping.

2

Whitespace encoding

Whitespace encoding keeps the message in ordinary-looking whitespace: tabs and spaces after line endings, or trailing spaces at line ends. A common scheme maps one bit per character, with space meaning 0 and tab meaning 1, so a short paragraph can carry a small message. Anything that normalizes whitespace, such as an HTML renderer collapsing spaces, a code formatter, or an editor trimming trailing spaces, deletes the hidden message too.

Good uses

  • Both parties agree on a method first, then one sends a public comment, forum post, or chat line that reads as ordinary text while quietly carrying the secret inside it.
  • Watermark text you publish, such as an article or job ad, by encoding your email address into it, so a copy that appears elsewhere can be traced back to whoever reposted it.
  • Tuck a recovery hint or private note into a document or transcript that must stay plain-text visible, where a visibly hidden section would defeat the purpose.

Limits and checks

  • Encoding is not encryption: the mapping is fixed and reversible, so anyone who suspects the message and runs the same method reads it in plain. Never hide a password or credential this way.
  • Channels strip the payload silently: chat apps, social platforms, and CMS sanitizers filter zero-width characters or collapse whitespace, so the text can look intact while the message is already gone, with no error raised.
  • Invisible is not undetectable: character counts, a unicode-aware search, or a quick regex for U+200B, U+200C, U+200D, or U+FEFF reveals the payload, editors can draw placeholder glyphs, and screen readers may announce the characters.

Common questions

Can I hide my password in a public comment with this?

No. This tool encodes, it does not encrypt. The character-to-bit mapping is fixed, so anyone who guesses the method can decode the message in seconds, and the invisible characters themselves advertise that something is hidden. If the content truly matters, encrypt it with a strong password-based cipher first and encode only the ciphertext; the key, not the method, is what protects it.

I encoded a message, pasted it into a chat, and decoding came back empty. What went wrong?

The channel almost certainly stripped the invisible characters. Many chat apps, social platforms, and content management systems filter zero-width characters or normalize whitespace before storing text, and none of them tell you. Paste into the exact channel you plan to use and decode from it to confirm, and make sure both ends selected the same method, since outputs of different methods are not interchangeable.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools