Lyonite
Measured results

I hid GPS coordinates in a PDF and ran it through 7 metadata removers

Six of the seven handed the file back with the coordinates still in it. I hid a geotagged photo, a named reviewer, an attachment and a script inside one PDF, ran it through seven tools that all claim to remove metadata, then read back the bytes each one returned. Here is what survived.

Tested by Rajgursher Singh, developer at Lyonite.

Tested 14 August 2026, 10:57 AM EDT. Test files and checker published.

What I hid in the file

Removing metadata sounds like one job but it is at least five. Most tools only do the first. So I built a single PDF carrying one of each, with exact values planted in exact places — that way "did the tool remove it" has an answer rather than an impression, and anyone rerunning this gets the same number I did.

  • A photograph with its EXIF intact — camera make and model, a photographer's name, and GPS coordinates at a known latitude.
  • A review comment tagged with a reviewer's name and the moment they wrote it.
  • An attached spreadsheet, riding along inside the document.
  • A script set to run the moment the file is opened.
  • Ordinary document properties — the Title, Author and Producer fields that a properties dialog shows you.

Then each returned file was read back and searched for those exact values: in its raw bytes, in its parsed object graph, and in every decoded object including the ones nothing points at. That third check matters more than it sounds, and it is the one nearly everybody skips.

What came back

Measured 14 August 2026, 10:57 AM EDT. Every cell is an observation from the returned file, not a reading of a feature list. These are live services that change, so the timestamp is part of the claim — any row can be rechecked with one command using the published test files.
ToolDocument propertiesPropsImage EXIF / GPSImage GPSAnnotation authorCommentsAttachmentFilesJavaScriptScripts
Lyonite5 of 5 removedRemovedRemovedRemovedRemovedRemoved
GroupDocsThe only tool tested that removed the attachment. Left the XMP packet and the document ID.1 of 5 removedPartly — Producer, Creator, ModDate leftLeft in fileCleared from annotationRemovedLeft in file
IronSoftwareThe most thorough of the six on the document layer: properties, XMP and document ID all removed.1 of 5 removedRemovedLeft in fileLeft in fileLeft in fileLeft in file
PDF24Document ID left in place.1 of 5 removedRemovedLeft in fileLeft in fileLeft in fileLeft in file
PDFYeahDocument ID left in place.1 of 5 removedRemovedLeft in fileLeft in fileLeft in fileLeft in file
Metadata2GoReturned Title, Author, Subject and Keywords unchanged, with the removal action applied.0 of 5 removedLeft in fileLeft in fileLeft in fileLeft in fileLeft in file
PDF CandyReturned Title, Author, Subject and Keywords unchanged, with the removal action applied. Left the XMP packet too.0 of 5 removedLeft in fileLeft in fileLeft in fileLeft in fileLeft in file

The pattern is consistent. These tools clean the document layer — the fields a PDF reader shows in its properties dialog — and stop there. That is a defensible reading of the word "metadata". It is not what someone stripping a document before sending it to a stranger believes they are getting.

The two worst results are not in the table

Two of the files hid the script rather than removing it. Every tool left the open-on-load JavaScript in place. In two of them it did not even show up when I searched the file for it, because the object had been packed into a compressed stream. Still there, still runnable, and invisible to anyone checking by eye.

One tool deleted the reviewer's name from the annotation and left it elsewhere in the file. Unlinking something is not removing it. I know that failure well because I shipped it myself, and only found it by writing a third kind of check — ExifTool and qpdf both say the file is clean when it is not.

Do they do what they claim?

A tool that says it clears the author field and clears the author field is working correctly, however narrow that is. So I went back and read what each one actually promises.

Adobe Acrobat Pro

Not tested by me

Says: Sanitize Document is documented as removing hidden information: metadata, embedded content and attachments, scripts, hidden layers. The widest scope anyone in this category describes.

Did: I did not run it. It is paid desktop software, so every Adobe line on this page is Adobe describing Adobe.

