mutool Command Examples

Convert, query information and extract data from PDF files. More information: https://mupdf.readthedocs.io/en/latest/mupdf-command-line.html.

mutool convert -o {{path/to/output%nd.png}} {{path/to/input.pdf}} {{1-10}}

mutool draw -F txt {{path/to/input.pdf}} {{2,3,5,...}}

mutool merge -o {{path/to/output.pdf}} {{path/to/input1.pdf path/to/input2.pdf ...}}

mutool info {{path/to/input.pdf}}

mutool extract {{path/to/input.pdf}}

mutool show {{path/to/input.pdf}} outline