# Convert PBM to PGM

> Convert PBM to PGM online for free. Runs entirely in your browser, so your files never leave your device. Fast batch conversion, no sign-up, no watermarks.

URL: https://www.converterrr.com/pbm-to-pgm

- Runs in the browser with ImageMagick: files are not uploaded, and no credits are used.
- Engines: ImageMagick (browser), ImageMagick (cloud).
- API: available. `POST /api/v1/jobs` with `"output_format": "pgm"` (paid plans).
- More: [Image converter](https://www.converterrr.com/image-converter), [PBM converter](https://www.converterrr.com/pbm-converter).

## How to convert PBM to PGM

1. **Add your PBM files.** Drag and drop PBM files onto the converter, paste them, or click to browse. You can add several at once.
2. **Choose PGM.** PGM is already selected. Open Options if you want to change quality, size or metadata.
3. **Convert.** Click Convert. Your files are converted right in your browser in seconds.
4. **Download your PGM.** Download each PGM file, or everything at once as a ZIP.

## Good to know

- PBM files are typically used for monochrome bitmaps and tracing input, while PGM is best for grayscale image processing.
- This conversion runs on ImageMagick, running locally in your browser — nothing is uploaded and it works even on slow connections.

## PBM vs PGM

|  | PBM | PGM |
| --- | --- | --- |
| Full name | Portable Bitmap | Portable Graymap |
| Type | Image | Image |
| Extensions | .pbm | .pgm |
| MIME type | image/x-portable-bitmap | image/x-portable-graymap |
| Best for | monochrome bitmaps and tracing input | grayscale image processing |
| Properties | lossless | lossless |

**PBM:** PBM is the black-and-white member of the Netpbm family, storing one bit per pixel.

**PGM:** PGM is the grayscale member of the Netpbm family: uncompressed, simple and easy to parse.

The other way around: [convert PGM to PBM](https://www.converterrr.com/pgm-to-pbm).

## Related conversions

- [PGM to PBM](https://www.converterrr.com/pgm-to-pbm) (in the browser)
- [PBM to PNG](https://www.converterrr.com/pbm-to-png) (in the browser)
- [PNG to PGM](https://www.converterrr.com/png-to-pgm) (in the browser)
- [PBM to JPG](https://www.converterrr.com/pbm-to-jpg) (in the browser)
- [JPG to PGM](https://www.converterrr.com/jpg-to-pgm) (in the browser)
- [PBM to WebP](https://www.converterrr.com/pbm-to-webp) (in the browser)
- [WebP to PGM](https://www.converterrr.com/webp-to-pgm) (in the browser)
- [PBM to JPEG](https://www.converterrr.com/pbm-to-jpeg) (in the browser)
- [HEIC to PGM](https://www.converterrr.com/heic-to-pgm) (in the browser)
- [PBM to PDF](https://www.converterrr.com/pbm-to-pdf) (cloud)
- [JPEG to PGM](https://www.converterrr.com/jpeg-to-pgm) (in the browser)
- [PBM to GIF](https://www.converterrr.com/pbm-to-gif) (in the browser)

## Convert PBM to other formats

[PBM to PNG](https://www.converterrr.com/pbm-to-png), [PBM to JPG](https://www.converterrr.com/pbm-to-jpg), [PBM to WebP](https://www.converterrr.com/pbm-to-webp), [PBM to JPEG](https://www.converterrr.com/pbm-to-jpeg), [PBM to PDF](https://www.converterrr.com/pbm-to-pdf), [PBM to GIF](https://www.converterrr.com/pbm-to-gif), [PBM to AVIF](https://www.converterrr.com/pbm-to-avif), [PBM to SVG](https://www.converterrr.com/pbm-to-svg), [PBM to ICO](https://www.converterrr.com/pbm-to-ico), [PBM to TIFF](https://www.converterrr.com/pbm-to-tiff), [PBM to BMP](https://www.converterrr.com/pbm-to-bmp), [PBM to PSD](https://www.converterrr.com/pbm-to-psd), [PBM to EPS](https://www.converterrr.com/pbm-to-eps), [PBM to JXL](https://www.converterrr.com/pbm-to-jxl), [PBM to TGA](https://www.converterrr.com/pbm-to-tga), [PBM to DDS](https://www.converterrr.com/pbm-to-dds), [PBM to EXR](https://www.converterrr.com/pbm-to-exr), [PBM to HDR](https://www.converterrr.com/pbm-to-hdr), [PBM to JP2](https://www.converterrr.com/pbm-to-jp2), [PBM to CUR](https://www.converterrr.com/pbm-to-cur), [PBM to PPM](https://www.converterrr.com/pbm-to-ppm), [PBM to QOI](https://www.converterrr.com/pbm-to-qoi), [PBM to PCX](https://www.converterrr.com/pbm-to-pcx), [PBM to PNM](https://www.converterrr.com/pbm-to-pnm)

## Convert other formats to PGM

[PNG to PGM](https://www.converterrr.com/png-to-pgm), [JPG to PGM](https://www.converterrr.com/jpg-to-pgm), [WebP to PGM](https://www.converterrr.com/webp-to-pgm), [HEIC to PGM](https://www.converterrr.com/heic-to-pgm), [JPEG to PGM](https://www.converterrr.com/jpeg-to-pgm), [GIF to PGM](https://www.converterrr.com/gif-to-pgm), [AVIF to PGM](https://www.converterrr.com/avif-to-pgm), [SVG to PGM](https://www.converterrr.com/svg-to-pgm), [ICO to PGM](https://www.converterrr.com/ico-to-pgm), [TIFF to PGM](https://www.converterrr.com/tiff-to-pgm), [BMP to PGM](https://www.converterrr.com/bmp-to-pgm), [HEIF to PGM](https://www.converterrr.com/heif-to-pgm), [PSD to PGM](https://www.converterrr.com/psd-to-pgm), [EPS to PGM](https://www.converterrr.com/eps-to-pgm), [AI to PGM](https://www.converterrr.com/ai-to-pgm), [JXL to PGM](https://www.converterrr.com/jxl-to-pgm), [CR2 to PGM](https://www.converterrr.com/cr2-to-pgm), [NEF to PGM](https://www.converterrr.com/nef-to-pgm), [DNG to PGM](https://www.converterrr.com/dng-to-pgm), [CR3 to PGM](https://www.converterrr.com/cr3-to-pgm), [ARW to PGM](https://www.converterrr.com/arw-to-pgm), [TGA to PGM](https://www.converterrr.com/tga-to-pgm), [DDS to PGM](https://www.converterrr.com/dds-to-pgm), [EXR to PGM](https://www.converterrr.com/exr-to-pgm)

## PBM to PGM: frequently asked questions

### How do I convert PBM to PGM?

Drop your PBM file onto the converter above, make sure PGM is selected, and click Convert. When it's done, download the PGM file — it usually takes a few seconds.

### Is it safe to convert PBM to PGM here?

Yes. PBM to PGM conversion happens entirely inside your browser using WebAssembly, so your file is never uploaded to any server.

### Is the PBM to PGM converter free?

Yes — free with no watermark. Signed-out visitors can convert 25 files a day, and a free account raises that to 250.

### Will converting PBM to PGM reduce quality?

No — PGM preserves the content of your PBM file as faithfully as the format allows.

### Can I convert multiple PBM files at once?

Yes. Add up to 5 files at a time without an account, 10 with a free account and up to 500 on paid plans, then download them individually or as a single ZIP.

### Can I convert PGM back to PBM?

Yes — use our PGM to PBM converter. Note that converting back and forth between formats can't recover detail lost to lossy compression.
