What Do Government PDFs Leak? A New Study of 2,876 Files
- metadata
- privacy
- security
A new study of 2,876 PDFs from 30 Swedish public authorities found that 48.4% exposed significant metadata, and 41.6% carried earlier saved versions of the file. Hidden metadata is not a niche problem. Before you publish any PDF, inspect its properties and strip author names, software traces and internal identifiers.
What did the Swedish study find about PDF metadata?
Researchers at three Swedish institutions posted a forensic analysis to arXiv on 16 November 2026. They collected public PDFs from 30 Swedish public-sector authorities, extracted the metadata with ExifTool, and sorted each file into a four-step risk scale from R0 to R3.
The result was that 48.4% of the 2,876 documents showed significant exposure, rated R2 or R3. The authors also found a statistically significant drop in exposure after Sweden's cybersecurity law took effect, but 44.9% of documents published afterwards still leaked sensitive metadata. Their conclusion is that agencies rely on default, unsanitized publishing workflows.
What metadata does a PDF carry that you cannot see?
A PDF stores more than the pages you read. The document properties hold fields such as title, author, subject, keywords, the application that created the file (creator) and the program that wrote it (producer). Many files also carry an XMP metadata stream, which can repeat those fields and add more.
A separate audit by a software vendor, Essex Software, looked at 63 "redacted" PDFs from courts and government bodies. It found that 59 of them (94%) exposed at least one identifying field. XMP data appeared in 88.9% of the files, a producer entry in 77.8%, a title in 66.7% and an author name in 60.3%. The sample is small and not random, and the vendor sells a related tool, so read the percentages as a direction rather than a measurement.
| Field | What it can reveal | Share of 63 audited files |
|---|---|---|
| Author | A person's name or login | 60.3% |
| Creator | The program that made the original | 61.9% |
| Producer | The software and version that wrote the PDF | 77.8% |
| Title | A working title or internal file name | 66.7% |
| XMP stream | Repeats of the fields above, plus extras | 88.9% |
Can deleted text still be inside a PDF?
Sometimes, yes. The Swedish study found that 41.6% of the documents contained incremental update layers. A PDF can be saved by appending changes to the end of the file instead of rewriting it, which leaves the earlier content in place.
From those layers the authors recovered verifiable text alterations in 228 documents, including deleted personal data and internal identifiers. This is the same family of mistake as a black box drawn over text: the visible page looks clean, but the file still holds the original. If you need to remove content for good, use a proper redaction step that deletes the text rather than covering it, such as the Redact PDF tool, and then open the result and try to select and search the area you redacted.
How do I check what a PDF reveals before I send it?
You can look at the file yourself in a few minutes. Most PDF readers show document properties under File, then Properties or Document Information.
- Open the PDF and view its document properties.
- Read the author, title, subject, keywords, creator and producer fields.
- Ask whether each value is something you would put on the first page. A staff username or an internal project code usually is not.
- Search the document for names, numbers or text you believe you removed.
- Check the file size. A file much larger than its visible content suggests earlier versions or embedded material.
If a field reveals something you did not intend to share, you can either blank it or replace it with a neutral value.
How do I remove metadata from a PDF without uploading it?
The free Clean Metadata tool on ilovspdfs removes the document properties in your browser. The file is processed in a Web Worker on your device and is never uploaded, which matters when the document is the sensitive thing you are trying to protect. No account is needed, no watermark is added, and files up to 100 MB are accepted.
- Open the Clean Metadata page and add your PDF.
- Run the cleaning step.
- Download the new file and keep the original.
- Open the new file's properties to confirm the fields are empty.
Sometimes you want a tidy title and a single author name instead of blank fields, for example on a report published under an organisation's name. For that case, Edit Metadata lets you set the values yourself.
Is stripping metadata enough?
No, it covers one layer. Metadata fields are the part you can read in a properties dialog, but the study shows two more: earlier saved versions inside the file, and content that is hidden rather than removed. Treat sharing a document as a short checklist.
- Remove or replace the document properties.
- Delete sensitive content for real instead of covering it.
- Re-open the final file and search it for anything that should be gone.
- Share the cleaned copy, not your working original.
Do this last, after every edit, because changing a file afterwards can write new metadata into it.
Key facts
- The Swedish study analysed 2,876 PDFs from 30 public-sector authorities and was posted to arXiv on 16 November 2026.
- 48.4% of those documents showed significant metadata exposure (risk levels R2 or R3).
- 44.9% of documents published after Sweden's cybersecurity law still leaked sensitive metadata.
- 41.6% of the documents contained incremental update layers, and text alterations were recovered from 228 of them.
- Essex Software's audit of 63 files found at least one identifying field in 59 of them (94%).
- Clean Metadata and Edit Metadata on ilovspdfs are free, run in the browser and accept files up to 100 MB.
Frequently asked questions
Does every PDF contain metadata?
Almost all do. Even a simple export usually records the software that produced it and a creation date, and many programs add the author's account name and a title as well.
Can metadata really identify a person?
It can. An author field often holds a real name or a staff login, and a title may be a draft file name. Combined with the producer and creator fields, it can show who made a document and with what tools.
Will cleaning metadata change how the PDF looks?
No. Metadata is stored separately from the page content, so the pages you see stay the same. Open the cleaned copy and compare it with the original before you send it.
Does a black box hide text in a PDF?
Not necessarily. If the box is only drawn on top of the page, the text underneath can still be selected or extracted. Remove the text itself with a redaction step and test the result.
Is it safe to clean a confidential PDF online?
It depends on where the processing happens. The free tools on ilovspdfs run in your browser and do not upload the file, so the document stays on your device.