Title: Strip Image Metadata
Author: Martin von Berg
Published: <strong>August 11, 2023</strong>
Last modified: August 25, 2026

---

Search plugins

![](https://ps.w.org/strip-image-metadata-for-jpg-and-webp/assets/banner-772x250.
png?rev=2951974)

![](https://ps.w.org/strip-image-metadata-for-jpg-and-webp/assets/icon.svg?rev=2951969)

# Strip Image Metadata

 By [Martin von Berg](https://profiles.wordpress.org/martinvonberg/)

[Download](https://downloads.wordpress.org/plugin/strip-image-metadata-for-jpg-and-webp.1.8.0.zip)

 * [Details](https://en-ca.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/#developers)

 [Support](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/)

## Description

WP Strip Image Metadata is a privacy focused WordPress plugin that helps in removing
potentially sensitive metadata from your uploaded images. It strips image metadata
on upload or via bulk action, and view image EXIF data.

This Plugin is based on the Plugin “WP Strip Image Metadata” from the WordPress.
org plugin repository here: https://wordpress.org/plugins/wp-strip-image-metadata/

This Plugin extends the Functionality of “WP Strip Image Metadata” with the following
Functions:

#### Extended Functionality

 * Handle AVIF and WEBP-Images, too.
 * set / add / change Copyright, Artist or Credit Information in JPG and WEBP images
   Files.
 * Set an upper Size Limit for the Stripping. All Files with Width greater than 
   Size Limit won’t be stripped.
 * Show some more Information in the Image Edit Panel
 * Set a Minimum version for Imagick (3.4.4) and Gmagick (2.0.5) to handle files
   at all. Gmagick is still limited in functionality.

#### Preparation of Copyright Template Files

Both Imagick and Gmagick do not allow to set EXIF-Metadata directly. The author 
of this plugin does not know an Open Source PHP or WordPress Function with appropriate
License to set metadata in an Image File. So a Template File is used that has to
be prepared by the user. It’s only possible to use one template File for
 one Artist,
only! The Plugin uses one Template File for the whole site. So, if you are on a 
Multi-User-Site this Plugin is not for you.

 1. Prepare a JPG, WEBP and AVIF File with very small size, e.g. 100×100 or so. Image
    dimensions do not matter, here.
 2. Strip all Metadata with exiftool (current version writes avif and webp, too):
 3. `exiftool.exe -all= ./yourfile.jpg -o copyright.jpg
     exiftool.exe -all= ./anotherfile.
    webp -o copyright.webp exiftool.exe -all= ./aviffile.jpg -o copyright.avif
 4. Add the Copyright (or other) EXIF-Metadata you prefer with Exiftool like so
 5. `exiftool.exe -copyright="Copyright by User of the Plugin and Site" ./copyright.
    jpg
     exiftool.exe -artist="User of the Plugin and Site" ./copyright.jpg

The other functionality of the Plugin was not changed so the original Readme follows
herafter.

#### Original Description

Strip image metadata on upload or via bulk action, and view image EXIF data.
 WP
Strip Image Metadata is a privacy focused WordPress plugin that helps in removing
potentially sensitive metadata from your uploaded images.

#### What is image metadata?

Image metadata is extra information embedded in image files. This information is
stored in a variety of formats and contains items like the model of the camera that
took a photo.
 However, image metadata may also contain identifying information 
such as the GPS location coordinates of an image taken with a smartphone for example.
This plugin provides an easy enabled/disabled setting so you can make the call on
when image metadata should be removed. **Note**: this plugin requires the “Imagick”
or “Gmagick” PHP extension to function. Imagick is much better.

## Screenshots

[⌊Plugin settings page⌉⌊Plugin settings page⌉[

Plugin settings page

[⌊Viewing image EXIF details⌉⌊Viewing image EXIF details⌉[

Viewing image EXIF details

[⌊Bulk action for stripping image metadata⌉⌊Bulk action for stripping image metadata⌉[

Bulk action for stripping image metadata

## Installation

 1. Install the plugin through the WordPress plugins screen.
 2. Activate the plugin on the WordPress plugins screen.

#### Configuring

EN: You configure the plugin in _Settings > Strip Image Metadata_. DE: Die Konfiguration
erfolgt in _Settings > Metadaten entfernen_.

## FAQ

### Does it work with the new Client-Side Media Processing (WP V7.1+)

No. Currently, the plugin does not process images that WordPress generates using
Client-Side Media Processing when uploading images directly in the Block Editor.

The plugin continues to work normally when images are uploaded through the Media
Library.

By default, WordPress removes EXIF, IPTC, XMP, and therefore also embedded copyright
information from the generated image sizes. This also applies to the -scaled image
created when an uploaded image exceeds the WordPress big image size threshold (2560
px by default). In this case, the original image may still contain the metadata,
but the -scaled image used by WordPress as the full-size web image does not contain
the embedded copyright information.

Good news: You can use this plugin’s Remove Metadata function afterwards (also it
should be called ‘Add Metadata’ now). It can remove unwanted metadata and then add
the configured copyright information again. If you set the plugin’s size threshold
high enough, this can also be applied to all generated WordPress image sizes, including
the -scaled image.
 The same can be done for multiple existing images using the 
plugin’s batch processing function.

### How will I know if I have the required Imagick or Gmagick extension on my site?

If you aren’t sure, after installing the plugin, in WP Admin navigate to: Settings
> Strip Image Metadata

Under “Plugin Information” it will show if the required extension is active on the
site or not and it the minimum required version is met.

If a compatible extension is not found, try asking your webhost or system administrator
if either one can be enabled.

### Can I remove metadata from images uploaded before installing this plugin?

Yes, there is a bulk action included. In WP Admin navigate to the Media library 
and make sure you are using the List view.

Select which images you’d like to strip metadata from and then select the “WP Strip
Image Metadata” bulk action.

NEW: This is controlled now by the client (browser) and manages many files, too.
But with some drawbacks: Leave it running once it has started. It shows a status
message at the top. It will stop if you close the Browser, Browser Tab or Window.
See assessment in changelog.

OLD: This can be a resource intensive process, so please only select a handful of
images at one time for processing. This is the fallback if javascript is not activated.

### Will this work for all generated image subsizes (thumbnails)?

Yes, if metadata stripping is enabled then all generated subsizes, depending on 
Size Limit, at the time of upload will have the metadate removed.

The included bulk action will also remove metadata from all subsizes as well, depending
on Size Limit.

### How do I know it’s working?

In WP Admin, from your Media library you can select an image and click “Edit” (in
List view) or “Edit more details” (in Grid view).

On the Edit page for the image, there will be an admin notice at the top with the“
expand for image EXIF data” text. The Top Line shows, without expansion, the number
of bytes for the different file sizes. This should work for jpg/jpeg, avif and webp
files, but other image types may not display EXIF info.

You might try uploading a test image with the “Image Metadata Stripping” setting
disabled, and then the same image again with the setting enabled to view the difference.

Here are some good sample images for testing: https://github.com/ianare/exif-samples/
tree/master/jpg/gps

Popular image editing applications such as Photoshop or Affinity Photo also have
the capability to inspect image metadata which can prove useful. On the Commandline
Exiftool or Exiv2 provide very good information.

### Once image metadata has been stripped, is it reversible?

No, removing image metadata is permanent. If you would like the metadata kept, you
should keep an offsite backup copy of your images.

### What file types does this plugin work for?

By default the plugin will process jpg/jpeg, avif and webp files.

### What do the plugin settings do?

 * Image Metadata Stripping: whether image metadata is stripped from new uploads.
 * Preserve ICC Colour Profile: whether to keep image colour information which is
   helpful to some applications.
 * Preserve Image Orientation: whether to keep image orientation which can help 
   rotate images as intended.
 * Set / Keep Copyright: whether to set / change or keep Copyright Information based
   on Template Files.
 * Size Limit: Only strip Images Files which width is SMALLER than size Limit.
 * Log Errors: whether to log error output which can be helpful for debugging purposes.

## Reviews

![](https://secure.gravatar.com/avatar/bb5e35fe53c30ba9f7cc6ccbf2ffa29d5d3e900e6134ecadccda8c9612f9f23e?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-10087/)󠁿

 [ximbor](https://profiles.wordpress.org/ximbor/) October 21, 2023

Thank you Martin for making this plugin! Works perfectly. Really appreciate the 
work you put into making it. You saved me a real headache of having to edit all 
this meta data manually from 1000+ images ❤

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/)

## Contributors & Developers

“Strip Image Metadata” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Martin von Berg ](https://profiles.wordpress.org/martinvonberg/)

“Strip Image Metadata” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/strip-image-metadata-for-jpg-and-webp/contributors)
for their contributions.

[Translate “Strip Image Metadata” into your language.](https://translate.wordpress.org/projects/wp-plugins/strip-image-metadata-for-jpg-and-webp)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/strip-image-metadata-for-jpg-and-webp/),
check out the [SVN repository](https://plugins.svn.wordpress.org/strip-image-metadata-for-jpg-and-webp/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/strip-image-metadata-for-jpg-and-webp/)
by [RSS](https://plugins.trac.wordpress.org/log/strip-image-metadata-for-jpg-and-webp/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 1.8.0 – 2026-08-25

 * bug fix in method ‘get_gps_data’ from BinaryExifExtractor for wrong formatted
   tags.

### 1.7.0 – 2026-08-13

 * Update Readme and add some project documentation
 * Changed file handling for Bulk Meta Stripping: Now treated by single requests
   from the client (browser). Errors and failure are now handled in browser. Assessment:
   
   Advantages — No dedicated background process required — Progress can be displayed
   immediately in browser. Users can immediately see which image is currently being
   processed — A single error does not stop the entire batch process — No long-running
   requests — Works even if WP-Cron or loopback requests are disabled — Short Request
   ID without all Media-IDs. Disadvantages — The browser tab must remain open during
   processing — Navigating away from or closing the tab interrupts the process immediately—
   Network interruptions require retry and resume logic — Multiple administrators
   or multiple tabs may start competing batch processes — Processing is not truly
   asynchronous on the server side
 * improve EXIF-Meta Output in Admin and consistent usage of settings[‘strip_active’]
 * Replace setting of Orientation-Tag by rotating the final image. Only done for
   imagick! Reason: imagick can’set the orientation tag in images without any metadata.
 * Update Translations for de_DE
 * Test with WP 7.1 RC3.

### 1.6.0 – 2026-04-05

 * Rework of main class to strip metadata to remove static principles and to use
   separate file. Add an uninstall.php. Use PHPStan Level 8. Replaced Extractor 
   by the shared Extractor.
 * Test with WP 7.0.
 * Renamed the Plugin to strip-image-metadata or ‘Strip Image Metadata’

### 1.5.0 – 2026-04-01

 * Bugfix in extractMetadata.php
 * Test with WP 7.0 RC2 locally.

### 1.4.2 – 2025-12-03

 * Tested with WordPress 6.9.0.

### 1.4.2 – 2025-09-08

 * Minor update for PHP deprecation message. Tested with WordPress 6.8.2.

### 1.4.1 – 2025-04-15

 * Tested with WordPress 6.8. Works. No Changes.

### 1.4.1 – 2024-11-08

 * Tested with WordPress 6.7. Minor PHP Bugfix.

### 1.4.0 – 2024-10-21

 * added AVIF-support, increased minimum PHP-version following the WP recommendation,
 * Minor PHP Bugfixes, e.g. updated focal length extraction for full-frame cameras.
 * Changed the Imagick / GD check for supported files. Removed the version check
   completely.
 * Tested with WordPress 6.6.2

### 1.3.0 – 2024-07-17

 * Tested with WordPress 6.6.

### 1.3.0 – 2024-04-03

 * Tested with WordPress 6.5.

### 1.2.0 – 2023-10-21

 * Tested with WordPress 6.4. Bugfix for PHP 7.4 (mixed return type was wrong)

### 1.2.0 – 2023-08-09

 * Tested with WordPress 6.3. First upload to Plugin-Directory.

### 1.2.0 – 2023-07-26

 * Added checking of WP Nonces for security.

### 1.2.0 – 2023-07-26

 * Formatting change for WPCS rules. Code change w/o functional change to follow
   plugin Plugin Rules. Mind: Semantic versioning will be changed correctly AFTER
   upload to the WP plugin directory.

### 1.2.0 – 2023-07-01

 * Added a Button for stripping the image in media details view.

### 1.2.0 – 2023-07-01

 * Updates for adding Plugin to WordPress.org official directory. (Escaping for 
   4 echo added.). Updated this readme.

### 1.2.0 – 2023-05-02

 * Updates for translation including bugfixes and German translation added.

### 1.1.0 – 2023-05-01

 * Updates for phpstan check with level 8. Only 8 error messages remain, but these
   are due to inconstent type definitions in WP functions. No functional changes.
   Readme update.

### 1.0 – 2023-04-27

 * Initial plugin release based on the work of Samiff

## Meta

 *  Version **1.8.0**
 *  Last updated: **3 months ago**
 *  Active installations: **300+**
 *  WordPress Version: ** 6.0 or higher **
 *  Tested up to: **7.1.4**
 *  PHP Version: ** 8.0 or higher **
 *  Language:
 * [Czech](https://cs.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/),
   [English (US)](https://wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/),
   and [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/strip-image-metadata-for-jpg-and-webp)
 * Tags:
 * [exif](https://en-ca.wordpress.org/plugins/tags/exif/)[image](https://en-ca.wordpress.org/plugins/tags/image/)
   [metadata](https://en-ca.wordpress.org/plugins/tags/metadata/)[privacy](https://en-ca.wordpress.org/plugins/tags/privacy/)
   [strip](https://en-ca.wordpress.org/plugins/tags/strip/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/strip-image-metadata-for-jpg-and-webp/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/reviews/)

## Contributors

 *   [ Martin von Berg ](https://profiles.wordpress.org/martinvonberg/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/strip-image-metadata-for-jpg-and-webp/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQA6XZ7LUMBJQ)