PDF metadata

PDF metadata is automatically derived from HTML meta tags in your document, allowing you to control how your PDF appears in document viewers and search results.

Setting metadata

The <title> element defines the document title, while <meta> tags control additional metadata like author, subject, date, and generator application:

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Invoice INV-2026-0456</title>
  <meta name="author" content="Acme Corporation">
  <meta name="subject" content="Invoice for consulting services - March 2026">
  <meta name="date" content="2026-03-15">
  <meta name="generator" content="Acme Billing System">
</head>

This metadata is embedded in the generated PDF and can be viewed in most PDF readers under the document properties or information panel.