Free tool

Hide a secret message inside a picture

Short answer

Choose a picture, type your message, add a password if you like, and save. The message goes into the lowest bit of each pixel's color values, so the picture looks the same. To read it, open the PNG here in Reveal mode. Send it as a file, not as a photo: apps that compress photos wipe the message. Nothing leaves your browser.

Image steganography tool

Runs in this browser tab. The picture, the message and the password aren't uploaded, and this page sends nothing about them anywhere.

Steganography is hiding a message so that nobody knows there is one. Encryption makes a message unreadable but obvious; steganography makes it invisible inside something ordinary, here a picture. This tool is for puzzle and treasure-hunt makers, people who want to tuck a note into a photo for one friend, and anyone curious how hidden data in images works. It hides text, adds a password if you want one, and reads the message back. We make Noxium, an encrypted photo vault, and built this tool to run entirely in your browser.

How do you hide a message in a picture?

Pick a picture, type the message, and save the PNG the tool gives you. Reading it back is the same in reverse.

  1. Choose a cover picture. In Hide a message, pick any JPEG, PNG or WebP. A busy photo is a better hiding place than a flat graphic, and a bigger one holds more.
  2. Type the message. The counter under the box shows how many bytes it uses and how many fit. Most letters take 1 byte, accented letters 2, and emoji 4.
  3. Add a password if it matters. With a password, the message is encrypted before it's hidden. Without one, anyone who opens the picture with this tool can read it.
  4. Save the PNG. Tap Hide message and save PNG. Before you get the file, the tool reads it back the way the recipient will and checks the message is inside.
  5. Send it as a file. See the warning below. On an iPhone the PNG lands in Files › Downloads, as Apple's guide to downloads describes.
  6. To read it, the recipient opens this page, chooses Reveal a message, picks the PNG and types the password if there is one.
Send the picture as a file, never as a photo

The message lives in tiny differences between pixel values. Anything that resizes or re-compresses the picture changes those values and wipes the message, even when the picture looks identical. Most messaging and social apps shrink or re-compress photos: WhatsApp compresses pictures sent as photos, Instagram scales uploads down to 1,080 pixels wide, and Messages sends smaller images when Low Quality Image Mode is on. So send the PNG as a file: attach it with Document in WhatsApp, attach it to an email (if your mail app offers to make images smaller, say no), AirDrop it, or share a link to it from iCloud Drive or another cloud drive. Screenshots, crops and filters destroy it too.

How does hiding a message in an image work?

Every pixel is stored as three numbers from 0 to 255: red, green and blue. The tool changes only the last bit of each number, so a value moves by at most 1. A red of 200 might become 201. Nobody can see that difference, and that last bit can carry one bit of your message. Eight changed values hold one byte, about one letter.

The tool writes, starting at the top-left pixel and going row by row: a 10-byte header (the marker "NOXS", a version number, whether there's a password, and the message length), then the message itself as UTF-8 text. Transparency isn't used: transparent areas become white, because a semi-transparent pixel can't hold its exact color values in a browser. The result is always a PNG, because PNG is lossless. Saving as JPEG would round the pixel values and erase the message.

How much text fits, by picture size (3 bits per pixel, minus the 10-byte header)
PicturePixelsRoom for textWith a password
1080 × 10801,166,400437,390 bytes437,346 bytes
1920 × 10802,073,600777,590 bytes777,546 bytes
4032 × 3024 (12 MP)12,192,7684,572,278 bytes4,572,234 bytes

A short note uses a tiny fraction of that. The catch is the file size: a photo saved as PNG is usually several times bigger than the JPEG it came from, which is why there's an option to shrink the picture to 2,048 pixels on its long side.

With a password, the message is encrypted with AES-256-GCM before it's hidden. The key comes from your password through PBKDF2-SHA256 with 600,000 iterations, the figure OWASP's Password Storage Cheat Sheet recommends, so each guess costs an attacker real time. A fresh random salt and nonce are made for every message, which adds 44 bytes. GCM also checks the message on the way out: a wrong password, or a single changed bit, and it refuses to open rather than showing garbage.

One more detail: some browsers add faint random noise when a web page reads pixels back, to make tracking harder. That would scramble the hidden bits, so the tool writes and reads its own PNG files directly instead of relying on the browser's canvas for that step.

What happens to your message and password?

They stay in this browser tab. The picture is decoded by your browser, the message is placed in its pixels in memory, and the PNG is built on your device. Encryption uses your browser's built-in Web Crypto. There is no upload, no account, and no server that could keep the picture, the message or the password. The page does load Google Analytics, which counts visits as our privacy policy describes; it never receives your picture, your message or your password. Once the page has loaded, you can turn off your connection and both modes still work.

What doesn't steganography protect?

It hides that a message exists from someone who isn't looking. It doesn't stop someone who is.

  • Without a password, it's not secret. The message is stored as plain text behind a fixed marker. Anyone who opens the picture with this tool, or reads the lowest bits with any script, sees it.
  • It can be detected. Statistical tests for this kind of hiding have been published for over 20 years. Fridrich, Goljan and Du's 2001 paper detects it and estimates the message length, and in their tests only very small amounts, about 0.005 bits per pixel, went unnoticed. For messages written in order from the corner, as this tool does, the same paper points to the earlier chi-square test by Westfeld and Pfitzmann. A password keeps the content unreadable even when the hiding is spotted.
  • The original gives it away. If someone has both your cover picture and the PNG, comparing them shows exactly which pixels changed. Use a photo that isn't posted anywhere else.
  • Any edit erases it. Cropping, resizing, filters, screenshots and format changes all wipe the message.
  • A weak password can be guessed. 600,000 iterations slow guessing down, but a short or common password still falls. Use a long, unique one and share it another way.
  • It doesn't hide who you talk to. The app you send the file through still knows who sent what to whom, and when.

If you don't need to hide that a message exists, plain encryption is simpler and sturdier: our text encryption tool turns a message into a block of text that only the password opens, and it survives any app.

Hide that something exists, on your iPhone

Noxium hides photos, videos and notes in encrypted vaults. A second pattern opens a separate, harmless decoy vault, and the free plan includes one. No ads, no accounts, no analytics.

Download on the App Store Available on the App Store for iPhone and iPad.

A decoy vault applies the same idea to a whole photo library: what someone sees when they make you open it looks ordinary. Read what a decoy vault is and how Noxium's decoy vault works.

Questions people ask

Can you hide a message in a JPEG?

Not with this method. JPEG compression rounds pixel values, which erases anything hidden in their lowest bits, so this tool always saves a PNG. Other tools hide data inside JPEG's compression data instead, but that's a different technique.

Will the picture look different?

No. Each color value changes by at most 1 out of 255, which you can't see. Two things do change: transparent areas become white, and the file is a PNG, usually larger than the original photo.

Does a hidden message survive WhatsApp?

Not if you send the picture as a photo, because WhatsApp compresses photos and that wipes the message. Attach it with Document instead, so the file arrives unchanged. The same goes for most messaging and social apps.

Can steganography be detected?

Yes. Statistical tests can often tell that a picture's lowest bits carry data, and comparing it with the original shows the changes directly. A password won't stop detection, but it keeps the message itself unreadable.

How much text can I hide in a photo?

Three bits per pixel, minus a 10-byte header: about 437 KB in a 1080 × 1080 picture and about 4.5 MB in a 12-megapixel photo. A password adds 44 bytes. The tool shows the exact room left as you type.

Something wrong or out of date? Email business@inertiaprojects.info and we'll fix it.