How to Decode a Hidden Message in an Image (Steganography)

To read hidden text from an encoded PNG, open the Steganography Tool, switch from Hide Message to Reveal Message, and load the PNG with Select Carrier Image. The decoder extracts the payload locally in your browser and displays it under Decoded Message Findings. Because LSB (least significant bit) data sits in the lowest bit of each colour value, only an untouched PNG with the matching bit layout will decode cleanly.

Decoding a steganography image is almost instant when everything lines up, and frustrating when the output box prints "No hidden message found in this image." Knowing the exact bit layout the decoder expects - and what destroys those bits in transit - saves you from chasing a ghost message.

Before you test: Make sure you are opening the exact .png file that was saved by the encoder, not a copy forwarded as a chat photo or converted to .jpg.

How to Decode Hidden Text in 3 Steps

Step 1Switch to Reveal Message mode

Open the Steganography Tool. At the top of the workspace there are two mode buttons: Hide Message (selected by default) and Reveal Message. Click Reveal Message. You can also switch modes after loading an image, because switching to Reveal triggers decoding immediately if an image is already loaded.

Steganography tool with the Reveal Message mode button selected above the Select Carrier Image upload box

Step 2Click Select Carrier Image and choose the PNG

Click Select Carrier Image (or drag and drop the file onto the upload box) and select your encoded PNG. The file input accepts PNG, JPG, and WebP, though only lossless PNGs preserve the low bits required for decoding.

Step 3Read Decoded Message Findings

As soon as the image loads into the browser canvas, the decoder inspects the pixels and prints the extracted text inside Decoded Message Findings, reporting how many bytes were recovered. If the header or UTF-8 validation fails, it prints a notice instead of random garbage characters.

Decoded Message Findings panel showing the hidden text recovered from a PNG, with the note Found a hidden message of 53 bytes

Check an image for hidden text

Open Steganography Decoder

Which Messages This Decoder Can Read

There is no single universal standard for LSB steganography. Every tool chooses its own header format, channel order, and terminator rule. To avoid printing false-positive nonsense on ordinary photos, this decoder reads one strict layout:

What does that mean in practice? This decoder reliably reads PNGs encoded by Privacy Pix Tools (both current and earlier versions, because the layout is unchanged) or custom scripts written to the exact same 32-bit length plus opaque-RGB UTF-8 format. An image created by a different steganography tool that uses a null-byte delimiter, a magic prefix, a password-seeded pixel order, 2-bit LSB, alpha-channel storage, or JPEG DCT coefficients will not match this layout, so Reveal Message will report that no hidden message was found.

Why the Decoder Finds Nothing (and How to Fix It)

When a PNG that definitely held a message refuses to decode, one of six things usually happened along the way:

Reveal mode reporting No hidden message found for a JPEG, with the warning that JPEG compression destroys LSB messages
Cause What happened to the bits How to fix it
JPEG re-save Converting secret_image.png to JPG runs lossy frequency compression that changes almost every pixel's lowest bit. Find and open the original .png file. Once saved as JPG, the LSB message cannot be recovered.
Messaging app recompression Sending the PNG as an inline photo on WhatsApp, Instagram, X, or compressed chat re-encodes and shrinks the image. Ask the sender to resend the PNG as a File or Document attachment, or inside a ZIP archive.
Resize or crop Cropping shifts pixel 0 to a new location and resizing blends neighbouring pixels, breaking the 32-bit length header. Decode the unedited PNG first. Always crop or resize a carrier image before hiding text, never after.
Screenshot A screenshot captures rendered display pixels with screen scaling and colour profiles, not the original file's bits. Save or download the actual PNG file rather than taking a screenshot of it.
Different tool or layout Another app used a different header, password shuffle, alpha channel, or JPEG DCT coefficients. Ask which encoder created the image and use the matching decoder for that specific format.
Encrypted payload Raw binary ciphertext fails strict UTF-8 decoding and shows no message; text-armoured ciphertext (like Base64) decodes as scrambled text. If encrypted text appears, run it through your agreed cipher with the key. When hiding encrypted messages, encode ciphertext as UTF-8 text (such as Base64) first.

How to Send a Stego PNG So It Survives

Every byte in secret_image.png must reach the recipient unchanged. Treat the file like software code rather than a snapshot:

How Analysts Check an Unknown Image for Hidden Data

If someone hands you a mystery image (for example in a capture-the-flag puzzle) and you do not know whether it uses LSB, metadata, or appended bytes, security analysts usually inspect three layers outside this decoder:

Note that Reveal Message in our Steganography Tool does not perform bit-plane viewing or statistical steganalysis; it strictly decodes our LSB layout. If you want to check an unknown file's metadata tags, embedded comments, or trailing bytes, open it in the Metadata Viewer and Remover.

Nothing Is Uploaded

When you check or decode an image in Reveal Message mode, the browser reads the file locally, inspects pixel bits on an in-memory canvas, and displays the text without making any network request. Even if you load the page and turn off your internet connection, both hiding and decoding continue to work on your device.

Frequently Asked Questions

Why does the decoder say no hidden message found in my image?

The most common cause is recompression: saving the file as a JPG, sending it as a photo through a messaging app, resizing it, or taking a screenshot alters the least significant bits. It also appears if the image was encoded by a different steganography tool using a different bit layout.

Can this tool decode messages hidden by any steganography app?

No. Reveal Message reads a specific layout: a 32-bit big-endian length header followed by UTF-8 bytes, stored one bit at a time in the red, green, and blue channels of fully opaque pixels. Images made by tools that use delimiters, passwords, alpha channels, or JPEG frequency embedding will not decode here.

Can a JPEG carry a message that this decoder can read?

No. Even though the file picker accepts JPG, PNG, and WebP, lossy JPEG compression scrambles pixel least significant bits when saved. If you upload a JPEG in Reveal Message mode, the decoder explicitly warns you to open the original PNG instead.

Why does the decoder skip transparent pixels?

Browsers store canvas pixel data with premultiplied alpha, which changes RGB numbers slightly whenever alpha is below 255. Both Hide Message and Reveal Message skip any pixel whose alpha is not 255 so the recovered bits match exactly.

What happens if someone encrypted the message before hiding it?

If they encrypted the message into readable text (such as Base64 or ASCII armor) and hid that string in Hide Message mode, Reveal Message extracts that ciphertext and you still need their key to decrypt it. If they embedded raw binary bytes that are not valid UTF-8, the decoder rejects them and shows no message.

Does this decoder check bit planes, EXIF metadata, or appended file data?

No. Reveal Message only extracts the sequential RGB least-significant-bit payload in its own format. To inspect EXIF tags, comments, or data appended after the end of a file, use the Metadata Viewer and Remover.

Ready to decode your PNG?

Open Steganography Decoder
← All How-To Guides