Page 1 of 1

Glyph & Cog Xpdf Tools (PDF manipulation utilities)

Posted: Wed Feb 17, 2021 3:35 pm
by Midas
There are several scattered references to Xpdf Tools in our forums (the oldest of which by hydaral at viewtopic.php?p=37775#p37775) but, as longstanding multi-platform FLOSS utilities still in active development, I think they deserve a dedicated topic. (I plan a separate post about XpdfViewer/Reader after I have a chance to test it.)

The tools include the following utilities:
  • pdftotext -- converts PDF to text;
  • pdftops -- converts PDF to PostScript;
  • pdftoppm -- converts PDF pages to netpbm (PPM/PGM/PBM) image files;
  • pdftopng -- converts PDF pages to PNG image files;
  • pdftohtml -- converts PDF to HTML;
  • pdfinfo -- extracts PDF metadata;
  • pdfimages -- extracts raw images from PDF files;
  • pdffonts -- lists fonts used in PDF files;
  • pdfdetach -- extracts attached files from PDF files.
The Xpdf open source project includes a PDF viewer along with a collection of command line tools which perform various functions on PDF files.
@ http://www.xpdfreader.com/about.html


32 or 64-bit Xpdf Tools latest v4.03 for Windows, released 2021-01-28, can be downloaded from http://www.xpdfreader.com/download.html.

Lastly, I posted Xpdf Tools full changelog (included in the 'CHANGES' file in downloaded package) to https://pastebin.com/W62Q78Bt.