IronSoftware

Says what it does, does what it says

Says: “Clear author, title, subject, and keyword fields.” Calls its scope “supported metadata fields”.

Did: Did exactly that, and took the XMP packet and document ID with it.

PDF24

“All metadata” is doing a lot of work

Says: “Quickly and easily delete all metadata contained in PDF files.” Elsewhere defines metadata as author, dates, software version and keywords.

Did: Cleared the document properties. Left the GPS, the script, the attachment and the document ID.

Metadata2Go

Names location, leaves location

Says: “We try to remove all metadata, but it is not always possible to detect and remove every piece.” Warns that metadata “can include sensitive details like your location”.

Did: Returned the file with the location still in it. And the document properties.

PDF Candy

Fell short of its own list

Says: “Delete unwanted metadata from any PDF file online to protect your privacy”, with a “Delete all metadata” option covering author, title, subject, keywords and dates.

Did: Returned those exact fields unchanged, with the delete action applied.

IronSoftware comes out of this best. It is the least ambitious tool in the test. It names four fields, removes four fields, and never suggests it does more. That is the whole trick, and it is the only one of the six whose description of itself I could not fault.

Metadata2Go is the one that stings. Its page warns that metadata "can include sensitive details like your location". Location is the harm it picks out by name — and the file it handed back still had the coordinates sitting in it.

So are these tools bad? Mostly, no. The problem is that what they say is far narrower than what "remove PDF metadata" sounds like to someone about to email a document to a stranger. In my opinion, that's a bit misleading. And in the two places the wording reaches further, it reaches for exactly the thing it does not deliver.

"Just use the command line"

This is the reply every thread gets, and it deserves a straight answer rather than a shrug. So I ran the same file through the tools people actually name. These are not competitors to the seven above — they are the advice you get handed, which is a different question and gets its own table.

Measured 17 August 2026 on the same file, with the exact command shown under each name. Every one of these has flags that change the outcome, so a result without its invocation is not a result. Reproduce with the published test files.
ToolDocument propertiesPropsImage EXIF / GPSImage GPSAnnotation authorCommentsAttachmentFilesJavaScriptScripts
Lyonitein the browserText intact in all 7 corpus files that contain any.5 of 5 removedRemovedRemovedRemovedRemovedRemoved
mat2mat2 --inplace file.pdfRemoves everything by rasterising the page. Text destroyed in all 7 files that had any; output averaged 7.6× the original size.5 of 5 removedRemovedRemovedRemovedRemovedRemoved
Stirling PDFSanitise, all removal options onSelf-hosted, run locally in Docker. The most thorough of anything here that is not a dedicated sanitiser.2 of 5 removedRemovedLeft in fileLeft in fileLeft in fileRemoved
ExifTool + qpdfexiftool -all= file.pdf && qpdf --linearizeThe rewrite is what makes the removal permanent. Reaches the document layer and no further.1 of 5 removedRemovedLeft in fileLeft in fileLeft in fileLeft in file
ExifTool aloneexiftool -all= file.pdfWrites an incremental update, so the file grows and nothing is deleted. ExifTool warns about this on every run.0 of 5 removedReversible — recoverable in one commandLeft in fileLeft in fileLeft in fileLeft in file
Ghostscriptgs -o out.pdf -sDEVICE=pdfwrite -dNOPAUSE -dBATCH in.pdfThe invocation usually quoted as a cleanup step. It carries the Info dictionary straight across — pdfwrite preserves metadata unless you pass pdfmark directives telling it not to.0 of 5 removedLeft in fileLeft in fileLeft in fileLeft in fileLeft in file

exiftool -all= does not remove anything. It is the most repeated answer on the internet, and it writes an incremental update: a new revision that hides the old values while leaving them in the file. The file gets bigger. One more command puts the author's name back:

exiftool -Author file.pdf            → Jane Doe
exiftool -all= file.pdf              → (nothing — it looks clean)
exiftool -pdf-update:all= file.pdf   → Jane Doe

