Remove Image Metadata
Re-encode images to remove EXIF and location data
Remove Image Metadata — what it does
Re-encode images so that EXIF metadata — camera model, timestamps, software and GPS coordinates — does not survive into the output, returning the cleaned set as a ZIP. Because the file is rebuilt from decoded pixels, there is no metadata block left to strip: the information simply is not carried across.
Worked example
Two PNG fixtures cleaned in one run and returned as a ZIP; the other rows show how the code names and re-encodes other input formats.
| Input files | Files inside metadata-clean-images.zip | Re-encoding |
|---|---|---|
| photo-1600x1200.png, logo-400x400.png | photo-1600x1200-clean.png, logo-400x400-clean.png | PNG stays PNG; status reads '2 image(s) cleaned.' |
| IMG_4471.jpg (phone photo with a GPS tag) | IMG_4471-clean.jpg | JPEG re-encoded at quality 0.92, same pixel size |
| diagram.webp | diagram-clean.webp | WebP re-encoded at quality 0.92 |
| floorplan.gif, old-scan.bmp | floorplan-clean.jpg, old-scan-clean.jpg | Any format other than PNG or WebP comes back as JPEG |
The ZIP name is fixed; each output keeps the original base name with -clean added, and the extension follows the output format (jpg, not jpeg).
When this tool helps
- Removing home or workplace coordinates from photos before posting them publicly.
- Stripping camera and software fingerprints from images going to a client or a public site.
- Cleaning a batch of photos before archiving them somewhere with wider access.
How to use it
- Choose the images to clean.
- Let the tool re-encode each one.
- Download the ZIP of cleaned images.
- Verify with the EXIF viewer that the metadata is gone.
Accuracy, limits, and good practice
- Verify rather than assume: run one output through the EXIF viewer and confirm the fields you cared about are absent.
- Re-encoding is lossy for JPEG, so cleaned copies are slightly lower quality than the originals — keep the originals archived privately.
- Metadata is not the only leak: the image content itself, including a visible street sign or a reflection, can identify a location just as well.
Frequently asked questions
Does this remove the copyright field too?
All metadata is dropped, including authorship. If attribution matters, re-add it deliberately after cleaning.
Do platforms not strip EXIF anyway?
Many do, but not all, and not for every upload path. Cleaning before sharing means you are not relying on their behaviour.
Is image quality affected?
Slightly for lossy formats, since the file is re-encoded. Export quality is high, but the operation is not bit-identical.
What happens to an animated GIF?
Only the first frame is drawn on the canvas, and because GIF is not one of the formats kept, that frame is saved as a JPEG named <file>-clean.jpg. The animation is lost.
Is there a limit on how many files I can clean at once?
The code sets none; files are decoded and re-encoded one after another in memory and all go into the same ZIP, and the status line reports how many were cleaned. Very large batches are limited only by browser memory.
Related tools on this site
- Image Histogram — Inspect brightness and RGB distribution in an image
- Photo ID Sheet Generator — Arrange repeated ID photos on an A4 or Letter sheet
- Color Blindness Simulator — Preview an image under common color-vision deficiency simulations
Further reading: Getting images ready for the web, email and social media
Everything above runs inside this page. Remove Image Metadata needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
移除圖片中繼資料能做什麼
重新編碼圖片,讓 EXIF 中繼資料——相機型號、時間戳、軟體與 GPS 座標——不會出現在輸出中,並把清理後的檔案打包成 ZIP。因為檔案是從解碼後的像素重建的,根本沒有中繼資料區塊需要移除:那些資訊就是沒有被帶過去。
實際範例
一次清掉兩個 PNG 範例檔並以 ZIP 回傳;其餘各列依程式碼說明其他來源格式會怎麼命名與重新編碼。
| 來源檔案 | metadata-clean-images.zip 內的檔案 | 重新編碼方式 |
|---|---|---|
| photo-1600x1200.png、logo-400x400.png | photo-1600x1200-clean.png、logo-400x400-clean.png | PNG 維持 PNG;狀態列顯示「2 image(s) cleaned.」 |
| IMG_4471.jpg(帶 GPS 標籤的手機照片) | IMG_4471-clean.jpg | JPEG 以品質 0.92 重新編碼,像素尺寸不變 |
| diagram.webp | diagram-clean.webp | WebP 以品質 0.92 重新編碼 |
| floorplan.gif、old-scan.bmp | floorplan-clean.jpg、old-scan-clean.jpg | PNG 與 WebP 以外的格式一律變成 JPEG |
ZIP 檔名固定;每個檔案保留原本的主檔名再加上 -clean,副檔名依產生的格式而定(是 jpg,不是 jpeg)。
什麼時候用得上
- 公開發佈照片前,移除住家或工作地點的座標。
- 把圖片交給客戶或放上公開網站前,清掉相機與軟體指紋。
- 在把照片存到存取範圍更廣的地方之前,先整批清理。
使用步驟
- 選擇要清理的圖片。
- 讓工具逐張重新編碼。
- 下載清理後的 ZIP。
- 用 EXIF 檢視器確認中繼資料確實不見了。
精確度、限制與實務建議
- 要驗證、不要假設:把一個輸出檔丟進 EXIF 檢視器,確認你在意的欄位確實不在。
- JPEG 重新編碼是有損的,清理後的副本畫質略低於原檔——原檔請私下保存。
- 中繼資料不是唯一的洩漏管道:畫面中的路牌或反射,同樣能指出位置。
常見問題
版權欄位也會被移除嗎?
所有中繼資料都會消失,包含作者資訊。若需要標示出處,請在清理後刻意重新加上。
平台不是本來就會清 EXIF 嗎?
許多平台會,但不是全部,也不是每個上傳路徑都會。分享前自己先清,就不必依賴它們的行為。
畫質會受影響嗎?
有損格式會略受影響,因為檔案被重新編碼。匯出品質很高,但並非位元完全相同。
動態 GIF 會怎樣?
只有第一格會被畫到 canvas 上,而 GIF 不在保留的格式之列,所以這一格會存成名為 <檔名>-clean.jpg 的 JPEG,動畫就消失了。
一次能清多少個檔案?
程式碼沒有設限;檔案會逐一在記憶體中解碼、重新編碼,全部放進同一個 ZIP,狀態列會回報清了幾張。非常大的批次只受瀏覽器記憶體限制。
本站相關工具
延伸閱讀: 為網頁、電子郵件與社群媒體準備圖片
以上步驟全部在這個頁面內完成,移除圖片中繼資料 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。