JPG to PGM Converter
Convert JPG photos to PGM grayscale pixmaps — free
Pure Grayscale
PGM gives you clean grayscale data without any encoding overhead. Convert your JPG to PGM for straightforward scientific image analysis.
Dead Simple
Upload a JPG, pick PGM, download. The converter handles color-to-grayscale mapping and format packaging automatically.
Server-Side Work
All decoding and grayscale conversion runs remotely on Convertio servers. Your device does not need image processing tools installed.
How to convert JPG to PGM
Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.
Choose pgm or any other format you need as a result (more than 200 formats supported)
Let the file convert and you can download your pgm file right afterwards
About formats
Frequently Asked Questions
PGM stores pure grayscale pixel values in a trivially parseable format — ideal for computer vision, scientific analysis, and image processing code.
GIMP, IrfanView, XnView, ImageMagick, and most programming image libraries (OpenCV, PIL/Pillow) read PGM files without issues.
Yes — PGM is a grayscale-only format. The conversion maps your JPG color channels to luminance values, producing a monochrome representation.
Extremely — PGM stores a header with dimensions and max value, followed by raw grayscale bytes. You can parse it in a few lines of any language.
JPG to PGM is free on Convertio. Premium accounts provide batch export and support for high-resolution source images.