ExifTool is not hiding this. It prints a warning on every single run:

Warning: [minor] ExifTool PDF edits are reversible.
         Deleted tags may be recovered!

The advice that gets repeated never carries the warning with it, and -overwrite_original with the output sent to a log is how most people meet it.

Piping the result through qpdf --linearize fixes the reversibility, and that combination is the better answer. It still only reaches the document layer: the coordinates, the reviewer's name, the attachment and the script all came back untouched.

Ghostscript left everything. Rewriting a PDF through it does not strip metadata by default — the Info dictionary is carried straight across — so the invocation people quote as a cleanup step is not one.

The one that beats me, and what it costs

mat2 removed all five. It is built by people who do this seriously, it is what the privacy community recommends, and on removal it is the equal of anything here including my own tool. If your threat model is "this document must not be traceable to me and I accept any cost", it is the right choice and I would use it myself.

The cost is the whole document. mat2 handles a PDF by rendering every page to an image and building a new file around the pictures, so the metadata is gone because the original file is gone. Across the seven corpus files that contain text, the text was destroyed in all seven — unselectable, unsearchable, invisible to a screen reader — and the output averaged 7.6 times the original size.

That is a deliberate trade and a defensible one. It is also the wrong trade for someone who wants to email a signed contract, and it is invisible to a table that only counts leaks: rasterise every page and you score a perfect row while handing back something nobody can read properly. That is why the row above carries what the tool cost as well as what it took.

Which leaves a narrower and more honest claim than "we beat everyone". On removal alone, mat2 matches me. The difference is that the document survives — and against the tools most people are actually pointed at, the coordinates come through every one of them.

Why Adobe Acrobat Pro is not scored here

Because I did not run it, and a results table is no place to guess. Acrobat is the reason this category has a standard at all: Sanitize Document went after image EXIF, annotation authorship, attachments and scripts years before anything free did, and every tool above is measured against a bar Adobe set. Leaving it out entirely would have been a quiet way of pretending otherwise, so it sits at the top of the claims table, marked untested, for now.

I skipped it because it is paid desktop software and I am not trying to contest it. That choice has a cost worth naming: every Adobe cell on this page is Adobe describing their own product, which is precisely the kind of evidence the rest of this report exists to distrust. I am not going to pretend my untested cells are worth more than anyone else's.

Fixing that takes one licence and about ten minutes. The test files are public and the checker is a single command. If you have Acrobat Pro — or you work at Adobe — run it and send me what comes back at hello@lyonite.com. I reply within 48 hours and publish what I get, credited and dated, whichever way it goes — including if it beats me on all five.

So which one should you use?

Cleaning is not the only thing that decides a tool, and one test file cannot tell you about batches, encryption or price. Short version:

One file, or fifty

Lyonite

Removes all five classes and reads each finished file back to show you what came out. Drop a folder in and it runs the same sweep over every one, then hands you a zip. Nothing uploaded, no account, no cap.

Encrypted files, or real redaction

Adobe Acrobat Pro

Password-protected documents and burning redactions into the page are jobs Lyonite does not attempt at all. Acrobat documents both. It is a paid subscription.

Only the author field matters

IronSoftware

The narrowest tool I tested and the most honest about it. If the document properties are genuinely all you care about, it clears them and says so.

The one thing none of the six do, at any price, is check their own work. They clean the file, tell you it is cleaned, and that is the end of it. Ours re-opens the file it just wrote, reads it back with the same inspector the viewer tab uses, and reports from that — including anything it skipped and why. A cleaner that only ever lists its wins is teaching you to trust it further than it has earned.

What this test cannot tell you

One file, one run, one day. A tool may behave differently on a different document, and any of these may have improved since publication — which is exactly why the test files ship alongside the finding instead of being described and kept.

