How to Hide a Message in an Image (Steganography, Free + In-Browser)

Steganography hides a short text message inside the pixels of an ordinary image, so the picture looks unchanged but secretly carries your note. This guide shows how to hide a message in a PNG and read it back later, optionally locked with a password - all in your browser, so the image and the message never leave your device.

Last reviewed: 2026-06-16

PropertyValue
FormatOnline, no install, no sign-up
CostFree
Implementing toolhttps://freetoolonline.com/image-tools/steganography.html

How to hide a message in an image

Four steps to hide a secret message inside a PNG image
Open the tool, choose a cover PNG, type your message, then add a password
  1. Open the Steganography tool and keep the mode on "Hide a message in an image".
  2. Choose a cover image. A PNG works best; a larger image holds a longer message.
  3. Type the secret message you want to hide. The tool shows the most characters that image can hold before you embed.
  4. If you want, add a password so only someone who knows it can read the message back.
  5. Click the hide button and download the result. Keep it as a PNG.

How to read a hidden message back

  1. Open the same tool and switch the mode to "Reveal a hidden message".
  2. Choose the PNG that was made with this tool.
  3. If the message was locked, enter the password. The hidden text appears on the page.

Why the result has to stay a PNG

Why the result has to stay a PNG on How to Hide a Message in an Image (Steganography) is that lossless PNG keeps the hidden least-significant-bit payload intact.

How much text an image can hold

How much text an image can hold on How to Hide a Message in an Image (Steganography) scales with pixels - roughly three bits per pixel means short notes fit, novels do not.

Image sizePixelsApprox. characters
64 x 644096about 762
256 x 25665536about 12282
512 x 512262144about 49146

If a message is too long for the chosen image, the tool tells you the maximum and stops rather than cutting the text off silently.

Is it private?

Is it private on How to Hide a Message in an Image (Steganography) means yes for processing - the image and message never leave your browser tab.

A related browser tool that converts encoded data directly into an image file - rather than hiding text inside an existing photo - is base64 to image; it decodes a base64 string and renders the result as a downloadable PNG or JPG without any upload. For more on how browser-based image tools handle data privacy at scale, see what we learned running free in-browser image tools for 100k monthly users.

← Back to image editing tools

Why trust these tools

  • Ten-plus years of web tooling. The freetoolonline editorial team has shipped browser-based utilities since 2015. The goal has never changed: get you to a working output fast, without an install.
  • No install, no sign-up. Open a tool and get a working output in seconds - nothing to download and no account to create. Tools that need heavy processing run it on our service, so even a low-powered machine gets the job done.
  • Analytics stops at the page view. We measure which pages get visited, not what you type or upload inside a tool. There is nothing to sign in to and no profile is attached to your input.
  • Open-source core components. The processing engines underneath (libheif, libde265, pdf-lib, terser, clean-css, ffmpeg.wasm, and others) are public and audit-able. We link to each one in its tool page's footer.
  • Free, with or without ads. All tools are fully functional without sign-up. The Disable Ads button in the header is always available if you need a distraction-free run.

Related tools:

Tags: #image-editing

Related guides:

Related news: