Privacy Guide

How to Hide Files
Inside an Image

You can hide any file, a document, a video, an archive inside an ordinary image, and the photo will still open normally. Your hidden files stay private while the image continues to work like a regular file. Here is exactly how to do it.

What is steganography?

Steganography is the practice of hiding information inside another file so that the existence of the hidden content is not apparent. The word comes from the Greek steganos (covered) and graphein (to write), literally, "covered writing."

It is fundamentally different from encryption. Encryption makes content unreadable, but it is still visible, anyone can see that an encrypted file exists. Steganography makes content invisible, the hidden file is not apparent at all. The best privacy combines both: FileVeil hides your file and encrypts it.

Key distinction

Encryption protects what is inside a file.
Steganography hides where the file is stored.
FileVeil combines both to help keep your files private.

Steganography has legitimate uses across many fields, journalists protecting source documents in the field, security researchers testing detection tools, legal professionals handling sensitive case files, and individuals who want to store personal documents without attracting attention.

Want the full picture, history, technique, and how it differs from encryption? Read our complete guide: What Is Steganography?

How hiding files inside images works

At a technical level, a JPEG or PNG file is a sequence of bytes that a viewer interprets as pixel color values. The key insight is that digital images contain far more data than the human eye can perceive. By carefully embedding data into parts of the image structure the eye cannot distinguish, a hidden payload can be stored without any visible change.

There are two primary approaches:

Append-based embedding

Data is appended after the image's end-of-file marker. The image viewer reads up to the marker and stops, displaying the image normally, while the hidden data sits silently after it. This is the most common method and works reliably, though dedicated forensic tools can detect the trailing data if they specifically look for it.

Structure-based embedding (Stealth Mode)

More advanced: hidden data is embedded inside the file's own structural segments, metadata blocks, comment fields, or format-specific containers, instead of simply being added after the file. FileVeil's Stealth Mode uses this approach for JPG, PNG, MP3, and PDF cover files, making hidden content blend more naturally with the cover file structure; other supported cover formats fall back to standard append-based embedding.

Important limitation

If someone re-encodes or recompresses the image after hiding files inside it, for example, if a messaging app recompresses photos before sending, the hidden content may be lost. Always send the file as a document or attachment, not as a media upload, to preserve the hidden content.

Step-by-step: hide a file inside an image

The following steps use FileVeil, which runs entirely in your browser. Nothing is uploaded. Nothing is installed. It works on Windows, macOS, Linux, Android, and iOS.

01

Open FileVeil in your browser

Go to fileveil.com. No account required to start. No installation. The app loads directly in your browser. Pro and Pro+ users can install FileVeil as a PWA and use it fully offline without an internet connection.

02

Select your cover image

Choose the image you want to use as the "cover", the file that will visibly contain the hidden content. Supported formats include JPEG, PNG, WEBP, GIF, BMP, AVIF, HEIC, and TIFF. The image must be large enough to accommodate the hidden file.

03

Select the files to hide

Choose one or more files to hide inside the image. FileVeil accepts any file type, documents, spreadsheets, videos, archives, source code, anything. Pro and Pro+ users can hide multiple files at once; Pro+ users can mix different file types in a single cover file.

04

Add an encryption key

FileVeil encrypts hidden content using AES-256-GCM, a widely adopted encryption standard used across modern security systems. Setting your own custom encryption key is a Pro and Pro+ feature; without it, content is still encrypted, but not to a key only you choose. Pro+ users can additionally enable Strong Encryption mode (300,000 PBKDF2 iterations) for increased resistance against brute-force attempts.

05

Download the veiled image

Click to create and download the output file. It looks identical to the original image. It opens in any viewer. It passes a visual inspection with no difference. Store it, share it, or post it, the hidden file goes with it silently.

06

Extract hidden files when needed

To retrieve the hidden content, open FileVeil on any device, load the veiled image, enter your encryption key, and extract. The original files are restored exactly, same name, same size, same content.

All processing is local

Every step above happens entirely on your device. FileVeil never receives your files, your encryption key, or any knowledge that you are hiding anything. There is no server-side processing, no upload, and no log of your activity.

What files can be hidden and inside what

What you can hide: any file type. Documents, spreadsheets, videos, audio, archives, executables, code files, databases, there are no restrictions on what can be hidden.

What you can use as a cover file: a broad range of common formats across six categories:

Category Supported formats
ImagesJPEG, PNG, WEBP, GIF, BMP, AVIF, HEIC, TIFF
VideoMP4, MOV, AVI, MKV, WEBM, FLV, WMV
AudioMP3, WAV, FLAC, AAC, OGG, M4A, OPUS
DocumentsPDF, DOCX, XLSX, PPTX, EPUB
ArchivesZIP, RAR, 7Z, TAR, GZ, BZ2
Design & systemPSD, AI, FIG, SKETCH, XCF, EXE, APK, ISO, DMG, DEB

Who uses this and why

