ImagePDF.Tools
Privacy & Security

How to Remove Hidden Metadata, GPS Location, and Author Info From PDF and Images

N
NikolaLast updated on October 22, 2026 · 5 min read

Summary

Sanitize sensitive metadata from PDFs and photos before sharing. Remove GPS coordinates, author names, camera serials, edit histories, and hidden XMP tags.

Photos taken on a phone usually carry the GPS position where they were taken, the exact date and time, and the phone model, stored in a block called EXIF. PDFs carry the author's name, the software that made them and creation dates, stored twice: once in the document properties and once in an XML packet called XMP. Neither shows up when you look at the photo or read the pages, but anyone who opens the file's properties can see it.

To remove it from a photo, turn off location when you share from your phone, or run the file through a metadata stripper before you send it. To remove it from a PDF, clear both the properties and the XMP, and make sure the result is saved as a fresh file rather than as an edit on top of the old one. Here is how to check what your files reveal, then how to clean them on each platform.

A photo and a PDF with their hidden metadata revealed: GPS coordinates, camera model, author name and editing software | ImagePDF.Tools
What a shared photo and a shared PDF can say about you without anyone opening the content.

What your files can give away

FileWhere the data livesWhat it can reveal
Phone photo (JPEG or HEIC)EXIFGPS coordinates, date and time to the second, phone make and model, lens and exposure settings
Photo from a dedicated cameraEXIF, including maker notesCamera body and lens, and on many models the camera's serial number
Edited photoXMPEditing software and, for some editors, a history of saves and edits
PDF exported from Word or similarDocument properties and XMPAuthor name (often your account name), company, title, creating software, dates
PDF edited several timesIncremental updatesEarlier versions of the properties, and sometimes of the content, still inside the file
PDF with attachmentsEmbedded filesWhole spreadsheets or documents that travel inside the PDF without appearing on any page
Common hidden data by file type

The GPS position in a phone photo is usually close enough to identify the building. Share a picture of something you are selling, taken at home, and you may be sharing your address along with it.

Check before you share

  • ●Windows: right-click the file, choose Properties, then open the Details tab. GPS appears under its own heading for photos; Authors appears for documents.
  • ●Mac: open the photo in Preview, choose Tools > Show Inspector and look for a GPS tab. A map there means the location is embedded.
  • ●iPhone: open the photo in Photos and swipe up. A map under the photo means it has a location.
  • ●Android: open the photo in Google Photos and swipe up to see its details and location.
  • ●PDF: in Acrobat Reader press Ctrl+D (Cmd+D on a Mac) to open Document Properties and look at Author, Creator and Producer. For a fuller picture, the PDF Privacy Scanner lists properties, XMP editing history, attachments, scripts, locations in embedded photos and personal data printed on the pages.

Remove location from photos on your phone

iPhone

  1. 1.In Photos, select the photos you want to send and tap Share.
  2. 2.Tap Options at the top of the share sheet.
  3. 3.Turn off Location, tap Done, then share as usual.

This applies only to that one share, and only when you share from the Photos app. To stop the camera recording location at all, go to Settings > Privacy & Security > Location Services > Camera and choose Never.

Android

Most Android camera apps have a setting called something like Location tags or Save location; turn it off to stop new photos being tagged. Google Photos can remove a location it estimated, but not GPS coordinates the camera wrote into the file. Recent Android versions strip location by default when an app picks photos through the system photo picker, but files you attach to an email or send as a document can still carry it, so strip those first.

Remove metadata from photos on a computer

  • ●Windows: in the file's Properties > Details tab, click Remove Properties and Personal Information, choose Create a copy with all possible properties removed and click OK. It handles the common JPEG fields but does not see every tag a file can hold.
  • ●Mac: in Preview's Inspector, open the GPS tab and click Remove Location Info, then save. When exporting from the Photos app, leave the location information option unticked in the Export dialog.
  • ●Any browser: Remove Metadata strips EXIF, XMP and text chunks from JPEG, PNG and WebP files. It cuts the metadata out of the file directly instead of re-saving the image, so the pixels stay identical. If you want to keep some fields, such as the date, and drop only the GPS, use the Metadata Editor instead.

iPhone photos are often saved as HEIC, which these browser tools do not open. Sharing from Photos to most places converts them to JPEG, or you can set Settings > Camera > Formats to Most Compatible so the camera saves JPEG from the start.

Remove author and hidden data from a PDF

PDFs make this harder in two ways. First, the author and title are stored in two places, and many tools clear only one of them. Acrobat shows the XMP values first, so clearing only the older properties dictionary can look as if nothing happened. Second, many editors save changes by appending them to the end of the file. The old values stay inside, readable by anyone with the right tool.

Fix it at the source in Word

Before exporting, go to File > Info > Check for Issues > Inspect Document, click Inspect, and choose Remove All next to Document Properties and Personal Information. When you save as PDF, click Options in the save dialog and untick Document properties. Comments and tracked changes are worth checking in the inspector too, because they can end up in the PDF.

Clean a PDF you already have

Acrobat Pro has Remove Hidden Information and Sanitize Document in its Redact tool; the free Reader does not. Without Acrobat, the PDF Privacy Scanner removes document properties and XMP history, attached files, JavaScript, and location data in embedded JPEG photos. It rebuilds the PDF from scratch, which also drops older versions hidden in earlier incremental saves. If you only need to change or clear the title and author, Edit PDF Metadata writes both copies together.

Command line with ExifTool

ExifTool removes metadata from photos in one command. For PDFs there is a catch: ExifTool's own documentation says its PDF edits are reversible, because the old data is never actually deleted. Its suggested fix is to rewrite the file with qpdf afterwards:

bash
# photos: remove all metadata in place
exiftool -all= -overwrite_original *.jpg

# PDFs: clear the metadata, then rewrite so the old values are really gone
exiftool -all:all= report.pdf
qpdf --linearize report.pdf report-clean.pdf
⚠️

Metadata is not the only leak. Check the visible content too: a street sign or house number in the background, a reflection, a file name such as smith-settlement-draft3.pdf, or black boxes drawn over PDF text that leave the words selectable underneath. Drawing a shape is not redaction.

Frequently asked questions

Does removing metadata reduce photo quality?
Not when it is done properly. Tools that cut the metadata out of the file, such as ExifTool or our Remove Metadata, leave the image data untouched. Tools that open the photo and save it again do re-compress it, which can cost a little quality.
Do Instagram and Facebook remove GPS data from my photos?
The copies they show to other people have the location data removed. Email attachments, AirDrop, cloud storage links and files sent as documents in chat apps usually arrive with their metadata intact, so those are the routes to worry about.
Is taking a screenshot a safe way to drop metadata?
A screenshot does not carry the original photo's GPS position, but it records its own date and device, and it is a lower-quality copy. Stripping the original is cleaner.
Can stripped metadata be recovered?
Not from the cleaned copy. Your original file still has it, though, as does any cloud backup of the original, so share only the cleaned version.
Should I strip metadata from photos I might need as evidence?
Keep an untouched original of anything that may matter legally, such as accident or damage photos, because the date and location can support your account. Share a stripped copy and store the original privately.

Sources & references

This article was researched and written by Nikola, drawing on the following primary sources and documentation:

Ready to try it?

All tools run entirely in your browser, no uploads, no account required.

Remove Metadata