.. Copyright (C) 2001-2023 Artifex Software, Inc.
.. All Rights Reserved.

.. default-domain:: js


.. meta::
   :description: MuPDF documentation
   :keywords: MuPDF, pdf, epub



.. _mutool_pages:

:title:`mutool pages`
==========================================


The `pages` command prints out :ref:`MediaBox<mutool_trim_defined_boxes>`, :ref:`CropBox<mutool_trim_defined_boxes>`, etc. as well as `Rotation` and `UserUnit` for each page given (or all if not specified).


.. code-block:: bash

   mutool pages [options] input.pdf [pages]


.. include:: optional-command-line-note.rst


`[options]`
   Options are as follows:

      `-p` password
         Use the specified password if the file is encrypted.


----

`input.pdf`
   Input file name. Must be a :title:`PDF` file.

----


`[pages]`
   Comma separated list of page numbers and ranges. If no pages are supplied then all document pages will be considered for the output file.










.. External links
