Choose a visible encoding when easy copying matters, reviewed encryption when confidentiality matters, and zero-width steganography only when the message should stay inconspicuous inside ordinary-looking text.

A hidden message is not automatically a secret one. A carrier sentence can look unchanged while containing extra Unicode code points, but those points may be removed, inspected or altered. Concealment therefore works best for controlled demonstrations and puzzles rather than as a guarantee of secure delivery.

The Text Steganography tool uses a transparent zero-width convention: it embeds a short UTF-8 payload in visible cover text, then reconstructs that payload locally. All processing occurs in the browser, and neither the cover nor the secret text is uploaded. Because the mapping is disclosed, the result is not encrypted and does not provide confidentiality, authenticity or integrity.

how do i choose the right approach to use hide a message in text
How to Choose the Right Approach to Hide a Message in Text

Match the method to the outcome

Start by separating the result you need: an inconspicuous carrier, an easily copied representation, confidential content or durable data exchange. These are different goals, and a method that meets one may undermine another.

Primary need Best-fit approach Why it fits Main limitation
Keep the carrier’s visible appearance Zero-width text steganography Usually preserves the sentence’s rendered appearance while adding a hidden payload. Transport can strip it, and it provides no confidentiality.
Make encoded content easy to copy and identify Visible encoding such as Base64 Leaves an explicit, reversible representation instead of relying on invisible characters. The content is obvious to readers and is not encrypted.
Keep unauthorized readers from reading content Reviewed encryption Uses a confidentiality mechanism designed to protect the content itself. It is not concealed inside ordinary cover text and requires proper credential handling.
Exchange data durably Visible encoding or an authenticated file format Avoids depending on invisible code points surviving a text channel. The content no longer meets a concealment requirement.
Learn how Unicode and sanitizers affect text Steganography with a reveal check Makes the transformation inspectable and reversible. It uses a specific convention and remains dependent on the delivery route.

These goals can conflict. A visible encoding is easier to transfer but advertises that encoded content is present. Steganography can look like an ordinary sentence, but the hidden layer may be removed or altered. Encryption can protect sensitive content, but it does not make the content look like part of a natural sentence. Decide which requirement must not fail before choosing the method.

Understand what the invisible layer changes

Text Steganography uses an explicit Lizely convention rather than claiming compatibility with every steganography service. The hidden UTF-8 message is divided into bytes, and each byte is represented by exactly eight bits, most-significant bit first. A zero-width space, U+200B, represents binary zero, while a zero-width non-joiner, U+200C, represents binary one. An invisible separator, U+2063, marks the start and an invisible plus, U+2064, marks the end. The framed sequence is inserted after the first visible Unicode code point in the cover.

Reveal mode extracts the first valid framed segment. It checks that every payload character is one of the two bit symbols, requires a multiple of eight bits, converts the bits back to bytes and rejects byte sequences that are not valid UTF-8. Malformed framing produces an error rather than a guess. The tool also returns the recovered visible cover so the round trip can be checked.

  • Hidden payload: The message can contain up to 10,000 UTF-8 bytes. Every hidden byte adds eight code points, plus the framing markers. Emoji and non-Latin characters can occupy several UTF-8 bytes, so their visible character count may be much smaller than the byte limit.
  • Cover text: The cover can contain up to 100,000 code points. It cannot already contain this convention’s start or end marker because that would make the payload boundaries ambiguous. Ordinary zero-width characters outside the framed region remain part of the cover.
  • Rendered output: The result usually looks like the original sentence, but its underlying code-point sequence is much longer. Visible equality does not mean byte equality, and a character counter, diff tool, source viewer or security scanner may expose the added characters.

For broader background on the handling of invisible and confusable characters, consult the Unicode Security Considerations.

Hide and reveal a message in a tested workflow

Use the same sequence for a harmless test and for the final payload so that transport problems are discovered before they matter.

  1. Create the carrier: Open hide mode, enter ordinary visible cover text and a separate hidden UTF-8 message, then generate the steganographic string. Keep the hidden message within 10,000 UTF-8 bytes and the cover within 100,000 code points. The cover must not already contain this convention’s start or end marker.
  2. Copy the exact result: Copy the generated string without retyping it or removing unusual characters. Use only a channel that you have tested end to end for preserving zero-width Unicode. Sending a harmless test payload through that same route is the safer preliminary check.
  3. Paste it into reveal mode: Paste the exact steganographic text without cleanup, formatting or retyping. Reveal mode looks for the documented framed segment instead of treating arbitrary zero-width characters elsewhere in the text as payload.
  4. Verify the round trip: Check both the recovered hidden message and the restored visible cover after transport. Treat a mismatch, malformed-framing error or missing payload as a failed round trip rather than guessing which characters changed.

Test delivery before trusting the result

Applications can normalize, filter or reserialize Unicode. A service may remove default-ignorable characters, replace line endings or reject the marker code points. If even one hidden bit disappears, decoding can fail or produce different bytes. A sentence that still looks correct in the recipient’s window is not proof that the payload survived.

Delivery scenario What may happen Recommended response
Plain-text editor that preserves Unicode exactly More likely to retain every code point. Copy the exact string and run the reveal check immediately.
Social network, email gateway or chat client May filter invisible characters, replace line endings or reject markers. Test the exact route and keep a visible fallback ready.
Content-management system or editor that reserializes text May rewrite pasted content even when the source field looks unchanged. Test the complete publishing and rendering path, not only the editor.
Clipboard manager May normalize copied text before it reaches the destination. Reveal it immediately and compare raw code points if extraction fails.
Screenshot or printed copy Does not retain the invisible code points carrying the payload. Use visible encoding or a durable file format instead.

Visible equality does not mean byte equality. Character counters, diff tools, source viewers or security scanners may expose the extra code points immediately. A structured Zero Width Character Steganography: A Delivery Test can help you check a channel before using it for real data.

If extraction fails after transport, compare raw code points to identify what the application removed or changed. Do not manually insert replacement zero-width characters. The reveal operation rejects malformed framing and extracts only the first valid framed segment, so a hand-repaired guess could expose the wrong message or no message at all.

Switch methods when the goal changes

Steganography is suitable for harmless demonstrations, puzzles, learning about Unicode and testing how applications sanitize text. It is not appropriate for credentials, personal data, harmful instructions or material that violates a platform’s rules.

  • For durable data exchange, prefer visible encodings or an authenticated file format. The content is no longer concealed, but it does not depend on invisible characters surviving.
  • For sensitive information, use an appropriate reviewed encryption system before transport. A visible encoding or documented steganography convention does not replace it.
  • For a carrier that should look natural, use steganography only through a tested route and expect the recipient to need the same convention to reveal the message.
  • For an inspectable experiment, retain the generated string, transported paste, recovered message and restored cover as evidence of the complete round trip.

Concealment is the goal, so choose zero-width steganography; reliable copying is the goal, so choose visible encoding; secrecy is the goal, so choose reviewed encryption. The method works best when its limitations are part of the decision rather than an afterthought.

For a deeper look, see Text to Binary UTF-8: Format Rules, Errors, and Limits.