PDFTOHTML(1)

πŸ“¦
version 26.10.0 Β· 3 versions
  • 26.10.0 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 21.01.0 Β· centos-stream 9
  • 4.06 Β· nixpkgs unstable
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so pdftohtml πŸ’– is the program that turns PDF files into HTML, XML and PNG images 🧚 (the manual page is for the PDFTOHTML(1) entry in General Commands Manual, bestie πŸŽ€).

🌸 SYNOPSIS 🌸

pdftohtml [options] <PDF-file> [<HTML-file> <XML-file>]

πŸ’… DESCRIPTION πŸ’…

ngl this manual page was written for the Debian GNU/Linux distribution 🫢 because the original program doesn't have a manual page of its own, so somebody had to step up 😭.

pdftohtml is literally 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 πŸŽ€

A summary of the options is included below, iykyk πŸ’œ.

  • -h, -help β€” show a summary of the options ✨
  • -f <int> β€” first page to print 🌈
  • -l <int> β€” last page to print 🌈
  • -q β€” do not print any messages or errors πŸ™ˆ
  • -v β€” print copyright and version info πŸ’…
  • -p β€” exchange .pdf links with .html πŸ¦‹
  • -c β€” generate complex output πŸ”₯
  • -s β€” generate a single HTML that includes all pages πŸ‘‘
  • -dataurls β€” use data URLs instead of external images in HTML. Not available on all platforms, so be careful bestie πŸ’€
  • -i β€” ignore images πŸ™ˆ
  • -noframes β€” generate no frames. Not supported in complex output mode πŸ’€
  • -stdout β€” use standard output πŸ“
  • -zoom <fp> β€” zoom the PDF document (default 1.5). 1 means 72 DPI πŸ”
  • -xml β€” output for XML post-processing 🧚
  • -noroundcoord β€” do not round coordinates (with XML output only) ✨
  • -enc <string> β€” output text encoding name πŸ’œ
  • -opw <string> β€” owner password (for encrypted files) πŸ”
  • -upw <string> β€” user password (for encrypted files) πŸ”
  • -hidden β€” force hidden text extraction πŸ‘€
  • -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 β€” do not merge paragraphs 🫢
  • -nodrm β€” override document DRM settings πŸ”“
  • -wbt <fp> β€” adjust the word break threshold percent. Default is 10. A word break happens when the distance between two adjacent characters is greater than this percent of the character height πŸ“
  • -fontfullname β€” outputs the font name without any substitutions πŸŽ€

πŸ¦‹ AUTHOR πŸ¦‹

Pdftohtml was developed by Gueorgui Ovtcharov and Rainer Dorsch πŸ‘‘. It is based on, and benefits a lot from, Derek Noonburg's xpdf package πŸ’–.

This manual page was written by Søren Boll Overgaard <boll@debian.org>, for the Debian GNU/Linux system (but it may be used by others) 🌸.

🌈 SEE ALSO 🌈

pdfdetach(1), pdffonts(1), pdfimages(1), pdfinfo(1), pdftocairo(1), pdftoppm(1), pdftops(1), pdftotext(1) pdfseparate(1), pdfsig(1), pdfunite(1) 🧚


That's the whole PDFTOHTML(1) tea, bestie! ✨ Source-wise it's the General Commands Manual entry, so go slay your PDFs πŸ’…πŸŽ€

πŸ“¦ where this page comes from