Jetformat

Fill PDF form fields from a JSON file

Use jetformat pdf fill to fill PDF form fields from a JSON file.

By Jetformat

The JSON input is a name/value array. Start with pdf fields to discover names, edit a local data file, and fill a new PDF rather than overwriting the blank form.

Steps

  1. Start with a local PDF. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat pdf fields form.pdf > fields.json
# Edit the name/value entries in fields.json before filling.
jetformat pdf fill form.pdf --json fields.json -o filled.pdf

Options for this task

Option Meaning
--json Form JSON path; a name/value array
--output Output PDF path (required)

Check the result

Read fields from the output and render filled pages to catch clipped values or unexpected appearances.

Notes and limits

This operation uses page-based credits. Review the billing guide before processing a large document.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat pdf fill --help to compare options with your installed version.

See the pdf command reference for the surrounding workflow.

Last updated