🔐 Security & Privacy

Image Steganography — Hide Text in a Picture

Hide a secret message inside an image that looks completely normal.

  • 3 bitsper pixel (RGB)
  • AES-256optional password
  • PNGlossless output
  • Localimages never uploaded
Capacity—

How to use the Steganography Tool

  1. 1

    Choose Hide or Reveal

    Hide writes a message into an image; Reveal reads one back.

  2. 2

    Load an image

    PNG, JPG or WebP, or the built-in 800×500 sample.

  3. 3

    Type the message and optional password

    The capacity box shows how many bytes fit.

  4. 4

    Save and share the PNG

    Download the result and send it as a file, not as a photo.

Features

LSB embedding

Message bits go into the lowest bit of red, green and blue.

Password encryption

AES-256-GCM with a PBKDF2 key, so the text is unreadable without the password.

Capacity meter

Shows bytes used against bytes available for the loaded image.

Header check

A small signature lets Reveal tell whether this tool hid anything.

Sample image

Try the whole process without your own picture.

Copy revealed text

One click copies a found message.

Who uses it — and for what

Teaching

Show students how information hiding works.

Puzzles and CTFs

Hide clues in images for a treasure hunt or challenge.

Fun messages

Send a friend a picture with a hidden note.

Ownership notes

Embed a simple note in an image you share as a file.

How it works

Every pixel has red, green and blue values from 0 to 255. Changing the least significant bit of each value alters the colour by at most 1/255 — invisible to the eye. This tool writes your message into those bits (three bits per pixel), together with a short header and length, and saves the result as a lossless PNG. A 1000×1000 image can hold about 370 KB of text. Add a password and the message is first encrypted with AES-256-GCM, so even someone who knows the trick can’t read it.

Important limitations

  • Send the PNG as a file (email attachment, Google Drive, “send as document” in WhatsApp/Telegram). Apps that compress photos, and any conversion to JPG, destroy the hidden bits.
  • Transparent areas become opaque, because hidden data needs full alpha.
  • Statistical analysis can detect that something is hidden in an image, even if it can’t be read without the password — steganography hides the existence of a message, encryption protects its content.

Images are processed on your device; nothing is uploaded.

What survives and what destroys the message

The message is written bit by bit starting at the top-left pixel and running along the rows, so it depends on every one of those pixels keeping its exact value. Anything that recalculates pixels wipes it out:

  • Destroys it: saving as JPG or WebP with lossy compression, resizing, cropping the top of the image, rotating, applying filters, screenshots and most social-media or chat uploads.
  • Keeps it: copying the PNG file, zipping it, email attachments, cloud drives, and messaging apps’ “send as document/file” options.

If Reveal reports that nothing was found, the most likely reason is that one of those steps re-encoded the picture. Keep your original and send it again as a file.

Steganography is not encryption

Without a password, the message is hidden but not protected: anyone who runs this tool, or any LSB extractor, on the image can read it. Steganography only conceals that a message exists. Adding a password wraps the text in AES-256-GCM first, so a discovered message is still unreadable and any tampering is detected. Even then, because this tool fills pixels in order from the top, statistical tests for LSB changes can often tell that an image carries hidden data. Use it for fun, teaching and low-stakes notes; for confidential files, use the File Encryption tool and send the password by another channel. This tool reads only its own format, so it cannot reveal messages hidden by other steganography programs.

Worked examples

How many pixels a short message uses

“Meet me at the old banyan tree at 7 pm” is 38 bytes. With the 9-byte header that is 376 bits, written into 126 pixels — less than one row of the 800-pixel-wide sample. With a password, encryption adds 49 bytes (version, iteration count, salt, IV and authentication tag), so the same note takes 256 pixels.

Hindi and emoji take more space

Text is stored as UTF-8. “नमस्ते” looks like a short word but is 18 bytes, and “Hi 👋” is 7 bytes because the emoji alone needs 4. Capacity is counted in bytes, not characters.

Capacity by image size

ImageCapacity (no password)
640 × 480115,191 bytes
800 × 500 (sample)149,991 bytes
1280 × 720345,591 bytes
1920 × 1080777,591 bytes
4000 × 3000 (12 MP photo)4,499,991 bytes

The formula is width × height × 3 ÷ 8, minus 9 header bytes. With a password, subtract another 49 bytes.

Pro tips

  • Photos with lots of detail make better cover images than flat graphics — the tiny changes are even harder to spot.
  • Partially transparent images become fully opaque in the output, so start from an opaque picture if transparency matters.

Glossary

Least significant bit (LSB)
The lowest bit of a number; changing it alters a 0–255 colour value by just 1.
Cover image
The innocent-looking picture that carries the hidden message.
Steganalysis
Techniques for detecting whether an image contains hidden data.

Frequently asked questions

Can I hide a message in a JPG?

You can use a JPG as the cover image, but the output must stay PNG — saving it as JPG destroys the message.

Why can’t my friend reveal the message?

The image was probably compressed by a chat app. Send it as a file instead.

Is it really invisible?

Yes — each colour value changes by at most 1, far below what eyes can see.

Can I reveal a message made with another steganography app?

No. Each program uses its own layout; this tool looks for its own signature and reads only messages it created.

Does the password change how much fits?

Yes, slightly. Encryption adds 49 bytes to the hidden data, so very full images need a little extra room.

Which part of the image holds the message?

The first pixels, starting top-left and reading row by row, so a short message changes only a small strip at the top.

Found it useful? Share the Steganography Tool:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Security & Privacy (20 tools)