Jetformat

Convert a Word document to PDF

Resource + verb. Run word to-pdf, inspect structure, fill templates, then inspect the file Jetformat wrote.

By Jetformat

Word-to-PDF conversion creates a fixed-layout PDF from a DOCX document. Run jetformat word to-pdf with an explicit output filename, then use pdf info to read the resulting page count. The page count comes from the generated PDF, not from the number of paragraphs or sections in Word.

Keep the DOCX as the editable source. A PDF is useful for distribution and visual review, but it is not a replacement for the source when you need to change template fields or document structure later.

Check the source and fonts

Jetformat supports .docx, not legacy .doc or macro-enabled .docm. Renaming an unsupported extension does not convert the file. Request a DOCX source or convert it with a tool that supports the original format first.

Fonts affect character widths, wrapping, and page breaks. Make the document’s fonts available on the machine or pass a directory with --font-dir. Check the font licence before copying font files into a server environment.

Convert the document step by step

  1. Validate the source with jetformat validate contract.docx.
  2. Inspect it with jetformat word inspect contract.docx --json when you need to check document structure before conversion.
  3. Sign in with jetformat login if this machine has not been authorized for paid writes.
  4. Run the conversion below using a separate PDF output path.
  5. Read the page count, then open the PDF to check the parts that matter to the recipient.
jetformat word to-pdf contract.docx -o contract.pdf
jetformat pdf info contract.pdf

To supply additional fonts:

jetformat word to-pdf contract.docx -o contract.pdf --font-dir ./fonts --force

The second example intentionally replaces the prior PDF. Omit --force when you want an existing output to stop the operation instead.

Choose conversion or a Word edit

Need Use Output
Share a paginated document word to-pdf PDF
Fill content controls word template DOCX
Fill MERGEFIELD codes word mail-merge DOCX
Split at section breaks word split DOCX parts
Take a range of rendered pages Convert, then pdf extract PDF

Do not use word split to request “pages 2–4.” Word section boundaries are not PDF page boundaries. Convert first when the user’s requirement is stated in rendered pages.

Check the result and estimate credits

Inspect names, amounts, table edges, headers, and footer page numbers. If a paragraph wraps differently, check fonts before changing the text. A successful command establishes that a file was written; it does not certify that every source feature is visually identical.

For an illustrative 12-page output, conversion uses 12 credits. Rendering 2 preview pages adds 2 credits, for 14 credits total. pdf info and text extraction are free reads. Report the actual output path and observed page count instead of presenting this example as a prediction.

Use the Word command reference for editing verbs, font inspection for font assets, and Word sections versus PDF pages for splitting decisions. The underlying DOCX format is part of ECMA-376 Office Open XML; Jetformat’s supported features are the narrower set described in its reference.

Last updated