Read and edit Office files without Office
Scripts and agents need facts from a file, a template filled, a cell written, or a slide moved. These commands do that on existing DOCX, XLSX, and PPTX files and never cost a credit.
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.
inspect
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.
inspect / 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.
inspect / 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.pptxConvert one real file today.
Install in a minute. Inspect and PDF tools are free forever. Conversions come with 80 free pages a month, and cost a cent a page after that.
brew install jetformat/tap/jetformatVersion 0.1.1. Extract and put jetformat on PATH.
jetformat --version
jetformat word to-pdf report.docx -o report.pdf