ToolsEdit PDFArticlesPricingContact
PrivacyOct 26, 2026·3 min read

Clean a PDF Before Sharing: Metadata, Scripts and Links

TPTry PDF Kit team
Clean a PDF Before Sharing: Metadata, Scripts and Links

Before you share a PDF, check its properties, scripts, links and form fields. A short privacy checklist you can run in your browser.

Before you share a PDF, look past the page you can see. A file can carry an author name, a title you forgot to change, embedded scripts, clickable links and live form fields. A short clean-up pass takes a few minutes and avoids awkward surprises, especially when the file goes outside your organisation.

Check 1: document properties

PDFs have properties such as title, author, subject and keywords. They often come from the program that made the file, so an old title or a colleague's name can travel with it. Edit PDF properties changes the title, author, subject, keywords, language and how the file opens.

If you want the details removed altogether rather than edited, the tool list also has Remove PDF metadata. Setting a proper title is still good practice, because many readers display it in the window instead of the file name.

Check 2: embedded JavaScript

Some PDFs contain JavaScript actions, used by interactive forms. Most documents do not need any, and recipients who are careful about security may prefer files without them. PDF JavaScript remover strips embedded JavaScript actions from a PDF. After removing, test that the document still behaves as you want, particularly if it is a form with calculations.

Check 3: links

Links can point to internal drafts, tracking addresses or pages you no longer want to share. First see what is there: Extract PDF links lists every web, e-mail and typed address in a PDF with the page it is on. Read the list. If something should not be there, PDF link remover removes clickable links from pages.

Check 4: forms and answers

A filled form can still be edited, and it may hold more answers than you realise. Export PDF form data lists every fillable field of a PDF form with its current value. Review the output before sending. To lock the final version, Flatten PDF locks form fields into the page so answers can no longer be changed. If fields should simply go, PDF form field remover removes selected interactive form fields.

Check 5: attachments and annotations

PDFs can carry attached files and comments. A reviewer's sticky notes, or a spreadsheet embedded as an attachment, are easy to miss. Use the annotation and attachment tools on the site to see what is present, for example Remove PDF annotations and Extract PDF attachments.

Check 6: what is visually hidden

A white box or a crop only hides content from view. The text beneath may still be in the file. When something must truly disappear, use Redact PDF, which is designed for permanent removal, and then check the result by trying to select and search for the removed words.

A five-minute routine

  • Open the PDF and read it fully as a stranger would.
  • Review and fix the properties.
  • Check links and remove what should not be shared.
  • Remove scripts if the file does not need them.
  • Review form data, then flatten or remove fields.
  • Save under a new name, keeping the original.

All these steps run in your browser, so you do not have to upload a confidential file to a stranger's server to clean it. Large files depend on your device memory.

Frequently asked questions

Can a PDF contain hidden information? Yes. Besides the visible page, a PDF can hold properties such as author and title, attachments, comments, links, scripts and form data.

How do I remove the author name from a PDF? Edit the document properties, or remove the metadata, and save a new copy. Check the result in a PDF reader's document properties panel.

Is it safe to open a PDF with JavaScript? Most PDF readers restrict scripts, but you may prefer to remove them before sharing a file widely. Test that the document still works afterwards.

Ready to try it on your own files? Try PDF Kit gives you 3 free uses without an account.

Browse all toolsBrowse all tools

Keep reading.

Every PDF tool you need, in one place.

Try 3 tools free, no account needed.

Start for freeStart for freeBrowse all toolsBrowse all tools
Clean a PDF Before Sharing: Metadata, Scripts and Links | Try PDF Kit