PDFTOHTML(1) General Commands Manual PDFTOHTML(1)

# [NAME](#NAME)

pdftohtml - program to convert PDF files into HTML, XML and PNG images

# [SYNOPSIS](#SYNOPSIS)

**pdftohtml** *\[options] &lt;PDF-file&gt; \[&lt;HTML-file&gt; &lt;XML-file&gt;]*

# [DESCRIPTION](#DESCRIPTION)

This manual page documents briefly the **pdftohtml** command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

**pdftohtml** is a program that converts PDF documents into HTML. It generates its output in the current working directory. If *PDF-file* is ´-', it reads the PDF file from stdin.

# [OPTIONS](#OPTIONS)

A summary of options are included below.

[**-h, -help**](#h,)

Show summary of options.

[**-f &lt;int&gt;**](#f)

first page to print

[**-l &lt;int&gt;**](#l)

last page to print

[**-q**](#q)

do not print any messages or errors

[**-v**](#v)

print copyright and version info

[**-p**](#p)

exchange .pdf links with .html

[**-c**](#c)

generate complex output

[**-s**](#s)

generate single HTML that includes all pages

[**-dataurls**](#dataurls)

use data URLs instead of external images in HTML. No available in all platforms

[**-i**](#i)

ignore images

[**-noframes**](#noframes)

generate no frames. Not supported in complex output mode.

[**-stdout**](#stdout)

use standard output

[**-zoom &lt;fp&gt;**](#zoom)

zoom the PDF document (default 1.5) (1 means 72 DPI)

[**-xml**](#xml)

output for XML post-processing

[**-noroundcoord**](#noroundcoord)

do not round coordinates (with XML output only)

[**-enc &lt;string&gt;**](#enc)

output text encoding name

[**-opw &lt;string&gt;**](#opw)

owner password (for encrypted files)

[**-upw &lt;string&gt;**](#upw)

user password (for encrypted files)

[**-hidden**](#hidden)

force hidden text extraction

[**-fmt**](#fmt)

image file format for Splash output (png or jpg). If complex is selected, but -fmt is not specified, -fmt png will be assumed

[**-nomerge**](#nomerge)

do not merge paragraphs

[**-nodrm**](#nodrm)

override document DRM settings

[**-wbt &lt;fp&gt;**](#wbt)

adjust the word break threshold percent. Default is 10. Word break occurs when distance between two adjacent characters is greater than this percent of character height.

[**-fontfullname**](#fontfullname)

outputs the font name without any substitutions.

# [AUTHOR](#AUTHOR)

Pdftohtml was developed by Gueorgui Ovtcharov and Rainer Dorsch. It is based and benefits a lot from Derek Noonburg's xpdf package.

This manual page was written by Søren Boll Overgaard &lt;boll@debian.org&gt;, for the Debian GNU/Linux system (but may be used by others).

# [SEE ALSO](#SEE_ALSO)

[**pdfdetach**(1)](/man/os/poppler/pdfdetach.1), [**pdffonts**(1)](/man/os/poppler/pdffonts.1), [**pdfimages**(1)](/man/os/poppler/pdfimages.1), [**pdfinfo**(1)](/man/os/poppler/pdfinfo.1), [**pdftocairo**(1)](/man/os/poppler/pdftocairo.1), [**pdftoppm**(1)](/man/os/poppler/pdftoppm.1), [**pdftops**(1)](/man/os/poppler/pdftops.1), [**pdftotext**(1)](/man/os/poppler/pdftotext.1) [**pdfseparate**(1)](/man/os/poppler/pdfseparate.1), [**pdfsig**(1)](/man/os/poppler/pdfsig.1), [**pdfunite**(1)](/man/os/poppler/pdfunite.1)

---

Document: pdftohtml(1) from poppler 26.08.0-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/poppler/poppler.git
