Removing Metadata Before You Share a File: PDFs and Photos
The page you can see is rarely all that a file carries. Here's what is hiding in a PDF and a photo, and what removing it does and doesn't do.
By PulsarKit · ·
A file remembers more than what's on the page
Open a PDF's document properties and you will usually find an author name, a working title, the software that produced it, and two timestamps, none of which appear anywhere on the printed page. A photo carries its own version of the same problem. EXIF data records the camera model, the exact shutter time, and very often GPS coordinates accurate to a few metres, all written by the phone automatically and invisibly at the moment the picture was taken.
Neither of these is a bug. Both formats were built to carry this information for legitimate reasons: a photographer sorting a shoot by camera and time, a company tracking who authored a contract. The problem is that the same information travels along by default even when you never intended to publish it, and a stranger can read all of it in seconds with a tool no harder to use than the one that removed it.
What a photo's location data reveals
A phone photo taken at home, in a car, or at a child's school carries coordinates precise enough to identify the building. Some platforms strip that data automatically when you upload a picture, which protects only the copy they host. The original file you send over a messenger, attach to an email, or share through a cloud link is very often untouched, coordinates and all. Removing the location with Remove Image Metadata before the file leaves your device is the one step that works no matter where the photo ends up afterwards.
A PDF hides its history in three separate places
Clearing the visible author and title fields is the easy part, and it is not the whole job. Alongside the basic document properties sits an XMP packet, an XML block that often repeats the same fields and adds editing history, software versions, and sometimes a copyright statement. It can be attached separately to the whole document, to individual pages, and to individual embedded images. A leftover author name most often survives in one of those extra copies, not in the field you already cleared. A proper cleanup, which is what Remove PDF Metadata does, also replaces the document identifier, since an empty one breaks the PDF's structure, and resets timestamps to a neutral date rather than deleting them outright, because some readers expect the field to exist at all.
Why re-saving a file is not the same as cleaning it
Opening a photo in an editor and exporting it again feels like it should clear the metadata, and sometimes it does. But the whole image gets decoded and recompressed in the process, which is a real quality cost paid for something a dedicated tool does without touching a single pixel. Metadata in a JPEG, PNG or WebP file lives in its own segments, separate from the compressed image data. Removing it is a matter of cutting those segments out and leaving the rest of the bytes where they were, so the picture comes back bit-for-bit identical rather than merely similar. Many editors also carry the XMP block straight through a re-save without meaning to, which defeats the point.
Checking that it worked
A cleanup you cannot verify is a promise, not a result. Both a stripped PDF and a stripped photo can be checked the same way anyone else would check them. Open the result in any reader or EXIF tool (Image Metadata shows what a photo still carries without changing it) and look at the document properties or the metadata panel directly. The author, title, camera model and coordinates should simply be gone. A cleanup tool worth trusting re-reads its own output before handing it back and reports a problem if anything survived, rather than asking you to take the result on faith.
Common mistakes that leave the data in place
Most leaks after a cleanup come from habit rather than from the tool. The most common one is cleaning a copy and sharing the original: the stripped file sits in the downloads folder while the email still carries the version the phone saved, coordinates and all. Share the file you just downloaded. A HEIC straight from an iPhone is the other frequent trap: its metadata is woven into the container rather than stored in a separate segment, so it has to become a JPEG first, with HEIC to JPG, before the removal can be lossless and verifiable.
With a PDF, the mistake is expecting a metadata cleanup to do a redaction's job. Clearing the author field does not touch a name typed into the body, a comment in the margin, a value in a form field or a file name inside a link: those are content, not metadata about it. Bookmarks are kept by default for the same reason. If the sensitive part is on the page itself, it needs Redact PDF, which rebuilds the affected pages as images, and the metadata cleanup comes after it. For a sensitive document about to be published, the order is redact, clean, then one last look at the properties panel.
Tools used in this article
Read next
- A PDFgear Alternative: What Matches and Where Your File GoesOn October 20, 2026, we matched the 37 cards on PDFgear's online tools page against PulsarKit. 34 of the 36 tools behind them had a counterpart; PDF to PSD and PSD to PDF had none.
- Compressing a Scanned Book: What Each Level Does to 60 PagesA forum question asked how to shrink a 580-page book scan without hurting the text. We ran a 60-page scan through every level of Compress PDF and checked the pixels, the sizes and the words.
- iPhone Photos to One PDF: HEIC, Order, Size, What Leaves Your PhoneSeveral iPhone photos can become one PDF in Safari, with no app and no account. Here is how HEIC to PDF handles order, page size, Live Photos, dates and locations, and what stays on your phone.