Steganography Tool
Hide a message or a small file inside a picture by changing only the lowest bit of its colours, then reveal it again. Add a password to encrypt it too. The result is a PNG that looks the same; re-saving it as JPEG or posting it on a social network erases the message.
How to Use
- Choose Hide, then drop a picture on the box. Any format the site can open works; the result is always a PNG.
- Type the message, or switch to A file and pick a small file. The line under it shows how many bytes the picture can hold.
- Add a password if the message must stay secret: without one, anyone who runs a reveal can read it.
- Press Hide and download. The PNG is read back and checked before it is offered, and the drawing shows the low bits that changed.
- To read a message, choose Reveal, drop the PNG you received (and type the password if it has one), then press Reveal.
Worked Example
A 57-character note in a 320 × 200 picture. The picture has 64,000 pixels and so 192,000 red, green and blue values. Minus the 128 values that carry the 16-byte header, it holds (192,000 − 128) ÷ 8 = 23,984 bytes. The note is 57 bytes plus 1 type byte, so 128 + 58 × 8 = 592 values are written, in the first 198 pixels. About half of them already had the right lowest bit, so roughly 300 values change, each by exactly 1.
A full-HD photo. 1920 × 1080 = 2,073,600 pixels give 6,220,800 values and (6,220,800 − 128) ÷ 8 = 777,584 bytes at 1 bit per colour, or 1,555,168 at 2. Even full, the average change is about half a step, a mean squared error of 0.5 and a PSNR of 10 log10(255² ÷ 0.5) = 51.1 dB, far below what the eye can see.
The common mistake: sending the picture through an app that re-compresses it. Save the same PNG as a JPEG at quality 92 and every block of pixels is rebuilt from rounded frequency values, so the lowest bits come out different and the “UBSG” marker at the start is gone: Reveal finds nothing. Resizing, cropping, screenshots and many chat apps and social networks have the same effect. Send the PNG as a file.
Show Work
How It Works
Background: Hiding in Plain Sight
Steganography means “covered writing”. The idea is ancient: Herodotus, writing in Greece around 440 BC, describes messages hidden on a messenger’s shaved head and under the wax of a writing tablet. The word itself was first used by the German abbot Johannes Trithemius in his Steganographia, written around 1499 and printed in 1606, a work on cryptography and steganography disguised as a book of magic.
Digital images make the trick easy because they carry more precision than the eye can use. Changing the lowest bit of a colour value moves it by one step in 256, which nobody can see, so a picture can carry a message of a few percent of its size. The price is fragility: the hidden bits survive only as long as the exact pixel values do, so lossless formats such as PNG keep them and lossy re-compression such as JPEG wipes them out. And because the lowest bits of a real photo are not perfectly random, statistical analysis can often tell that something was hidden, even when it cannot read it. That is why a message that matters should also be encrypted.
About This Tool
This tool hides text or a small file in the lowest bit, or two, of the colours of a picture and saves the result as a PNG; it can also find and read such a message. Each message carries a short header with its length and a CRC-32 check, so a damaged or missing message is reported clearly. A password encrypts the message with your browser’s Web Crypto before it is hidden. Every saved PNG is decoded again and compared before you get it, and the low-bit view shows exactly where the picture changed.
Everything happens on your device: the picture, the message and the password are never uploaded. It suits puzzle makers, teachers and students, and anyone curious about how data can hide inside an image.
Related tools: Image Diff, EXIF Viewer and Password Generator.
Frequently Asked Questions
Is hiding a message the same as encrypting it?
No. Hiding makes a message hard to notice, not hard to read: anyone who suspects a picture and runs this or a similar tool reads it in seconds, because the method is public. For secrecy, set a password. The message is then encrypted with AES-256-GCM using a key derived from the password (PBKDF2-SHA-256, 600,000 rounds) before it is hidden, so a reveal without the password finds only random bytes.
Why did the message disappear after I sent the picture?
The message lives in the exact lowest bit of each colour value, and anything that recalculates the pixels replaces those bits. Saving as JPEG (which is lossy), resizing, cropping, filters, screenshots, and the re-compression that many chat apps and social networks apply to uploads all destroy it. Send the PNG as a file or in a ZIP, and the receiver should open that same file. The “Saved as JPEG” preset shows the result: the marker is gone.
How much can a picture hold?
At 1 bit per colour, 3 bits per pixel minus a 16-byte header: a 1920 × 1080 picture holds (6,220,800 − 128) ÷ 8 = 777,584 bytes, and 1,555,168 at 2 bits per colour. Pixels that are not fully opaque are skipped, so a picture with large transparent areas holds less. A password adds 44 bytes.
Can anyone see that the picture was changed?
Not by eye: each colour value changes by at most 1 out of 255 at 1 bit per colour (3 at 2 bits), and on average only half of them change at all, which gives a PSNR above 50 dB. Statistical tests can still spot that the lowest bits look too random, which is how steganalysis tools detect it. Hidden does not mean undetectable.
Will pictures made with the old version of this tool still reveal?
Yes. The first version stored a 32-bit length followed by the text, 1 bit in red, green and blue of every pixel. Reveal looks for the current “UBSG” marker first and falls back to that format. New pictures add a CRC-32 check, so a damaged message is reported as damaged instead of showing garbage.
How do I use the Steganography Tool?
Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Does it cost anything or need an account?
No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.
Is anything I type uploaded?
No. The tool works entirely on your device, so the values you enter never leave your browser.
Common Use Cases
A puzzle or treasure hunt
Hide the next clue (under 100 bytes) in a 320 × 200 picture that holds 23,984 bytes, and let players find it.
A private note in a photo
Hide a message with a password in a holiday PNG; without the password a reveal finds only random bytes.
Marking your own images
Hide “© 2026 your name, original file” in every PNG you publish on your own site, where it is not re-compressed.
Learning how LSB hiding works
Compare the low-bit view before and after hiding 57 characters: 592 values written, about half of them changed.
Last updated: