Metadata Remover

Metadata Remover API

Security

Strip EXIF metadata (GPS location, camera details and timestamps) from your images before you share them. Runs entirely in your browser.

Authentication

All API requests require a valid API key passed in the Authorization header as a Bearer token.

Rate Limit

20 requests per minute

Endpoints

1 endpoint available

Overview

Remove all metadata from an image: EXIF (camera, serial number, timestamps), GPS location, XMP, IPTC and the ICC profile. Send the image as multipart form data in the file field. The response body is the clean image file.

Notes

  • Accepted input: JPEG, PNG, WebP, GIF, AVIF, TIFF and SVG, up to 20 MB and 50 megapixels. BMP, ICO and HEIC files return 415. Animated GIFs use the first frame.
  • The image is re-encoded, the same as the web page: JPEG and WebP at quality 92, PNG losslessly. Choose png for a lossless copy of any input.
  • original keeps JPEG, PNG and WebP in their format; other inputs (GIF, AVIF, TIFF, SVG) are saved as PNG.
  • The EXIF orientation is applied to the pixels first, so photos stay the right way up.
  • To see what a file contains before cleaning it, use the File Metadata Explorer API.

Endpoints

POST
https://opentools.ca/api/v1/tools/metadata-remover
Return a copy of an image with all metadata removed

Request Body

Content-Type: multipart/form-data

ParameterTypeRequiredDescription
file
file
Required
The image, up to 20 MB and 50 megapixels. JPEG, PNG, WebP, GIF (first frame), AVIF, TIFF or SVG.
format
string
Enum: original, jpeg, png, webp
OptionalOutput format. "original" keeps JPEG, PNG and WebP; anything else becomes PNG.Default: original

Response Example

HTTP/1.1 200 OK
Content-Type: image/jpeg
Content-Disposition: attachment; filename="IMG_0001-clean.jpg"

<binary file data>

Error Codes

400
Bad Request - Missing file or unknown format
401
Unauthorized - Invalid or missing API key
403
Forbidden - API key is inactive or expired, or the request IP is not allowed
413
Payload Too Large - File over 20 MB or image over 50 megapixels
415
Unsupported Media Type - Not an image the server can read (BMP, ICO and HEIC are not supported)
429
Too Many Requests - Rate limit exceeded
500
Internal Server Error

Code Examples

curl -X POST https://opentools.ca/api/v1/tools/metadata-remover \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@IMG_0001.jpg" \
  -o IMG_0001-clean.jpg

Ready to get started?

Create an API key to start using the Metadata Remover API.

Rather use it in your browser? Open the Metadata Remover