EXIF Viewer / Remover API
Category: security
View complete EXIF data from images and optionally strip all metadata for privacy. Runs entirely in the browser using exifr and Canvas.
Endpoint
N/A
Browser API (exifr + Canvas)
No Server API
Response
Content-Type: N/A
This tool reads and strips EXIF data in the browser using exifr and Canvas. No server-side API is available.
// Browser-only: uses exifr + Canvas
cURL Example
# No cURL equivalent — this tool runs in the browser
Code Samples
// EXIF removal using Canvas (strips all metadata)
const img = new Image();
img.onload = () => {
const canvas = document.createElement('canvas');
canvas.width = img.naturalWidth;
canvas.height = img.naturalHeight;
canvas.getContext('2d').drawImage(img, 0, 0);
canvas.toBlob(blob => {
// blob is a clean image with no EXIF data
}, 'image/jpeg', 0.95);
};
img.src = URL.createObjectURL(file);
# EXIF removal in Python:
from PIL import Image
img = Image.open('photo.jpg')
data = list(img.getdata())
clean = Image.new(img.mode, img.size)
clean.putdata(data)
clean.save('clean.jpg')
// EXIF removal in Java:
// Read image, write to new file without metadata:
// BufferedImage img = ImageIO.read(new File("photo.jpg"));
// ImageIO.write(img, "jpg", new File("clean.jpg"));