⚖️
Legal professionals
Hide case files, contracts, and client documents inside ordinary photos before sharing or archiving.
📰
Journalists
Protect source documents and interview recordings when operating in high-risk environments.
🔬
Researchers
Keep research data and unpublished findings private while collaborating across institutions.
🏢
Businesses
Protect financial reports, product plans, and internal files during transfer or remote storage.
💻
Developers & IT
Store recovery keys, configuration files, and sensitive backups inside inconspicuous files.
👤
Individuals
Keep IDs, passports, password backups, and personal documents private without relying on cloud services.
🎓
Students
Protect assignments, certificates, notes, and important personal files.
🏠
Families
Keep personal records, memories, and important documents private.
"The best privacy is the kind that doesn't announce itself. A file hidden in plain sight inside an ordinary photo attracts no attention, unlike an encrypted archive, which signals that something is being protected."

Encryption and security: what you need to know

Hiding a file without encryption is useful for casual privacy, the content is invisible, but not protected against someone who specifically runs it through a steganography detector. For sensitive content, always add an encryption key.

AES-256-GCM encryption

FileVeil encrypts hidden content using AES-256-GCM an authenticated encryption standard designed to protect confidentiality and integrity. AES-256 is widely used across modern security systems and is considered highly resistant against brute-force attacks when implemented correctly.

Strong Encryption mode (Pro+)

Pro+ users can enable Strong Encryption mode, which uses 300,000 PBKDF2 iterations for key derivation, three times the standard, significantly increasing the computational cost of any brute-force attempt. This is appropriate for high-sensitivity content.

Stealth Mode (Pro+)

Standard hiding appends data after the file's end-of-file marker, detectable by forensic tools that look for trailing data. Stealth Mode embeds hidden content inside the file's own structure for JPG, PNG, MP3, and PDF cover files, so the output is format-compliant and indistinguishable from an ordinary file under byte-level inspection. Other supported cover formats fall back to the standard append-based method above. The image still opens, the video still plays, nothing looks different.

Multi-layer file hiding (Pro+)

Pro+ users can hide files inside a cover file that already contains hidden content. Each layer is independently encrypted with its own key and requires a separate extraction pass. Multiple independent secrets can live inside the same ordinary-looking file, with no layer aware of the others.

Metadata removal (Pro+)

Images carry metadata GPS coordinates, device model, timestamp, camera settings that can identify you or your location. FileVeil Pro+ strips this metadata before embedding hidden files, ensuring that the cover image itself does not leak information about where or when it was created.

Remove hidden data (Pro+)

Hidden content can be permanently removed from a veiled file at any time without extracting it, restoring the cover file to its original state. The one exception: if Metadata Removal was enabled when the file was first hidden, that stripped metadata, location, device, timestamp cannot be brought back, since it was never retained in the first place.

What FileVeil cannot see

Because all processing is local, FileVeil never receives your files, your encryption key, or any data about what you are hiding. Encryption keys are derived and used entirely on your device. If you lose your key, the hidden content cannot be recovered, not by you, and not by FileVeil.

Tools compared: FileVeil vs legacy alternatives

Several steganography tools exist, but most were built for desktop environments and have not been maintained in years. The landscape has changed significantly with browser-based processing.

Tool Browser-based Cover formats Encryption Mobile Last updated
FileVeil Images, video, audio, docs, archives, design, system AES-256-GCM 2026
Steghide JPEG, BMP, WAV, AU only Rijndael-128 2008
OpenStego PNG, BMP AES-128 2023
SilentEye JPEG, BMP, WAV only AES-128 2012

The practical difference is significant. Legacy tools require installing software on a specific machine, restrict you to a narrow set of image formats, and have not received security updates in years. FileVeil runs on any device with a modern browser, requires no installation, and processes files locally with current encryption standards.

Frequently asked questions

Can you hide a file inside an image?
Yes. Using steganography, any file, documents, videos, archives, or code, can be embedded inside an ordinary image. The image continues to display normally, with no visible difference. Tools like FileVeil do this entirely in the browser, with no upload required.
Is hiding files inside images legal?
Yes, steganography is legal in most countries for personal privacy and security use. It is widely used by security researchers, journalists, and professionals worldwide to protect sensitive data. As with any tool, it must be used for lawful purposes.
Will the image look different after hiding a file?
No. The image looks and behaves exactly like the original. It opens in any viewer, displays normally, and passes a casual visual inspection. Only someone using the same tool and your encryption key can extract the hidden content.
Does hiding a file change the image file size?
Yes. The output image will be slightly larger, roughly the original image size plus the size of the hidden file. The size increase is unavoidable but predictable. FileVeil shows you the estimated output size before you download.
Can hidden files inside images be detected?
In standard mode, dedicated analysis tools can potentially detect changes in file structure. Stealth Mode (FileVeil Pro+) embeds hidden data inside supported file structures to make the output behave more naturally like a regular file.
What is the best tool to hide files inside images in 2026?
FileVeil is the most accessible modern option, browser-based, no installation, AES-256-GCM encryption, cross-platform, and free to start. Legacy tools like Steghide and OpenStego require desktop installation and have not been updated in years.
Can I hide multiple files inside one image?
Yes. FileVeil Pro and Pro+ allow you to hide unlimited files inside a single cover image. Pro+ also supports mixing different file types and adding multiple hidden layers, each independently encrypted.
Will hidden files survive being sent through WhatsApp or social media?
Not reliably. Most messaging apps and social platforms recompress images before delivery, which removes hidden content. For reliable transfer, send the file as a document or attachment, not as a photo using a platform that does not alter files in transit.

Hide your first file in under a minute

No installation. No account. No upload. Works on any device, entirely in your browser.
Free to start, upgrade only if you need larger files or advanced features.