strip-image-ai-metadata

Installation
SKILL.md

Strip Image AI Metadata

Platforms like LinkedIn read C2PA metadata embedded by AI image generators (ChatGPT, DALL-E, Midjourney, etc.) and display an attribution label. This skill removes that metadata without re-encoding, so image quality is preserved.

Supported formats

  • PNG: removes caBX chunks, generator text chunks (parameters, prompt, workflow and friends) and AI-related tEXt/iTXt/zTXt chunks, and erases AI attribution tags inside eXIf
  • JPEG: removes APP11 C2PA segments and AI-related APP1 (XMP) segments, erases AI attribution tags inside structured EXIF, and cleans the trailer after the FFD9 end-of-image marker
  • WebP: removes C2PA chunks and AI-related XMP chunks, and erases AI attribution tags inside EXIF
  • Sidecars: .xmp and .json files next to the image, or passed directly

Quick use

Run the bundled script on one or more images:

Installs
3
GitHub Stars
5
First Seen
Sep 14, 2026