A WordPress must-use plugin that automatically removes all metadata (EXIF, IPTC, XMP, etc.) from uploaded images.
Clean Image Metadata strips sensitive and unnecessary metadata from images when they're uploaded to your WordPress site. This includes:
- EXIF data (camera information, GPS coordinates, date/time)
- IPTC data (copyright, credits, keywords)
- XMP data (AI generation information, editing history)
- Other embedded metadata
The plugin works silently in the background, requiring no configuration or user interaction.
- Prevents leakage of sensitive location data
- Removes device and software identifiers
- Eliminates timestamps and other sensitive information
- Removes AI attribution information that could lead to content discrimination
- Eliminates potential biases based on equipment, location, or creator identity
- Creates a level playing field for all images regardless of origin
- Potentially smaller file sizes
- Reduced risk of metadata-based vulnerabilities
- Simplified image asset management
As a must-use plugin, installation is straightforward:
- Upload the
clean-image-meta.php
file to your/wp-content/mu-plugins/
folder - The plugin activates automatically (no action required in WordPress admin)
- All new image uploads will now have metadata automatically removed
If your site doesn't have a mu-plugins
directory, create it in your wp-content
folder first.
The plugin:
- Hooks into WordPress's upload process to intercept image files
- Uses PHP's GD library to process images and strip metadata
- Falls back to ImageMagick if available when needed
- Preserves image quality and visual appearance
- Handles all common image formats (JPEG, PNG, WebP, GIF)
- Processes both original uploads and all generated image sizes/thumbnails
If you encounter issues:
- Ensure your server has GD library installed and enabled
- Check that your WordPress installation has proper file permissions
- For large images, verify your PHP memory limits are sufficient
- Test with different image formats if experiencing format-specific issues
For questions, feature requests, or bug reports, please contact the plugin author.