LOCAL IMAGE TOOL Never uploaded

Image Steganography

Hide a private note inside an image, or reveal one already there. Canvas LSB keeps every operation in this browser — no uploads, no accounts.

01 / IMAGE

Choose a carrier image

PNG output · RGB LSB
Drop an image hereor click to browse · PNG, JPG, WebP
02 / MESSAGE

Write your hidden note

0 bytes
Lightweight XOR
not encryption
Choose an image to get started.

About image steganography

Steganography hides a message in ordinary-looking media. This tool uses the least-significant bit (LSB) of each RGB channel, so changing a channel by one is normally invisible. The encoded result is always downloaded as a lossless PNG.

Capacity and compatibility

Capacity is calculated from width × height × 3 bits, minus a small header used to identify the message and verify its password. JPEG and WebP images can be used as carriers, but the output must remain PNG: saving hidden bits through lossy compression can destroy them.

Where it breaks down

The payload is hidden in the least significant bit of every colour channel. After a magic marker and a 13-byte header carrying the length and a checksum, the message bytes are spread across the red, green and blue values of the canvas pixels one bit at a time, which changes each channel by at most one step — invisible in a photograph and easily missed in a flat colour. The result is always written as a lossless PNG, because any lossy re-compression would destroy the altered bits. A passphrase, when you supply one, is stretched into a keystream with an FNV-1a hash and XORed over the payload before embedding, so the hidden bytes are not plainly readable in the pixel data. Extraction runs the same walk in reverse, checks the marker and hands back the message.

Formats, sizes and other limits

Capacity is a hard arithmetic limit: three bits per pixel means roughly one byte for every two and a half pixels, and the capacity readout tells you the ceiling before you start, so a long message needs a large image. The XOR keystream is obfuscation rather than modern cryptography — it hides the text from a casual look at the bits but is not a substitute for real encryption. Editing the PNG afterwards breaks the payload: cropping, resizing, screenshotting, converting to JPEG or letting a chat app re-compress it will corrupt or erase the message, and so will some photo hosts. Colour-channel rounding during extraction also means an image processed by another editor can fail the checksum even when it looks unchanged.

Privacy: no data leaves this tab

The carrier image and the message are combined on a canvas in this tab and saved as a PNG by your browser; the passphrase never leaves the page either, since it is used only to derive the keystream locally. There is no upload, no key escrow and no record of what was hidden.

Frequently asked questions

How long a message can I hide?

About one byte per two and a half pixels — a 1920 by 1080 photo holds roughly 750 kilobytes, so several thousand characters fit comfortably. The capacity figure shown above the editor is the exact limit for the image you loaded.

Is the passphrase real encryption?

No. It XORs the payload against a keystream derived from an FNV-1a hash, which masks the text from anyone inspecting raw bits but offers no cryptographic guarantee. Treat it as obfuscation and encrypt separately if the content is genuinely sensitive.

Why does extraction fail after I sent the image through a chat app?

Because most messengers re-compress or resize pictures, and the payload lives in the last bit of each channel, which is the first thing a lossy encoder throws away. Send the PNG as a file attachment, or keep it in cloud storage that stores bytes unchanged.