PDF Metadata

See what a PDF says about itself, and change it, without the file leaving your machine.

Runs on your devicePDFWorkingNo account needed

What this tool does

PDF Metadata works on the document information dictionary — the small block of text fields every PDF carries alongside its pages, and the thing your reader shows under File and then Properties. Read the metadata, the mode the tool opens in, parses the file with pdf-lib and reports eight of those fields back: Title, Author, Subject, Keywords, Creator, Producer, and the creation and modification dates. The page count and the file size are named beside them, so a document that says nothing about itself is as clear a result as one that describes itself in full.

Write new metadata turns the same fields into boxes you can type into. Only the boxes you fill are written, and anything you leave empty is passed over, so correcting one misspelt author name does not quietly blank the other entries. Keywords is the one field that does not survive intact: what you type is split on commas, and pdf-lib joins the pieces back together with spaces before they reach the file, so annual report, q3 finance is stored as annual report q3 finance and nothing downstream can tell where one keyword ended and the next began. The checkbox Blank fields clear the existing value inverts the rule when you want it inverted, and an empty box then writes an empty value over whatever was there. Every write also stamps the modification date with the moment you ran it, and returns a copy named after the original with -metadata added.

One boundary decides whether this is the right tool, and it is worth knowing before you trust a result. Only that information dictionary is read and written. Many PDFs carry a second copy of the same facts in an XMP packet, and this tool neither reads that packet nor updates it, so a file holding both can go on showing its old title in software that prefers XMP. Clearing is the other half of the same point: the clear option writes empty values, which is not the same as deleting the entries. Where the aim is to strip identifying fields before a file goes out rather than to correct them, Remove PDF Metadata deletes the entries outright and can drop the XMP stream with them.

The work is done by pdf-lib inside this tab, on your own processor, and no copy of the document goes to a server — which matters here because the fields under inspection are so often a colleague's full name, an internal file path, or the licensed copy of the software that made the file. Several documents can go through together: read mode lists each file's fields under its own name, and write mode applies the same values to every PDF in the queue and returns one edited copy each. A document that demands a password cannot be opened at all: the message names it and points at Unlock PDF, and because the whole queue is one job the run stops there, so the files that would have worked come back with nothing and have to be run again without the offender.

How to use it

  1. Queue the PDFs you want to inspect or relabel. Everything in the queue is handled in the same run and identified by filename in the output. A password-protected or damaged file halts that run by name and no results come back for any of them, so send that one through Unlock PDF first.
  2. Read what is already there. Read the metadata is the default. It reports the eight information fields along with the page count and the file size, and leaves the document exactly as it found it — nothing is written in this mode.
  3. Switch to Write new metadata. Six boxes appear: Title, Author, Subject, Keywords, Creator and Producer. Fill in only the ones you mean to change. Type Keywords with commas between them, but expect the value that lands in the file to hold spaces instead.
  4. Decide what an empty box means. Left alone, an empty box means leave that field as it is. Tick Blank fields clear the existing value and an empty box empties the field instead. The edited copy comes back as report-metadata.pdf.

Processing & privacy

Runs on your device. Your file is processed directly in this browser.

Common use cases

Checking a document before you pass it on

Author, Creator and Producer routinely name a person, a department and the licensed software that wrote the file. Reading them takes a moment; explaining them afterwards does not.

Fixing the title a reader displays

Viewers put the Title field in the tab or the window bar, so a file exported from a word processor keeps announcing itself as Microsoft Word - draft3.doc until somebody writes a real one.

Labelling a set of exports together

Queue the whole batch and write one Author, Subject and set of keywords across all of them, so the files arrive in a shared drive or a document library described consistently.

Working out what produced a file

When a PDF prints oddly or misbehaves in a single viewer, the Producer field usually names the library or driver that wrote it, and that is where the investigation starts.

Checking a cleaned file

After Remove PDF Metadata has been over a document, reading it back here is how you find out whether the entries you cared about are genuinely empty.

Questions

Does the document reach a server at any point?
No. pdf-lib is loaded into this page and both the reading and the writing happen on your own machine, so the document is never transmitted. The pdf-lib script is itself fetched from this site the first time you press Run, and that is the last thing here to touch the network.
Does it read the XMP metadata as well?
No. It reads and writes the document information dictionary only. A PDF that also carries an XMP packet keeps that packet exactly as it was, so after an edit the two can disagree, and anything that prefers XMP will show the older values.
Can I change the creation date?
No. The creation date is reported but has no box, and it is left as the file recorded it. The modification date is not adjustable either — writing metadata sets it to the time of the run, because that is when the document was in fact modified.
How do I remove metadata instead of rewriting it?
Tick Blank fields clear the existing value and every field you leave empty is overwritten with an empty value, which covers most purposes. Remove PDF Metadata is the stricter option: it deletes the entries from the information dictionary and can take the XMP stream with them.
Why will it not open my file?
Two reasons account for almost all of them. Either the file is not a PDF, which the message says by name, or it is password-protected — and an encrypted document has to go through Unlock PDF before anything can read its properties. A third case passes without any message: a file whose name does not end in .pdf is dropped from the queue silently, so five files added can become four reported on.
Can I do several documents in one go?
Yes. Every PDF in the queue is processed in the same run. In write mode the values you typed are applied to all of them, so this suits a set that should share an author or a subject, not giving each file a title of its own.
Why does a date not match what my reader shows?
Dates are reported as year-month-day and hour-minute in your computer's own time zone, with the seconds dropped. A PDF records the offset it was written with, so a file created in another zone can legitimately read an hour or two apart from the same value elsewhere.
Does writing metadata change the pages?
No. Only the information dictionary is touched; page content, fonts and images are carried through unchanged. pdf-lib does write the whole document out again rather than patching it in place, so the file size can land a little either side of the original.

Related tools

  • Merge PDF — Combine several PDFs into one document in the order you choose.
  • Split PDF — Split one PDF into separate documents by page range.
  • Compress PDF — Reduce PDF file size while preserving the quality that matters.
  • PDF to JPG — Export every page of a PDF as a JPG image.
  • JPG to PDF — Turn one or many JPG photos into a single PDF.
  • Protect PDF — Add a password and set permissions on a PDF.