PGM PDF
Free online converter

Convert PGM to PDF

Convert now
PGM to PDF converterFREE
Drop a .PGM file here
or pick one - we convert it to .PDF and give you the file to download

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

How to convert PGM to PDF

  1. Add your .PGM file - drop it in the box above or click to browse.
  2. Convert it to .PDF in a few seconds.
  3. Download your new .PDF file.

What to expect

  • The PDF contains your image as a raster page - it is not searchable, not vector, and cannot be edited as a document.
  • ImageMagick defaults to JPEG compression when embedding the image, which is lossy; add -compress Zip to the command for lossless output.
  • PGM files with 16-bit depth (Maxval above 255) are typically downsampled to 8-bit during PDF embedding by most tools.

Frequently asked questions

Does converting PGM to PDF reduce image quality?
It depends on the tool. ImageMagick defaults to JPEG compression, which is lossy; add -compress Zip to preserve every gray level exactly.
Can I combine multiple `.pgm` files into one PDF?
Yes - with ImageMagick, run magick *.pgm output.pdf and each .pgm becomes a separate page in one file.
Why is the resulting PDF so large?
PGM is uncompressed, so the embedded image stays large unless you compress it. Using -compress Zip in ImageMagick reduces file size without any quality loss.
Can Adobe Photoshop open a `.pgm` file?
Yes - Photoshop opens .pgm files and can export them as PDF via File > Save As or File > Export.
Our free PDF toolsAll tools →