na.to.
📚 All keywords › 🧰 Free Web Tools › Steganography: hiding messages in text versus encryption
KO EN
🕵️

Steganography: hiding messages in text versus encryption

What steganography is and its history, how invisible Unicode characters hide bits inside text, how it differs from encryption, and when hidden text gets broken.

📚 Free Web Tools · 50/52· ⏱ About 5min read ·Information updated 2026-11-03
📋 Key facts5
Meaning
Hiding the existence of a message rather than its content
Origin
From Greek words for covered and writing
Versus encryption
Encryption makes content unreadable; steganography makes it unnoticed
Hiding in text
Two kinds of zero-width Unicode characters stand for 0 and 1
Size
One Latin letter = 8 invisible characters, one Korean syllable = 24 (UTF-8)

What steganography is

Steganography hides a message inside some other ordinary content so that nobody notices a message is there at all. The name combines Greek words for covered and writing, and spread through the title of a book by the German abbot Johannes Trithemius. On the surface you see an ordinary letter, photo or sentence, but only someone who knows the method can pull out what is hidden inside.

How it differs from encryption

Encryption scrambles content so it cannot be read; steganography conceals that there is content at all. A ciphertext obviously hides something but cannot be read without the key. Steganography aims not to be noticed, so anyone who knows the hiding method may read the content directly. For anything that truly needs protecting, combine the two: encrypt first, then hide the result.

Methods from long ago

The idea is ancient. The Greek historian Herodotus tells of a messenger whose head was shaved, tattooed with a message and sent once the hair had grown back. Letters written in invisible ink such as lemon juice, or ordinary sentences whose first letters spell another message, work on the same principle. In the digital age a typical method changes the last bit of pixel colour values in a photo, adding data with no visible difference.

How hiding in text works

Hiding between letters uses Unicode characters with zero width. The zero-width space (U+200B) and zero-width non-joiner (U+200C) draw nothing on screen but remain in the text as real characters. The secret is converted to bytes, each byte expanded into eight 0s and 1s, and each 0 or 1 replaced by one of the two characters, which are slipped into the cover text. The receiver picks out just those two characters, turns them back into 0s and 1s, and groups them in eights to restore the original.

  • Secret text → UTF-8 bytes
  • Bytes → a string of 0s and 1s
  • 0 and 1 → two kinds of invisible characters
  • Insert them into the middle of the cover text

Size and when it breaks

The longer the secret, the more invisible characters you add. A Latin letter is one byte and needs 8; a Korean syllable is three bytes in UTF-8 and needs 24. A sentence that looks short can therefore show up as much longer in a character counter. Some messengers and forums strip or replace zero-width characters, and length limits can cut the text. After passing through such a service the hidden content cannot be recovered.

Detecting hidden text

Invisible characters cannot be seen, but they are not hard to find. Paste the text into a tool that shows Unicode code points and characters such as U+200B appear plainly; a character count far above what you see is another clue. The same principle is also used to mark copies of a document differently so a leak can be traced. Invisible characters in pasted text can also make searches or comparisons fail unexpectedly, which is worth knowing.

This site's Pixel Hide Cipher

Despite its name, this site's Pixel Hide Cipher hides messages between letters rather than in image pixels. On the hide tab, enter the cover sentence and the secret; it turns the secret into UTF-8 bits written as U+200B and U+200C, inserts them in the middle of the cover text, adds a decorative character and shows the result for copying. Paste received text unchanged into the reveal tab to recover the message. It does not encrypt anything, so do not use it for passwords or other sensitive data.

Summary

Steganography hides that a message exists; encryption makes its content unreadable. Hiding in text uses zero-width Unicode characters for 0 and 1, with 24 invisible characters per Korean syllable. Anyone who knows the method can extract it, and services may strip it in transit, so use it for fun or learning and protect real secrets with proper encryption tools.

🔗 More in this category

🧰 Related tools

🌍 Search the web for this

Each button runs this keyword on that search engine