On the two that changed nothing: Metadata2Go and PDF Candy returned files with Title, Author, Subject and Keywords entirely intact. Both use a field-by-field interface where removal is a separate confirmed step, and that step was applied in both cases before downloading. This was not a missed button — I am saying so up front because it is the first thing anyone will ask.

Another thing I wanted to point out is that I did not notify these tools before publishing. Nothing here is an exploit. Every result is a measurement of what a product does against what its own page says it does, taken through the public interface anyone else uses. That is a product review, not a vulnerability report, and reviews do not normally run past the vendor first. If any of them wants to send a correction or a new result, the file and the checker are public and I publish what I get.

And I am not neutral here. I build one of the tools in that table and it sits at the top of it. That is exactly why the file, the method and the checker are all public. I am not asking you to trust this site. I am handing you the file so you can check it yourself.

Questions people ask about this

Do online PDF metadata removers remove GPS coordinates from photos?+

Mostly no. In a test of six free online PDF metadata removers on 14 August 2026 — GroupDocs, IronSoftware, PDF24, PDFYeah, Metadata2Go and PDF Candy — none of them removed the GPS coordinates from a photograph embedded in the document. Those coordinates live in the EXIF block inside the image, not in the document properties, so a tool that clears Title, Author and Producer leaves them completely untouched.

Does PDF24 remove all metadata from a PDF?+

Not in the sense most people mean. PDF24 describes its tool as deleting all metadata contained in PDF files, and it did remove the document properties in my 14 August 2026 test. It left the GPS and camera details inside the embedded photograph, the annotation author name, an embedded file attachment, an embedded JavaScript action, and the trailer document ID. It defines metadata narrowly elsewhere on its own site as author, dates, software version and keywords, which is what it actually removes.

Is there a free alternative to Adobe Acrobat’s Sanitize Document?+

Lyonite’s metadata remover runs in the browser at no cost and removes document properties, XMP, the trailer document ID, EXIF and GPS inside embedded JPEG images, annotation authors and timestamps, embedded attachments, and embedded JavaScript. I have not run Adobe Acrobat Pro, so I make no claim about how the two compare. Acrobat claims to do three things Lyonite does not attempt right now: encrypted files, applying redactions, and unusual image encodings such as JPEG 2000.

Why does ExifTool say my PDF is clean when it still has hidden data?+

ExifTool run against a PDF reports on the PDF document, not on the images inside it, so a photograph carrying GPS coordinates inside the file is not covered by that report. The other common check, qpdf --qdf, garbage-collects unreferenced objects while it rewrites the file, so anything a tool unlinked but did not actually delete disappears from the expanded output while remaining in the real file. Both of the obvious ways of checking can report a leaking file as clean.

Which free PDF metadata remover is the most thorough?+

On the document layer, IronSoftware was the most thorough of the six free tools I tested on 14 August 2026: it removed the document properties, the XMP packet and the document ID, and it is the only one whose description of its own scope I could not fault. GroupDocs was the only tool of the six that removed the embedded attachment. None of the six removed image EXIF or embedded JavaScript.

Can PDF metadata be removed without uploading the file anywhere?+

Yes. Metadata removal is a local operation on the file’s object structure and does not require a server. Lyonite does it in the browser tab, and the page is served with a Content-Security-Policy that only permits connections back to lyonite.com, so a request carrying the document elsewhere is refused by the browser rather than caught in review. Every other tool in my test uploaded the file to be processed.

Corrections

Check this yourself. If I got it wrong, tell me.

Every number here came from files you can download and a checker you can run, so you do not have to take my word for any of it — clone the corpus and get your own result.

If it disagrees with mine, or if you build one of the tools named here and I measured it unfairly, out of date, or with a setting you would not have used, send it to hello@lyonite.com.

I reply within 48 hours. If you are right, the page is corrected with the date on it and your correction credited, and the old number stays visible so the change is legible. If a tool has since been fixed, that is the update I most want to publish. Nothing here is worth defending past the point it stops being true.

Keep reading

Technical references