Skip to main content

Metadata

The metadata object sets PDF document properties that appear in the file's properties panel and are used by search engines, document management systems, and screen readers.

All metadata fields are optional.

Properties

PropertyTypeDescription
titlestringDocument title displayed in the PDF viewer title bar
authorstringDocument author name
subjectstringBrief description of the document's subject
keywordsstringComma-separated keywords for search and classification
versionstringDocument version identifier

Example

{
"document": {
"metadata": {
"title": "Q1 2026 Shipping Report",
"author": "ShipForge Operations",
"subject": "Quarterly performance metrics for North America corridor",
"keywords": "shipping, logistics, Q1, 2026, North America",
"version": "1.2"
},
"content": [
{ "p": "Report content goes here." }
]
}
}

Where metadata appears

  • PDF viewer title bar -- The title field is shown in the browser tab or PDF reader window title.
  • Document properties dialog -- All fields are visible when viewing file properties (File > Properties in most PDF readers).
  • Search indexing -- The keywords and subject fields help document management systems categorize and locate files.

Best practices

  • Always set title for documents that will be shared or archived.
  • Use keywords to improve discoverability in document management systems.
  • Use version when generating multiple revisions of the same template to track which version produced a given PDF.