How to Remove AI Image Metadata
— Written by Brendan, Founder of FileShot.io
AI image generators embed hidden metadata into every image they create. This metadata can identify the image as AI-generated, reveal the exact prompt used to create it, expose the model name and version, and even link back to your account. Whether you are a digital artist, marketer, or content creator, understanding what AI image metadata exists and how to remove it is essential for privacy and creative control.
What Metadata Do AI Image Generators Embed?
Different AI image generators embed different types of metadata. Here is what each major platform includes in the image data:
Stable Diffusion (Automatic1111 / ComfyUI)
Stable Diffusion outputs store generation parameters directly in the PNG text chunks or EXIF data. This typically includes:
- Full prompt text — The positive and negative prompt you typed
- Model name and hash — Which checkpoint model was used (e.g., "sd_xl_base_1.0")
- Sampler name — DPM++ 2M Karras, Euler a, etc.
- Steps, CFG scale, seed — All generation parameters needed to reproduce the image
- Image dimensions and denoising strength
- LoRA and embedding names — If you used fine-tuned models, their names are recorded
Anyone with a PNG metadata viewer can read the full prompt and reproduce your exact image. Several websites exist solely for extracting and searching Stable Diffusion prompts from shared images.
Midjourney
Midjourney images downloaded from Discord or the Midjourney website contain EXIF data that includes:
- EXIF Software field — Set to "Midjourney" (clearly identifying AI origin)
- C2PA manifest — Content Credentials that cryptographically certify the image was created by Midjourney
- Generation parameters — Depending on download method, may include prompt, aspect ratio, and style settings
DALL-E (OpenAI)
Images generated through DALL-E include:
- C2PA Content Credentials — Signed certification that the image is AI-generated by OpenAI
- IPTC DigitalSourceType — Set to "trainedAlgorithmicMedia" (an industry standard tag marking AI origin)
- XMP metadata — May contain additional provenance data
Adobe Firefly
Adobe Firefly images contain:
- Content Credentials (C2PA) — Full provenance chain showing the image was created in Adobe Firefly
- IPTC metadata — Including DigitalSourceType and creator information
- Adobe-specific XMP fields
What Is C2PA and Why Does It Matter?
C2PA (Coalition for Content Provenance and Authenticity) is an industry standard for tamper-evident metadata. It creates a cryptographically signed chain of provenance for digital content. Major tech companies — Adobe, Microsoft, Google, OpenAI, and others — have adopted C2PA to label AI-generated content.
C2PA metadata is more persistent than standard EXIF. It is cryptographically signed, so altering it without removing it entirely will break the signature and flag the image as tampered. Social media platforms are beginning to read C2PA data and may label your uploads as "AI-generated" based on these tags.
If you want your AI-generated images to not be automatically flagged by platforms, you need to remove the C2PA manifest entirely — not just edit it.
What Is IPTC DigitalSourceType?
The IPTC (International Press Telecommunications Council) added a DigitalSourceType field in 2023 specifically to categorize how digital content was created. The relevant values for AI images are:
trainedAlgorithmicMedia— Fully AI-generated (DALL-E, Midjourney, Stable Diffusion)compositeSynthetic— A mix of real and AI-generated content (inpainting, outpainting)algorithmicMedia— Generated by an algorithm but not AI (fractals, procedural generation)
Stock photo platforms, news agencies, and social media networks are adopting IPTC DigitalSourceType as the standard way to detect AI-generated content. Getty Images, Shutterstock, and Adobe Stock all read this field.
How to Remove AI Image Metadata
There are several methods to strip AI-generated metadata from images, from simple to comprehensive.
Method 1: FileShot Metadata Scrubber (All Metadata, Free)
The fastest way to remove all metadata from any image, including AI generation tags:
- Go to FileShot Metadata Scrubber
- Drop your AI-generated image onto the page
- The scrubber strips all EXIF data, PNG text chunks, XMP data, IPTC fields, and C2PA manifests
- Download the clean image
The entire process runs in your browser. Your image is never uploaded to any server. This removes all metadata categories at once: EXIF, IPTC DigitalSourceType, C2PA Content Credentials, PNG parameters, and XMP provenance data.
Method 2: ExifTool (Command Line)
ExifTool is a free, open-source command-line tool that can read and remove metadata from virtually any image format.
To remove all metadata from an image:
exiftool -all= image.png
To specifically target AI-related fields:
exiftool -IPTC:DigitalSourceType= -XMP-dc:source= -XMP:all= image.png
To remove C2PA manifests, ExifTool alone may not be sufficient because C2PA data is stored in a JUMBF (JPEG Universal Metadata Box Format) container. For PNGs, removing all text chunks with ExifTool typically removes Stable Diffusion parameters but may leave C2PA data intact in some formats. For complete C2PA removal, use Method 1 or Method 3.
Method 3: Re-encode the Image
The most aggressive approach: open the image in any image editor and re-save it as a new file. This process strips all metadata because the editor writes only pixel data to the new file.
- PNG to PNG: Open in Paint (Windows), Preview (Mac), or GIMP. Save as a new file. All PNG text chunks, including Stable Diffusion parameters, are dropped.
- PNG to JPEG: Converting format guarantees all PNG-specific metadata (text chunks, JUMBF containers) is removed. The JPEG will contain only the pixel data and whatever metadata the editor adds (usually just basic resolution info).
- Screenshot method: Take a screenshot of the image at full resolution. The screenshot contains zero metadata from the original file. This is the simplest approach but may reduce image quality depending on your display resolution.
Method 4: Windows File Properties
- Right-click the image file
- Select Properties > Details tab
- Click "Remove Properties and Personal Information"
- Select "Create a copy with all possible properties removed"
- Click OK
Note: This removes standard EXIF and IPTC fields but may not remove PNG text chunks (Stable Diffusion parameters) or C2PA manifests. Use Method 1 or 3 for complete removal.
What Metadata Cannot Be Removed?
Metadata removal strips embedded data fields. It does not change the pixel content of the image. Some AI detection systems analyze the pixels themselves, not just the metadata, using techniques like:
- Spectral analysis — AI-generated images have different frequency patterns than photographs
- Watermarking — Some generators embed invisible watermarks directly into the pixel data (Google SynthID, Stable Signature). These survive metadata removal, re-encoding, and even light editing.
- Statistical fingerprinting — Machine learning models can detect AI-generated images from pixel-level statistical patterns
Metadata removal ensures that casual inspection, automated platform checks based on EXIF/C2PA/IPTC, and prompt extraction are no longer possible. However, it is not a guarantee against forensic-level pixel analysis.
When Should You Remove AI Image Metadata?
- Selling on stock platforms: Some platforms reject AI-generated images, and metadata makes detection automatic. Others require disclosure. Check the platform's policy before uploading.
- Protecting proprietary prompts: If you spent months fine-tuning a prompt that produces specific results, the full prompt embedded in the metadata is a trade secret risk.
- Avoiding social media labels: Platforms like Facebook, Instagram, and X are reading C2PA and IPTC data to automatically label images as "AI-generated."
- Privacy: Some AI generators embed your username or account ID in the image data. Metadata removal prevents tracing images back to your account.
- Combining AI and real content: If you use AI to enhance or modify real photographs (upscaling, background replacement), the AI metadata may misrepresent the final image as entirely AI-generated.
Ethical Considerations
Removing AI metadata to avoid disclosure is legal in most jurisdictions as of 2026. However, some contexts require transparency about AI use: journalism (AP and Reuters mandate AI disclosure), academic submissions, legal evidence, and regulated financial communications. If you are publishing AI-generated content in a context where authenticity matters, removing provenance metadata may create legal or ethical issues.
For personal creative work, commercial art, marketing materials, and general content creation, metadata removal is a standard privacy practice no different from stripping GPS location from photographs before sharing them online.
Frequently Asked Questions
Can social media platforms detect AI images without metadata?
Yes, but with lower accuracy. Platforms primarily rely on C2PA and IPTC metadata for automated detection. Without metadata, they fall back to AI-based pixel analysis classifiers, which have higher false positive rates and generally only flag images for review rather than automatically labeling them.
Does converting PNG to JPEG remove AI metadata?
It removes PNG-specific metadata (text chunks with Stable Diffusion parameters) but standard EXIF and IPTC fields can survive format conversion if the conversion tool preserves them. For a guaranteed clean result, use a dedicated metadata scrubber or strip metadata before converting.
Is it legal to remove AI image metadata?
In most jurisdictions, yes. Image metadata is data you own and control. There is no law requiring retention of AI provenance metadata for personal or commercial use. Exceptions may apply in contexts where content authenticity is legally required (e.g., court evidence, regulated advertising).
Does removing metadata affect image quality?
No. Metadata is stored separately from pixel data. Removing EXIF data, IPTC fields, C2PA manifests, and PNG text chunks does not alter a single pixel. The image looks identical before and after metadata removal.
Conclusion
AI image generators embed extensive metadata that can identify the source, reveal your prompt, and flag images as AI-generated on social media and stock platforms. To remove this metadata, use FileShot's Metadata Scrubber for a one-click solution that strips EXIF, IPTC, C2PA, XMP, and PNG text chunks entirely — all in your browser, with no upload to any server.
Related Guides
- How to Remove Metadata from PDF Files — strip hidden data from PDFs
- How to Remove Metadata from Video Files — strip GPS and camera data from videos
- Word Metadata Remover — remove hidden data from Word documents
- What Is Encrypted File Sharing? — protect cleaned files during transfer