Every PDF and image file you share carries more than what is visible on screen. Buried inside is metadata: the author name, the software used, creation and edit dates, and for photos, often the exact GPS coordinates where the shot was taken. Before you email a portfolio PDF or post a JPEG, it is worth knowing what that hidden layer reveals and how to strip it out. This guide covers removing metadata from PDFs and photos, explains the XMP files photographers keep running into, and shows how to do all of it without handing your files to a random website.
What metadata actually hides in your files
Metadata is data about your file rather than the content itself. It is genuinely useful while you work, which is why every camera and editor writes it, but it becomes a liability the moment a file leaves your control. Here is the kind of information commonly embedded:
| Metadata type | What it can expose | Where it lives |
|---|---|---|
| Author / creator | Your real name or account name | PDFs, photos |
| Software | The exact app and version used | PDFs, photos |
| Dates | When the file was created and last edited | PDFs, photos |
| GPS location | The precise coordinates a photo was taken at | Photos (EXIF) |
| Device | Camera or phone make, model, and serial number | Photos (EXIF) |
| Edit history | Keywords, ratings, and adjustment steps | Photos (IPTC / XMP) |
For a photographer, the GPS and device fields are the ones that matter most. A single geotagged image can reveal a home address, a client's private location, or an unannounced shoot. That is why removing metadata is a privacy habit worth building, not a one-off chore.
How to remove metadata from a PDF
PDFs collect metadata from whatever created them, often a word processor or a photo layout tool. The cleanup method depends on what you have installed.
Using Adobe Acrobat
- Open the PDF in Acrobat Pro.
- Go to File > Properties and clear the Title, Author, Subject, and Keywords fields in the Description tab.
- For a deeper clean, use Tools > Redact > Sanitize Document, which removes hidden metadata, embedded data, and attached objects in one pass.
- Save the file under a new name so you keep your working original intact.
On Windows without Acrobat
Right-click the PDF, choose Properties, open the Details tab, and click Remove Properties and Personal Information. Windows can either scrub the existing file or create a clean copy with the selected fields removed. This handles the common author and software fields, though it is lighter than Acrobat's full sanitize.
On macOS
The built-in Preview app does not expose a one-click metadata wipe, but exporting the document (File > Export) often drops much of the embedded data. For reliable, repeatable cleaning on Mac, a dedicated command-line tool such as ExifTool gives you precise control over exactly which fields are stripped.
How to remove metadata from photos
Photos carry the richest metadata of all, split across three standards: EXIF (camera and GPS data written at capture), IPTC (captions, credits, and rights), and XMP (a flexible modern container that editors use for keywords and adjustments).
The quick single-file method
On Windows, the same Properties > Details > Remove Properties and Personal Information flow used for PDFs works on JPEGs and most image formats. On macOS, exporting through Preview or stripping with ExifTool removes EXIF and GPS data. On a phone, most camera apps now offer a "remove location" option in the share sheet before you send an image.
The photographer's batch problem
One image at a time is fine for a single share. A working library of thousands of files is a different challenge. You rarely want to nuke all metadata, because keywords, ratings, and copyright fields are the backbone of an organized catalog. The realistic goal is to keep the metadata that helps you and strip only the sensitive fields (usually GPS and serial numbers) on export. A catalog tool that lets you see and search by metadata makes this far easier than blindly running a script across a folder.
What are XMP files, and why do photographers keep seeing them?
If you edit RAW files, you have almost certainly noticed small .xmp files appearing next to your photos. XMP (Extensible Metadata Platform) is Adobe's open standard for storing metadata, and a standalone .xmp file is called a sidecar.
Here is the key idea: a RAW file from your camera is treated as a digital negative that editors avoid altering directly. So instead of writing your keywords, ratings, and edit settings into the RAW file, applications like Lightroom and Capture One write them into a companion .xmp sidecar with the same name. The sidecar is plain text and holds the instructions; the original capture stays untouched.
This matters when you remove metadata. If you strip a RAW file but ignore its .xmp sidecar, the sensitive data may still live in the sidecar. And if you move or share photos without their sidecars, you can lose your entire editing history and keyword work. Whenever you reorganize a library, treat each photo and its sidecar as a pair.
A quick rule of thumb: EXIF is written by the camera, IPTC is written by people, and XMP is the flexible container modern editors use to carry both, often in a sidecar file next to a RAW image.
The privacy trap with online metadata removers
Search for a metadata remover and the first results are usually websites that ask you to upload your file. Stop and think about what that involves: to strip the GPS data from a private photo, you are first sending that exact photo, GPS data included, to an unknown server. For anything sensitive, that defeats the entire purpose.
The safer approach is to clean files locally, on your own machine, so nothing private is ever transmitted. The built-in OS tools above are local. So is a desktop catalog that processes everything on your computer rather than in the cloud.
Managing photo metadata locally with Memora
If your real goal is to stay on top of metadata across a whole library rather than fix one file, a local-first photo manager helps. Memora reads the EXIF, IPTC, and XMP metadata already in your photos and lets you search and organize by it, and because it runs entirely on your own computer, your images and their metadata never leave your machine for a cloud service. It imports existing Lightroom and Capture One catalogs, including the keyword and rating work stored in your sidecars, so you can see exactly what metadata your library carries before you decide what to share and what to strip. That visibility, paired with the local OS cleanup steps above, is the practical foundation of a privacy-aware workflow.
A simple workflow to adopt
- Decide what you are sharing and who will see it. A public post needs more scrubbing than a file for a trusted client.
- For PDFs, sanitize with Acrobat or use the Windows Remove Properties flow before sending.
- For photos, strip GPS and device fields on export while keeping the keywords and credits you rely on.
- Keep RAW files and their .xmp sidecars together, and remember the sidecar holds metadata too.
- Clean locally. Avoid uploading sensitive files to web-based removers.
Hidden metadata is easy to forget precisely because you never see it. Build a habit of checking and stripping it before files leave your control, and keep a local view of what your library actually contains, so privacy becomes the default rather than an afterthought.