CommunityImagegithub.com

image-metadata-privacy

Check what a photo or video reveals in its metadata (GPS location, camera and phone model, date taken, software, C2PA Content Credentials, AI-generator tags) and remove it without re-encoding the pixels. Use when someone asks to remove EXIF or GPS from images, check a photo before posting or sending it, find where a photo was taken, check if an image is AI-generated from its metadata, or whether an app like WhatsApp, Telegram, Discord or Slack strips metadata.

What is image-metadata-privacy?

image-metadata-privacy is a Claude Code agent skill that check what a photo or video reveals in its metadata (GPS location, camera and phone model, date taken, software, C2PA Content Credentials, AI-generator tags) and remove it without re-encoding the pixels. Use when someone asks to remove EXIF or GPS from images, check a photo before posting or sending it, find where a photo was taken, check if an image is AI-generated from its metadata, or whether an app like WhatsApp, Telegram, Discord or Slack strips metadata.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/fazal-bhinder/agent-skills/tree/HEAD/skills/image-metadata-privacy

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Image metadata privacy

Photos from phones carry EXIF/XMP metadata: GPS coordinates (often to a few metres), device make and model, date and time taken, lens, software and sometimes the owner's name. AI images may carry C2PA "Content Credentials" or generator tags (Midjourney, DALL-E, Stable Diffusion, Adobe Firefly).

Inspect

Local file, with exiftool if installed:

exiftool -G1 -a -s photo.jpg                       # everything
exiftool -gps:all -make -model -datetimeoriginal photo.jpg

Public URL (JPEG, PNG, WebP, AVIF, HEIC, GIF, TIFF, MP4, MOV, up to 15 MB), with the free metadataremoverai.com MCP server (https://metadataremoverai.com/mcp, Streamable HTTP, no auth; read-only, the file is not stored):

curl -s https://metadataremoverai.com/mcp -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inspect_metadata","arguments":{"url":"https://example.com/photo.jpg"}}}'

result.structuredContent has gps, camera, dates, hasC2PA, AI signals and metadataBytes.

Never upload someone's private photo to a third-party service to inspect it without their OK. Prefer local tools for local files.

Remove

Lossless (pixels untouched, only metadata blocks removed):

exiftool -all= -tagsfromfile @ -orientation -icc_profile -overwrite_original photo.jpg

Keeping orientation stops the photo appearing rotated, and keeping the ICC profile keeps colours right. For video: ffmpeg -i in.mp4 -map_metadata -1 -c copy out.mp4.

Avoid "re-save" approaches (opening and exporting in an image library) when quality matters: they re-encode the pixels and lose quality. In-browser and nothing uploaded: https://metadataremoverai.com.

Removing metadata doesn't remove what's visible in the picture (street signs, reflections, faces), and it doesn't remove invisible pixel watermarks such as Google's SynthID.

Do messaging apps strip it?

Measured 2026 (method and raw data: https://metadataremoverai.com/which-apps-remove-photo-metadata#test):

AppSent as photoSent as file/document
WhatsAppGPS, camera and date removedEverything kept
TelegramGPS, camera and date removedEverything kept
DiscordAll EXIF/GPS and C2PA removed, also from "Open original"same
SlackAll EXIF/GPS removedsame

"Send as file" is what people use to keep full quality, and it's exactly the mode that leaks location. Strip first, then send. Social networks differ again and change over time; check before relying on it.

Related Skills