Jetformat

PDF conversion, editing, and inspection commands

Read, combine, edit, secure, and render PDFs. Reading is free; writing a new PDF costs one credit per output page.

By Jetformat

The pdf resource is Jetformat’s command group for inspecting existing PDFs and creating derived documents or page images. Choose the verb from the desired output: an editable DOCX, a new PDF, a set of single-page PDFs, or raster previews are different results.

Plan a PDF operation

  1. Inspect the source with pdf info and check its page count and encryption state.
  2. Read text or fields if the requested operation depends on them. A scan may contain no usable text layer.
  3. Select the appropriate verb and write to a new path.
  4. Inspect the result, confirm its page count, and visually review affected pages before sharing it.

to-word / to-docx (1 credit per page)

jetformat pdf to-word report.pdf -o report.docx
jetformat pdf to-docx report.pdf -o report.docx --force

Rebuilds an editable DOCX from the PDF text layer. Not OCR.

render (1 credit per rendered page)

jetformat pdf render book.pdf --pages 1,3-5,last --width 1600
jetformat pdf render book.pdf --pages 1 --format jpg -o preview

Writes page-0001.png and so on into the output directory.

info (free) · merge, extract, split, insert (1 credit per output page)

jetformat pdf info book.pdf --json
jetformat pdf merge a.pdf b.pdf -o book.pdf --force
jetformat pdf extract book.pdf --pages 2-5 -o chapter.pdf --force
jetformat pdf split book.pdf -o book-parts --force
jetformat pdf insert book.pdf --file chapter.pdf -o book.pdf --force
jetformat pdf remove-page book.pdf --page 2 -o book.pdf --force

extract takes one contiguous range (2-5, 1-last, all). split writes one file per page.

Transform (1 credit per output page)

jetformat pdf optimize book.pdf -o small.pdf --force
jetformat pdf sanitize book.pdf -o clean.pdf --force
jetformat pdf rotate book.pdf --degrees 90 -o rotated.pdf --force
jetformat pdf flip book.pdf --horizontal -o flipped.pdf --force
jetformat pdf grayscale book.pdf -o gray.pdf --force
jetformat pdf crop book.pdf --llx 0 --lly 0 --urx 400 --ury 500 -o crop.pdf --force
jetformat pdf pdfa book.pdf --profile 1b -o a.pdf --force
jetformat pdf pdfua book.pdf -o ua.pdf --force

Security (1 credit per output page)

jetformat pdf encrypt book.pdf --user secret -o locked.pdf --force
jetformat pdf decrypt locked.pdf --password secret -o unlocked.pdf --force
jetformat pdf redact book.pdf --term "secret" -o redacted.pdf --force
jetformat pdf sign book.pdf --cert cert.pem --key key.pem -o signed.pdf --force
jetformat pdf timestamp book.pdf --tsa https://freetsa.org/tsr -o ts.pdf --force

Forms and annotations (1 credit per output page)

jetformat pdf fields form.pdf
jetformat pdf fill form.pdf --json fields.json -o filled.pdf --force
jetformat pdf add-text-field book.pdf --name Title --page 1 -o form.pdf --force
jetformat pdf flatten form.pdf -o flat.pdf --force
jetformat pdf stamp book.pdf --text DRAFT --page 1 -o stamped.pdf --force
jetformat pdf annotate book.pdf --page 1 --x 72 --y 72 --width 120 --height 40 -o ann.pdf --force
jetformat pdf highlight book.pdf --page 1 --x 72 --y 72 --width 120 --height 16 -o hl.pdf --force
jetformat pdf circle book.pdf --page 1 --x 72 --y 72 --width 80 --height 80 -o circle.pdf --force
jetformat pdf line book.pdf --page 1 --x1 72 --y1 72 --x2 200 --y2 120 -o line.pdf --force
jetformat pdf ink book.pdf --page 1 --points 10,10,80,40,120,20 -o ink.pdf --force

highlight is a box, not a text search.

Metadata and attachments (read verbs free; attach, pin, meta cost 1 credit per page)

jetformat pdf meta book.pdf --title Report --author Jetformat -o meta.pdf --force
jetformat pdf outlines book.pdf
jetformat pdf fonts book.pdf
jetformat pdf tables book.pdf
jetformat pdf attach book.pdf --file notes.txt -o attached.pdf --force
jetformat pdf attachments attached.pdf
jetformat pdf pin book.pdf --file notes.txt --page 1 -o pinned.pdf --force
jetformat pdf extract-images book.pdf -o book-images --force

tables is heuristic. pdfua writes metadata and does not synthesize a tag tree.

Compare extraction, splitting, and rendering

Operation Output Typical use
extract One PDF containing a contiguous range Send one chapter
split One PDF for each source page Distribute pages individually
render PNG or JPEG images Review appearance
text Existing text as text, Markdown, or JSON Search or summarize words

Extracting pages 2–5 produces 4 output pages and uses 4 credits. Rendering 2 preview pages afterwards adds 2 credits. Reading pdf info uses 0 credits. These examples assume the stated ranges exist and the operations succeed; inspect the actual source before building a batch estimate.

Verify the intended property

A PDF opening successfully is not enough to prove that redaction removed information, that a form was filled correctly, or that a document meets an accessibility standard. Review each required property separately. Encryption controls access; it is not removal of sensitive content. See PDF security operations, form fields, and PDF task help.

Last updated