Decode hidden text from PNG images and WAV files
Least Significant Bit (LSB) steganography conceals text inside the lowest binary digits of digital media rather than drawing visible pictures. Drop a PNG image or an uncompressed 16-bit or 24-bit PCM WAV recording into the decoder above, and this tool extracts the hidden bit stream immediately inside your browser.
Because CTF challenges, academic labs and web encoders do not all share one header convention, the decoder probes three widely used layouts automatically:
- SZLS length-prefixed header written by this tool (supports full UTF-8 including non-Latin scripts and punctuation).
- 32-bit big-endian length prefix commonly produced by browser LSB utilities.
- Null-terminated ASCII and UTF-8 strings widely used in security competitions and puzzle images.
If a file shows no message on default 1-bit RGB settings, switch the Channel selector to Red, Green or Blue individually, or raise the bit depth to 2-bit. Some encoders pack text into a single color channel to leave the remaining two channels statistically untouched.
Looking for a picture, word or Morse code painted visually into a song's frequencies instead of raw bits? Open the spectrogram decoder.
How LSB steganography hides data in pixels and PCM samples
Every pixel in an uncompressed PNG stores red, green and blue intensities as 8-bit integers from 0 to 255. Changing the highest bit shifts a pixel's brightness by 128 levels and ruins the picture, while changing the lowest bit (bit 0) nudges brightness by a single step out of 255—well below human contrast perception. Across a modest 1000 × 1000 PNG, replacing 1 bit per RGB channel yields 375,000 bytes of hidden storage, enough for an entire short novel.
Uncompressed WAV audio works the same way at the sample level. A CD-quality 16-bit PCM file stores 44,100 integer samples per second per channel. Flipping the least significant bit of each sample adds noise roughly 96 dB below full scale—quieter than the thermal noise floor of most listening rooms. Crucially, this page parses raw RIFF WAV bytes directly instead of running browser audio resampling, so original PCM bits remain untouched during both decoding and encoding.
Spotting hidden payloads with Bit-Plane View
Even when an unknown image uses custom encryption or a non-standard header, visual inspection often gives away whether LSB steganography is present. Switch the viewer above to Bit-plane view and look at Bit 0:
- Natural photographs display uniform salt-and-pepper grain across bit 0, while higher planes (Bit 2 and Bit 3) begin to trace recognizable object silhouettes.
- Sequential LSB embedding writes payload bytes starting at the top-left pixel and stops once the message ends. That boundary frequently appears as a sharp horizontal band of dense noise along the top rows of Bit 0—try the built-in Demo PNG in Bit-plane view to see this stripe immediately.
- Bit ledger check. Compare the top-edge LSB ones percentage against uniform 50% balance. Clean synthetic graphics or screenshots often have skewed bit-0 ratios, whereas embedded UTF-8 or encrypted bytes push the top strip abruptly toward 50%.
Why JPEG images and MP3 audio erase LSB messages
Lossy codecs discard microscopic detail on purpose. Saving an encoded PNG as a JPEG converts 8 × 8 pixel blocks into frequency coefficients and quantizes them, scrambling every bit 0 in the image. Likewise, converting an encoded WAV to MP3, AAC or OGG throws away masked frequencies and re-synthesizes new PCM samples on playback, destroying bit-level messages immediately.
Always share LSB carriers as lossless PNG, BMP or uncompressed PCM WAV—and send them as raw files rather than through chat apps that silently recompress images. To verify whether an audio file is genuinely lossless or re-encoded from an MP3, inspect its high-frequency shelf in the lossless checker.
LSB steganography vs spectrogram steganography
| Property | LSB steganography (this page) | Spectrogram steganography |
|---|---|---|
| Where data lives | Lowest binary bits of pixels (PNG) or PCM samples (WAV) | Painted shapes in time–frequency space |
| Payload type | Exact UTF-8 text, flags, coordinates, short scripts | Visual words, logos, QR-like shapes, Morse |
| Survives MP3 / JPEG? | No — requires lossless PNG or raw PCM WAV | Yes — visible shapes often survive high-bitrate MP3 |
| Audible or visible change | Effectively zero (−96 dB in 16-bit WAV; 1/255 in PNG) | Faint hiss or whistling tones in upper frequencies |
| Inspection tool | Bit-plane viewer and LSB extractor | Spectrogram decoder |
Local processing and privacy
Every pixel read, WAV byte slice, bit-plane render and file download runs exclusively inside your browser tab. Neither the carrier file nor your hidden text is ever transmitted to a server.