Skip to content
LetsEditPDF

How to remove hidden data from a PDF before you share it

PDFs can carry author names, comments, old versions, scripts and attachments you can't see. How to check what yours contains and remove it, free.

4 min readUpdated LetsEditPDF guides

What you see on the pages is not everything a PDF contains. Before you email a contract, publish a report or upload a CV, it's worth checking what else is inside, because files often reveal more than their authors realise.

Why it matters

Hidden data has caused real embarrassment: reports published with the original author's name and the name of the client they were first written for, CVs that show they were last edited by a recruitment agency, contracts with reviewers' comments still attached, and "redacted" documents where the blacked-out text could be copied straight out. None of it shows on the page, so nobody notices until someone else looks.

What a PDF can hide

  • Document properties: the author's name, the title of an old draft, the software used, and creation and edit dates.
  • XMP metadata: an extra hidden block that can include the author and an editing history.
  • Comments and their authors: sticky notes, highlights and review remarks, each with the reviewer's name.
  • Earlier versions: some programs save changes on top of the old content, so text you deleted can often still be recovered.
  • Attachments: whole files embedded inside the PDF.
  • Scripts and automatic actions: JavaScript that runs when the file opens.
  • Hidden text: words covered by black or white boxes, which can still be copied.
  • Personal information in the text: email addresses, phone numbers, card and bank numbers.
  • Design program data: files exported from programs like Illustrator can carry the complete editable artwork, which can be opened again outside the PDF.

Step 1: Scan the file

Open the Privacy Scanner and add your PDF. You get a plain-English report marked OK, Note or Check for each kind of hidden data. Each problem has a button that opens the tool that fixes it, with your file already loaded. The scan only reads the file; nothing is changed or uploaded.

Step 2: Remove what you don't want to share

  • Properties, XMP metadata, scripts, attachments and earlier versions: Remove Metadata strips them all and saves a clean copy. It also removes the private editing data that design programs like Illustrator store. Pages look exactly the same.
  • Comments and markup: Remove Annotations deletes comments, highlights and drawings, and can keep links and form fields.
  • Hidden text under boxes: see what's there with the Redaction Checker, then remove it properly with Redact PDF in Secure mode. See how to redact a PDF properly.
  • Personal information you don't want to share: mark it with Find personal info in Redact PDF.

The Clean and shrink before sharing workflow runs Remove Metadata and a lossless compress in one go.

Step 3: Scan again

Run the Privacy Scanner on the cleaned file. Everything you fixed should now show OK.

Make it a habit

  • Clean the final version only. Remove hidden data as the very last step, after all edits, so nothing new is added afterwards.
  • Check files you receive, too. A quick scan tells you who wrote a document and whether it carries scripts or attachments before you open it in other programs.
  • Set your name in your software. Word, Excel and design programs put the account name into every file. If you share a lot, check what name they use.

Checking a file you received

Hidden data works both ways. Before you open an unexpected attachment in other programs, or rely on a "redacted" document, a quick scan tells you:

  • who made it, with which software and when, which helps spot documents that aren't what they claim to be;
  • whether it carries scripts or attachments, which a plain document has no reason to contain;
  • whether redacted text is still readable, using the Redaction Checker;
  • whether personal details such as card numbers or email addresses appear in the text.

The Privacy Scanner only reads the file, so it's safe to run on anything. If a document you received contains scripts you didn't expect, open it in a browser's built-in PDF viewer rather than a desktop reader, or clean it with Remove Metadata first.

Common problems

The author's name came back after editing

Many programs write your name into the properties every time they save. If you edit the PDF again after cleaning it, run Remove Metadata again.

The Privacy Scanner still shows comments

Comments are annotations, not metadata. Remove them with Remove Annotations, then scan again.

Hidden text is still reported

Remove Metadata doesn't change page content. Text hidden under boxes must be removed with Redact PDF; drawing another box over it isn't enough.

Remove Metadata only removes links when you tick that option. If you did, run it again on the original file with Links unticked.

The file is much smaller

That's expected when the PDF came from a design program: its stored editing data can be most of the file size. The visible pages are unchanged.

Frequently asked questions

Does removing metadata change how the PDF looks? No. Only hidden data is removed; the pages stay the same.

Why does my PDF have "earlier versions"? Programs that save quickly add changes to the end of the file instead of rewriting it. Any tool on LetsEditPDF saves a fresh copy without them.

Will it remove my digital signature? Yes, cleaning a file that carries a certificate-based digital signature invalidates it, as any change would. Clean the file before it's signed.

Can I see the metadata without removing it? Yes. The Privacy Scanner shows it; Edit Metadata lets you view and change the title, author and other properties.

Is it safe to scan confidential files here? Yes. The scan and the clean-up run in your browser; the file never leaves your device.

All guides