Not all image files are built the same. A JPG and a PNG can both contain metadata, but the metadata lives in different structures, survives different processes, and requires different approaches to remove.
I learned this the hard way when I ran a "metadata removal" script over a folder of mixed formats. The JPGs came out clean. The PNGs kept their text chunks. The HEIC files broke entirely. Here is what I wish I had known first.
Remove EXIF From JPG
JPG (or JPEG) is the most metadata-heavy format. A single JPG can carry three separate metadata blocks:
- **EXIF**: Camera data, GPS, timestamps, exposure settings. - **XMP**: Adobe-extensible metadata, often added by editing software. - **IPTC**: Caption, keywords, copyright, photographer name.
A proper removal tool must address all three. Many tools only strip EXIF and leave XMP and IPTC intact. Those leftover blocks can still contain your name, copyright notices, and editing history.
To strip all metadata from a JPG:
Using ExifTool: bash exiftool -all= -overwrite_original photo.jpg
Using NovelCrypt's Metadata Remover: Drop the JPG file into the tool. It removes EXIF, XMP, and IPTC in one pass. The output is a clean JPG with identical image quality.
The command-line approach is fast for power users. The browser tool is better for one-off files and for people who do not want to install software.
Remove EXIF From PNG
PNG handles metadata differently. PNG does not use EXIF in the traditional sense. It uses **tEXt chunks** and **iTXt chunks** to store textual metadata. Some cameras and editing tools also embed XMP inside PNG files.
The challenge with PNG is that many metadata removal tools were built for JPG and do not know how to handle PNG text chunks. I have seen tools that claim to strip PNG metadata while leaving the tEXt chunks fully intact.
To strip all metadata from a PNG:
Using ExifTool: bash exiftool -all= -overwrite_original image.png
ExifTool handles PNG text chunks correctly. It removes tEXt, iTXt, and any embedded XMP.
Using our browser tool: The NovelCrypt remover processes PNG files and strips all text chunks. I tested it against a PNG that contained a copyright notice in a tEXt chunk. The output file was clean.
One thing to note: PNG also supports an alpha channel for transparency. Removing metadata does not affect transparency. The image renders identically.
Remove EXIF From HEIC
HEIC (High Efficiency Image Container) is Apple's preferred format since iOS 11. It produces smaller files than JPG at similar quality. It also stores metadata in a structure based on the ISOBMFF (ISO Base Media File Format) standard.
HEIC metadata is complex. It can contain EXIF, XMP, and proprietary Apple tags. Some of these tags store depth information from the LiDAR scanner on newer iPhones. Others store computational photography data.
**The problem:** Many older tools cannot read HEIC at all. They either fail silently or output a corrupted file. If you try to strip metadata from a HEIC file with a tool built for JPG only, you risk breaking the file.
To strip metadata from a HEIC file:
Option one: Convert to JPG first, then strip. Open the HEIC in Preview on Mac, export as JPG, then clean the JPG. You lose the HEIC compression advantage but gain tool compatibility.
Option two: Use ExifTool (version 12 or later supports HEIC): bash exiftool -all= -overwrite_original photo.heic
Option three: Use our browser-based tool, which handles HEIC natively. Drop the file in, get a clean HEIC back. No conversion needed.
Strip Metadata From WebP
WebP is Google's modern image format, used heavily on the web for its small file sizes. WebP can contain EXIF, XMP, and ICC profile data.
WebP metadata removal is less commonly discussed because most WebP files are generated by servers and already cleaned. But if you create WebP files from photos, they can carry metadata from the source image.
To strip metadata from WebP:
Using ExifTool: bash exiftool -all= -overwrite_original image.webp
Using our tool: NovelCrypt's remover supports WebP. Drop the file in and download the cleaned version.
WebP supports both lossy and lossless compression. Metadata removal does not affect either. The image quality is preserved.
The Metadata You Forget About
Beyond EXIF, XMP, and IPTC, image files can contain:
- **ICC color profiles**: Not personal data, but they can reveal what device or editing software you used. - **Maker Notes**: Proprietary data from camera manufacturers. Canon EOS R5 Maker Notes can include focus points, lens distortion correction data, and shot-specific settings. - **Thumbnails**: Embedded preview images. These sometimes retain metadata that was stripped from the main image.
A thorough removal tool handles all of these. A lazy one handles only EXIF and calls it done. Our deep dive into what EXIF reveals covers exactly what information hides in each tag type.
Test Your Results
After removing metadata, always verify. Open the cleaned file in a metadata viewer. Check for:
- Any GPS fields - Any DateTime fields - Any camera Make or Model fields - Any XMP or IPTC blocks - Any Maker Notes
If any of these survive, the removal was incomplete. Run the file through a more thorough tool.
Clean metadata does not require sacrificing image quality. It requires using the right tool for the right format. Match the format to the method and your files come out clean every time.,