Stego Scanner

Detect hidden data in images using Least Significant Bit analysis, chi-square testing, and entropy calculation. Visualize what the naked eye cannot see.

1,500+ images analyzed

Drag & drop a file here, or

JPG PNG WebP GIF BMP AVIF Max 50MB • PNG/BMP best for LSB • Processed in browser

LSB Visualization

Extracts and amplifies the least significant bit of each color channel, revealing patterns invisible to the eye.

Statistical Testing

Chi-square test and Shannon entropy quantify how likely it is that LSB values were artificially modified.

100% Private

All analysis runs locally in your browser using Canvas API. Nothing is uploaded to any server.

How steganography detection works

Steganography hides data inside images by modifying the least significant bits of pixel color values — changes too small for the human eye to notice. The Stego Scanner extracts these LSB planes and amplifies them to full brightness, revealing hidden patterns that indicate embedded messages, files, or encoded data. The tool also runs a chi-square test on the LSB distribution of each color channel to detect statistical anomalies characteristic of sequential bit embedding. Combined with Shannon entropy measurement, these techniques flag images that may carry covert payloads. For metadata-level forensics, use the Authenticity Checker alongside this tool.

Who uses steganography analysis

OSINT researchers analyze images shared on social media and messaging platforms to detect covert communication channels. Law enforcement and digital forensics teams examine seized devices for hidden data in image files. Cybersecurity professionals scan incoming attachments for data exfiltration attempts disguised as ordinary photos. CTF (Capture The Flag) competitors use LSB analysis tools to solve steganography challenges. Journalists verify whether whistleblower-supplied images contain embedded metadata or hidden messages beyond visible content. For detecting AI-generated images, pair this with the AI Detector.

Best image formats for analysis

PNG and BMP are the best formats for steganography detection because they use lossless compression that preserves exact pixel values, including the least significant bits where data is typically hidden. JPEG uses lossy compression that alters pixel values during encoding, effectively destroying any LSB-embedded data — which is why the tool shows a warning for JPEG inputs. WebP lossless mode preserves pixel data and works well for analysis. If you receive a suspicious JPEG, the hidden data may have already been destroyed by compression, or the sender may have used a JPEG-aware steganography method that embeds data in DCT coefficients instead of pixel LSBs. For pixel-level manipulation detection beyond steganography, try the ELA Scanner.

Understanding chi-square and entropy

The chi-square test groups pixel values into even-odd pairs and checks whether the distribution within each pair is balanced. In a natural image, these pairs show natural variation. Sequential LSB embedding forces pairs toward a 50/50 split, producing chi-square values converging to 1.0 across all channels — a strong indicator of hidden data. Shannon entropy measures how random the LSB values are on a scale from 0 to 1 bit. Natural images typically show high entropy (close to 1.0) because pixel noise is inherently random, but encrypted stego payloads push entropy even higher. When high entropy combines with chi-square values near 1.0, the probability of embedded data increases significantly. For file integrity verification, use the File Hash Scanner.

Image steganography has been used for covert communication since the early days of digital imaging, and remains relevant in cybersecurity, intelligence analysis, and competitive hacking. The most common technique — LSB substitution — replaces the lowest bit of each color channel with a bit of the hidden message, changing pixel values by at most 1 unit out of 255. This produces visually identical images that carry kilobytes or even megabytes of hidden data. The Stego Scanner visualizes these changes by isolating the LSB plane, where embedded data appears as structured patterns rather than natural noise. Combined with the Screenshot Scanner to identify image origin and the Similarity Scanner to compare a suspicious image against a known original, Scanly provides a comprehensive forensic analysis pipeline — all running privately in your browser with no data ever sent to a server.

Frequently Asked Questions

What is steganography?
Steganography is the practice of hiding data inside ordinary-looking files, most commonly images. The most widespread technique modifies the least significant bit (LSB) of each pixel's color values to encode hidden messages, files, or encrypted payloads. The visual difference is imperceptible — a pixel value of 200 vs 201 is invisible to the human eye.
Can this tool extract hidden messages from images?
The Stego Scanner detects whether hidden data is likely present, but it does not extract or decode the hidden content. Extracting embedded data requires knowing the specific steganography tool and password used to encode it. This scanner focuses on detection through statistical analysis and LSB visualization.
Why does JPEG give limited results?
JPEG uses lossy compression that alters pixel values to reduce file size. This process destroys the least significant bits where LSB steganography hides data. If an image was originally PNG with hidden data and then converted to JPEG, the hidden data is almost certainly destroyed. For reliable analysis, use PNG or BMP images.
What does "chi-square close to 1.0" mean?
The chi-square test checks whether even and odd pixel values are equally distributed within each value pair. In natural images, this distribution varies. Sequential LSB embedding forces pairs toward a perfect 50/50 split, producing chi-square values converging to 1.0. Values consistently between 0.95 and 1.05 across all three color channels are a strong indicator of embedded data.
Are my images uploaded to a server?
No. All steganography analysis runs entirely in your browser using the Canvas API. Your images never leave your device — no data is transmitted, stored, or logged. This is especially important for forensic analysis where evidence integrity and chain of custody matter.