Jetformat

Read PDF page count and encryption status

Use jetformat pdf info to read PDF page count and encryption status.

By Jetformat

Use pdf info after conversion to learn the actual page count, PDF version, encryption state, and first-page dimensions. It is a free read operation.

Steps

  1. Start with a local PDF. Replace the sample paths and identifiers with your own.
  2. Run the command below. Read the returned data before choosing a follow-up edit.
  3. Check the result as described below before using it in another job.
jetformat pdf info book.pdf --json

Options for this task

Option Meaning
--json Write JSON output

Check the result

Use --json for scripts and compare the page count with the expected output rather than inferring it from the source file size.

Notes and limits

This is a free utility or read operation. It does not need a paid conversion to inspect the result.

Run jetformat pdf info --help to compare options with your installed version.

See the pdf command reference for the surrounding workflow.

Last updated