Chip in

PNG to PGM converter

Convert PNG to PGM in seconds, free and unlimited. No upload, no sign-up, no watermark: your image never leaves your device.

Last updated

Quick answer: To convert PNG to PGM, add the PNG file to the iHateFiles PNG to PGM converter and press Convert. The conversion runs in your browser, so the file is never uploaded, and it is free with no sign-up, watermark or size limit. PNG carries transparency and PGM cannot, so transparent areas are filled with a background colour you choose.

Should you convert PNG to PGM?

Do this when the image is going somewhere that will not accept PNG, and you are content to fix the background colour permanently.

Nothing is discarded

PNG and PGM are both lossless, so every pixel survives the move intact. Convert back and forth as often as you like; the image does not degrade.

PGM cannot hold transparency

Any transparent area in the PNG has to become a real colour, because PGM has no alpha channel to record it. The background colour on this page is what those areas become. White suits most uses; pick the colour of the page it will sit on if you know it, because this cannot be undone afterwards.

PGM reduces the colour first

Before PGM compresses anything it reduces the image to greyscale. Flat colour, logos and line art survive that easily. A photograph coming from PNG will band visibly, and no quality setting changes it, because the limit is the format rather than the encoder.

PNG and PGM side by side

 PNGPGM
CompressionLosslessLossless
TransparencyYesNo
AnimationNoNo
Written hereYesYes

What usually goes wrong

About the PNG. People save photographs as PNG and wonder why an email bounces. A photo that is 400 KB as a JPG is routinely 4 MB as a PNG, because lossless compression cannot do much with the noise in a real photograph.

About the PGM. Converting a colour image to PGM throws the colour away for good. Keep the original if you might want it back.

How to convert PNG to PGM

  1. Add your PNG file. It is read from your disk and stays there.
  2. Check the settings. The output format is already set to PGM.
  3. Press convert and the PGM file is saved back to your device.

Convert PGM to PNG instead

About PNG files

Questions

How do I convert PNG to PGM?

Open this page, add your PNG file, and press convert. The file is decoded and re-encoded by your own browser and saved back to your device. Nothing is uploaded.

Is this PNG to PGM converter free?

Yes, completely. There is no account, no sign-in, no watermark and no daily limit, because there is no server doing the work. Your own device does it.

Are my files uploaded anywhere?

No. There is no upload endpoint. The conversion runs inside this browser tab, so your file never leaves your device. You can open your browser's network panel and watch: nothing carrying your file is sent.

Is there a file size limit?

No fixed limit. Because the work happens on your machine there is no server quota. The only ceiling is your own device's memory, which for video means very large files may be slow.

Will converting to PGM lose quality?

PGM compresses without loss, but it first reduces the image to greyscale, discarding all colour. Flat colour and line art come through unchanged; a photograph will band and lose subtlety.

Can I convert several PNG files at once?

Yes. Add as many as you like and they are converted one after another, then offered as a single ZIP.