ToolsHubs
ToolsHubs
Privacy First

PDF Metadata Editor

Edit and manage hidden metadata properties (Title, Author, Subject, Keywords) of your PDF files securely.

How to use PDF Metadata Editor

  1. 1

    Upload the PDF file you wish to edit.

  2. 2

    The current metadata will be loaded automatically.

  3. 3

    Modify the Title, Author, Subject, or Keywords as needed.

  4. 4

    Click "Save & Download PDF" to generate the updated file.

Frequently Asked Questions

Can I remove existing metadata?

Yes, just clear the field (leave it blank) and click Save to remove that specific property.

Introduction

When you email a legal document, share a PDF portfolio, or publish a report on a website, the file's hidden metadata travels with it. The Author field might contain your personal name or your company's internal naming conventions. The Creator field might reveal which software version you're using — something you'd rather not share with clients or competitors. The Keywords field might have been accidentally populated with internal project tags.

This PDF Metadata Editor lets you view all the current metadata properties in any PDF and then freely edit or clear them — all without uploading your file anywhere. Change the author name, update the title, clear the subject, or wipe all fields blank in a few clicks. The modified PDF downloads immediately.


Technical & Concept Breakdown

PDF metadata is stored in the Document Information Dictionary — a simple key-value structure at the end of the PDF's cross-reference table. The tool opens this dictionary using pdf-lib, displays the current values, and lets you overwrite each field.

The edit process works like this:

  1. PDFDocument.load(buffer) — reads the full PDF into memory
  2. pdfDoc.setTitle('New Title') — overwrites the /Title key in the Info dictionary
  3. pdfDoc.setAuthor('New Author') — same for /Author
  4. pdfDoc.setSubject(...), pdfDoc.setKeywords([...]), pdfDoc.setCreator(...), pdfDoc.setProducer(...) — remaining editable fields
  5. pdfDoc.save() — serializes the modified PDF back to binary

To clear a field, you simply set it to an empty string. pdf-lib writes an empty string value for that key, which PDF readers display as "none" or leave blank.

What you can and can't edit: You can edit the "soft" metadata fields: Title, Author, Subject, Keywords, Creator. The CreationDate is technically editable but is set automatically on save. ModDate is always automatically updated to the current timestamp by pdf-lib on save — this is by design in the PDF specification.


Real-World Use Cases

Freelancers & Agencies: Before delivering a client project as a PDF, clear out internal Author tags that might reveal your employee's name or an internal project code.

Academics: Update or correct the Author field on research papers before submission to conferences or journals.

Publishers: Standardize the metadata across a batch of PDFs — ensuring consistent Author, Creator, and Keyword formatting across an entire publication series.

Legal & Compliance Teams: Clear out software version identifiers from the Creator/Producer fields before submitting documents to regulatory bodies.

Personal Privacy: Remove names, locations, or internal tags from PDFs before sharing them publicly on websites or forums.


Best Practices & Optimization Tips

Before editing, always use the PDF Metadata Viewer to see what's currently there. This prevents you from accidentally overwriting useful information you weren't aware of.

Set meaningful Keywords. If you're sharing a publicly accessible PDF (like a guide or whitepaper), well-chosen keywords help search engines index the file better.

Clear the Creator field when redistributing converted documents. If a PDF was originally Word, the Creator might say "Microsoft Office". For a polished final product, setting Creator to your company name looks more professional.

Always re-check the output. Open the downloaded file in a PDF reader and verify the metadata shows the expected values before distributing.


Limitations & Common Mistakes

Encrypted PDFs must be unlocked before editing. Remove the password using the Remove PDF Password tool first.

The ModDate always updates to "now". This is a PDF spec behavior — when pdf-lib saves the file, it automatically writes the current timestamp to ModDate. You can't set it to an arbitrary past date using this tool.

XMP metadata may not be updated. In PDFs that use the newer XMP metadata standard (typically Adobe-generated files), the Information Dictionary and XMP can coexist. Changes made via this tool update the Information Dictionary; the embedded XMP may still show the original values. For full removal, a professional PDF processing tool with XMP support is needed.

Complex or corrupted PDF structures may fail to load or save correctly. Use the PDF Repair tool first if you suspect the file is damaged.