# Convert PGM to PBM

> Convert PGM to PBM 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/pgm-to-pbm

- 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": "pbm"` (paid plans).
- More: [Image converter](https://www.converterrr.com/image-converter), [PGM converter](https://www.converterrr.com/pgm-converter).

## How to convert PGM to PBM

1. **Add your PGM files.** Drag and drop PGM files onto the converter, paste them, or click to browse. You can add several at once.
2. **Choose PBM.** PBM 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 PBM.** Download each PBM file, or everything at once as a ZIP.

## Good to know

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

## PGM vs PBM

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

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

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

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

## Related conversions

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

## Convert PGM to other formats

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

## Convert other formats to PBM

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

## PGM to PBM: frequently asked questions

### How do I convert PGM to PBM?

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

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

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

### Is the PGM to PBM 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 PGM to PBM reduce quality?

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

### Can I convert multiple PGM 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 PBM back to PGM?

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