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.
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.
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.
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.
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.
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.
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.
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.
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.
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 |
|---|---|
| Images | JPEG, PNG, WEBP, GIF, BMP, AVIF, HEIC, TIFF |
| Video | MP4, MOV, AVI, MKV, WEBM, FLV, WMV |
| Audio | MP3, WAV, FLAC, AAC, OGG, M4A, OPUS |
| Documents | PDF, DOCX, XLSX, PPTX, EPUB |
| Archives | ZIP, RAR, 7Z, TAR, GZ, BZ2 |
| Design & system | PSD, AI, FIG, SKETCH, XCF, EXE, APK, ISO, DMG, DEB |
Who uses this and why
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
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.