Jetformat
Every command

Five formats, one grammar: resource, verb, file

Scripts and agents need facts from a file, a template filled, a cell written, a slide moved, a PDF merged. Jetformat does all of it with the same shape of command, on your own machine. Read: all free. Writes use credits.

Terminal
jetformat word inspect contract.docx --json
jetformat excel get finance.xlsx --sheet Summary --cell B12
jetformat ppt reorder deck.pptx --from 1 --to 3 -o deck.pptx --force
Read: all free. Writes use credits.text, inspect, get, notes, and every other read runs on your machine with no account. Writing an Office file (set, template, reorder) is one credit per command; writing a PDF page (convert, merge, fill, sign) is one credit per page. 80 credits a month are free.

Word documents

Inspect structure, fill templates, add comments and headers, merge and split. Dedicated page →

to-pdf

DOCX in, PDF out.

Terminal
jetformat word to-pdf contract.docx -o contract.pdf

inspect

Paragraphs, tables, images, headers, content controls, styles, bookmarks, and comments.

Terminal
jetformat word inspect contract.docx --json
jetformat word tables contract.docx
jetformat word styles contract.docx
jetformat word bookmarks contract.docx

template / mail-merge / fill-fields

Content-control template, MERGEFIELD mail-merge, and legacy form fields are three different commands.

Terminal
jetformat word template letter.docx --set customer="Acme Corp" -o letter.docx --force
jetformat word mail-merge letter.docx --set Customer="Acme Corp" -o letter.docx --force
jetformat word fill-fields letter.docx --set Name=Ada -o letter.docx --force

comment / footnote / header / toc

Add or list comments, footnotes, endnotes, headers, hyperlinks, numbering, and a table of contents field.

Terminal
jetformat word comment letter.docx --author Alice --text "fix this" -o letter.docx --force
jetformat word footnote report.docx --paragraph 1 --text "see spec" -o report.docx --force
jetformat word header report.docx --text Confidential -o report.docx --force
jetformat word toc report.docx --levels 1-3 -o report.docx --force

watermark / style / add-table / add-image

Text or image watermark. Insert paragraphs, tables, and inline images into an existing DOCX — this is not creating a file from scratch.

Terminal
jetformat word watermark letter.docx --text CONFIDENTIAL -o letter.docx --force
jetformat word style report.docx --paragraph 1 --id Heading1 -o report.docx --force
jetformat word add-table report.docx --row Alpha,Beta -o report.docx --force
jetformat word add-image report.docx --paragraph 1 --image logo.png -o report.docx --force

merge / split

Merge concatenates DOCX files. Split follows section breaks, not pages. For page ranges, run word to-pdf, then pdf extract.

Terminal
jetformat word merge chapter1.docx chapter2.docx -o book.docx --force
jetformat word split report.docx -o report-parts --force

extract-images

Embedded pictures only. Scanned pages are not OCR.

Terminal
jetformat word extract-images report.docx -o report-images

Excel workbooks

Read and write cells, recalculate, sort, filter, freeze, protect. Dedicated page →

to-pdf

Visible worksheets become one PDF in workbook order. Hidden sheets are skipped.

Terminal
jetformat excel to-pdf workbook.xlsx -o workbook.pdf

inspect / get / set / recalc

Inspect sheets, formulas, and named ranges. set writes a value or formula; recalc updates cached results.

Terminal
jetformat excel inspect finance.xlsx --json
jetformat excel get finance.xlsx --sheet Summary --cell B12
jetformat excel set finance.xlsx --sheet Summary --cell A1 --value 5 -o finance.xlsx --force
jetformat excel recalc finance.xlsx -o finance.xlsx --force

table / sort / filter / freeze

Format as table, sort a column, set an auto-filter, freeze panes, and merge cells. Validation is a comma-separated dropdown only.

Terminal
jetformat excel table finance.xlsx --sheet Summary --range A1:B2 --name Sales -o finance.xlsx --force
jetformat excel sort finance.xlsx --sheet Summary --column A -o finance.xlsx --force
jetformat excel filter finance.xlsx --sheet Summary --range A1:C20 -o finance.xlsx --force
jetformat excel freeze finance.xlsx --sheet Summary --row --col -o finance.xlsx --force

add-sheet / protect / protect-sheet

Add, copy, rename, or remove visible sheets. protect locks workbook structure; protect-sheet locks one sheet.

Terminal
jetformat excel add-sheet finance.xlsx --name Extra -o finance.xlsx --force
jetformat excel copy-sheet finance.xlsx --from Summary --name Copy -o finance.xlsx --force
jetformat excel protect finance.xlsx --password secret -o finance.xlsx --force
jetformat excel protect-sheet finance.xlsx --sheet Summary --password secret -o finance.xlsx --force

insert-row / hide-column / print-area

Insert or hide rows and columns. There is no delete-row command. Column width is a character width.

