AptLynx

Command-line tool

pdftohtml

brew/pdftohtml

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Utility which converts PDF files into HTML and XML formats

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install pdftohtml

Linux

brew install pdftohtml

Convert a PDF file to an HTML file

pdftohtml path/to/file.pdf path/to/output_file.html

Ignore images in the PDF file

pdftohtml -i path/to/file.pdf path/to/output_file.html

Generate a single HTML file that includes all PDF pages

pdftohtml -s path/to/file.pdf path/to/output_file.html

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents