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.
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 --forceWord documents
Inspect structure, fill templates, add comments and headers, merge and split. Dedicated page →
to-pdf
DOCX in, PDF out.
jetformat word to-pdf contract.docx -o contract.pdfinspect
Paragraphs, tables, images, headers, content controls, styles, bookmarks, and comments.
jetformat word inspect contract.docx --json
jetformat word tables contract.docx
jetformat word styles contract.docx
jetformat word bookmarks contract.docxtemplate / mail-merge / fill-fields
Content-control template, MERGEFIELD mail-merge, and legacy form fields are three different commands.
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 --forcecomment / footnote / header / toc
Add or list comments, footnotes, endnotes, headers, hyperlinks, numbering, and a table of contents field.
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 --forcewatermark / 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.
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 --forcemerge / split
Merge concatenates DOCX files. Split follows section breaks, not pages. For page ranges, run word to-pdf, then pdf extract.
jetformat word merge chapter1.docx chapter2.docx -o book.docx --force
jetformat word split report.docx -o report-parts --forceextract-images
Embedded pictures only. Scanned pages are not OCR.
jetformat word extract-images report.docx -o report-imagesExcel 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.
jetformat excel to-pdf workbook.xlsx -o workbook.pdfinspect / get / set / recalc
Inspect sheets, formulas, and named ranges. set writes a value or formula; recalc updates cached results.
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 --forcetable / 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.
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 --forceadd-sheet / protect / protect-sheet
Add, copy, rename, or remove visible sheets. protect locks workbook structure; protect-sheet locks one sheet.
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 --forceinsert-row / hide-column / print-area
Insert or hide rows and columns. There is no delete-row command. Column width is a character width.
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 --forcemerge / split
Merge copies cell values and formulas from visible sheets. Charts and images may not copy.
jetformat excel merge a.xlsx b.xlsx -o workbook.xlsx --force
jetformat excel split workbook.xlsx -o workbook-parts --forcePowerPoint 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.
jetformat ppt to-pdf slides.pptx -o slides.pdf
jetformat pdf render slides.pdf --pages 1 --width 1600inspect / notes
Slide counts, text boxes, tables, images, and speaker notes.
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 --forcereorder / copy-slide / remove / add-slide
Page numbers start at 1. copy-slide appends a clone. remove deletes one slide.
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 --forceadd-text / add-image / add-table
New shapes land at the top-left of the slide. add-table creates an empty table.
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 --forcemerge / split
Merge concatenates slides. Split writes one PPTX per slide.
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.pptxPDF 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.
jetformat pdf to-word report.pdf -o report.docx
jetformat pdf to-docx report.pdf -o report.docx --forceinfo / merge / extract / split
extract is a contiguous range into one file. split writes one file per page. insert appends every page of another PDF.
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 --forcerender / optimize / rotate / flip
Render selected pages to PNG or JPEG. rotate is multiples of 90. flip is a mirror, not a rotation.
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 --forceencrypt / 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.
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 --forcefields / fill / flatten
fill uses JSON field names. add-text-field creates a new field. flatten bakes filled values into the 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 --forceannotate / highlight / stamp
annotate is a rectangle. highlight is a yellow box, not a text search. ink is a point path.
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 --forceattach / 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.
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 --forceConvert 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.
brew install jetformat/tap/jetformatnpm install -g jetformatVersion 0.1.8. Extract and put jetformat on PATH.
jetformat --version
jetformat word to-pdf report.docx -o report.pdf