Terminal
jetformat excel insert-row finance.xlsx --sheet Summary --row 2 -o finance.xlsx --force
jetformat excel hide-column finance.xlsx --sheet Summary --column A -o finance.xlsx --force
jetformat excel column-width finance.xlsx --sheet Summary --column A --width 18 -o finance.xlsx --force
jetformat excel print-area finance.xlsx --sheet Summary --range A1:B2 -o finance.xlsx --force

merge / split

Merge copies cell values and formulas from visible sheets. Charts and images may not copy.

Terminal
jetformat excel merge a.xlsx b.xlsx -o workbook.xlsx --force
jetformat excel split workbook.xlsx -o workbook-parts --force

PowerPoint decks

Reorder, copy, remove, and annotate slides. Read speaker notes. Dedicated page →

to-pdf

PPTX to PDF runs in-process. Render a page if you need a preview.

Terminal
jetformat ppt to-pdf slides.pptx -o slides.pdf
jetformat pdf render slides.pdf --pages 1 --width 1600

inspect / notes

Slide counts, text boxes, tables, images, and speaker notes.

Terminal
jetformat ppt inspect board-deck.pptx --json
jetformat ppt notes board-deck.pptx
jetformat ppt set-notes board-deck.pptx --page 1 --text "speak now" -o board-deck.pptx --force

reorder / copy-slide / remove / add-slide

Page numbers start at 1. copy-slide appends a clone. remove deletes one slide.

Terminal
jetformat ppt reorder board-deck.pptx --from 1 --to 3 -o board-deck.pptx --force
jetformat ppt copy-slide board-deck.pptx --from 1 -o board-deck.pptx --force
jetformat ppt remove board-deck.pptx --page 2 -o board-deck.pptx --force
jetformat ppt add-slide board-deck.pptx -o board-deck.pptx --force

add-text / add-image / add-table

New shapes land at the top-left of the slide. add-table creates an empty table.

Terminal
jetformat ppt add-text board-deck.pptx --page 1 --text "extra box" -o board-deck.pptx --force
jetformat ppt add-image board-deck.pptx --page 1 --image logo.png -o board-deck.pptx --force
jetformat ppt add-table board-deck.pptx --page 1 -o board-deck.pptx --force

merge / split

Merge concatenates slides. Split writes one PPTX per slide.

Terminal
jetformat ppt merge a.pptx b.pptx -o deck.pptx --force
jetformat ppt split board-deck.pptx -o board-parts --force
jetformat ppt layouts board-deck.pptx
jetformat ppt slide-size board-deck.pptx

PDF files

Read, combine, secure, fill, annotate, and render. Dedicated page →

to-word / to-docx

The PDF text layer becomes an editable DOCX. to-word is an alias of to-docx. Not OCR. Not a pixel-perfect clone.

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

info / merge / extract / split

extract is a contiguous range into one file. split writes one file per page. insert appends every page of another PDF.

Terminal
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

render / optimize / rotate / flip

Render selected pages to PNG or JPEG. rotate is multiples of 90. flip is a mirror, not a rotation.

Terminal
jetformat pdf render book.pdf --pages 1,3-5,last --width 1600
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

encrypt / decrypt / redact / sign

Password-protected inputs are otherwise out of scope except decrypt. sign needs a PEM cert and RSA key. timestamp needs a reachable TSA.

Terminal
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

fields / fill / flatten

fill uses JSON field names. add-text-field creates a new field. flatten bakes filled values into the page.

Terminal
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

annotate / highlight / stamp

annotate is a rectangle. highlight is a yellow box, not a text search. ink is a point path.

Terminal
jetformat pdf annotate book.pdf --page 1 --x 72 --y 72 --width 120 --height 40 -o ann.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 highlight book.pdf --page 1 --x 72 --y 72 --width 120 --height 16 -o hl.pdf --force
jetformat pdf ink book.pdf --page 1 --points 10,10,80,40,120,20 -o ink.pdf --force
jetformat pdf stamp book.pdf --text DRAFT --page 1 -o stamped.pdf --force

attach / pin / meta / pdfua

attach embeds in the catalog. pin is a page paperclip. pdfua writes mechanical metadata and does not synthesize a tag tree. tables are heuristic.

Terminal
jetformat pdf attach book.pdf --file notes.txt -o attached.pdf --force
jetformat pdf pin book.pdf --file notes.txt --page 1 -o pinned.pdf --force
jetformat pdf meta book.pdf --title Report --author Jetformat -o meta.pdf --force
jetformat pdf outlines book.pdf
jetformat pdf tables book.pdf
jetformat pdf fonts book.pdf
jetformat pdf pdfa book.pdf --profile 1b -o a.pdf --force
jetformat pdf pdfua book.pdf -o ua.pdf --force

Convert one real file today.

Install the CLI and inspect a document with free reads. Office edits use one credit per command; PDF writes use page-based credits. Every account gets 80 free credits a month, with plans and packs for more.

macOS · Linux
brew install jetformat/tap/jetformat