# Convert XBM to PGM

> Convert XBM 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/xbm-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), [XBM converter](https://www.converterrr.com/xbm-converter).

## How to convert XBM to PGM

1. **Add your XBM files.** Drag and drop XBM 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

- XBM files are typically used for X11 icons and cursors, 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.

## XBM vs PGM

|  | XBM | PGM |
| --- | --- | --- |
| Full name | X BitMap | Portable Graymap |
| Type | Image | Image |
| Extensions | .xbm | .pgm |
| MIME type | image/x-xbitmap | image/x-portable-graymap |
| Best for | X11 icons and cursors | grayscale image processing |
| Properties | legacy format | lossless |

**XBM:** XBM stores monochrome bitmaps as C source code and was used for X11 cursors and icons.

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

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

## Related conversions

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

## Convert XBM to other formats

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

## XBM to PGM: frequently asked questions

### How do I convert XBM to PGM?

Drop your XBM 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 XBM to PGM here?

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

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

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

### Can I convert multiple XBM 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 XBM?

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