---
name: "pdfopt"
section: "1"
platform: "linux"
package: "ghostscript"
version: "9.06~dfsg-2+deb8u7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/pdfopt"
---

# pdfopt(1)

Ghostscript PDF Optimizer

## NAME

pdfopt - Ghostscript PDF Optimizer

## SYNOPSIS

**pdfopt** \[ *options* \] *input.pdf output.pdf*

## DESCRIPTION

**pdfopt** uses [**gs**(1)](/gs/1.md) to convert the Adobe **Portable Document** **Format** (PDF) file "input.pdf" to a so-called optimized form in "output.pdf".  Optimization puts the elements of the file into a more linear order and adds "hint" pointers, allowing Adobe's Acrobat(TM) products to display individual pages of the file more quickly when accessing the file through a network.

Note: input.pdf and output.pdf must not be the same.  If they are, the file will probably be destroyed.  **pdfopt** currently does not check for this.

## FILES

Run "**gs -h**" to find the location of Ghostscript documentation on your system, from which you can get more details.

## SEE ALSO

"Linearized PDF" in Adobe's PDF reference manual, http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf

## VERSION

This document was last revised for Ghostscript version 9.06.

## AUTHOR

Artifex Software, Inc. are the primary maintainers of Ghostscript.
