# Convert XPM to PNM

> Convert XPM to PNM 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/xpm-to-pnm

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

## How to convert XPM to PNM

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

## Good to know

- XPM files are typically used for X11 and Linux desktop icons, while PNM is best for image processing pipelines.
- This conversion runs on ImageMagick, running locally in your browser — nothing is uploaded and it works even on slow connections.

## XPM vs PNM

|  | XPM | PNM |
| --- | --- | --- |
| Full name | X PixMap | Portable Anymap |
| Type | Image | Image |
| Extensions | .xpm | .pnm |
| MIME type | image/x-xpixmap | image/x-portable-anymap |
| Best for | X11 and Linux desktop icons | image processing pipelines |
| Properties | legacy format | lossless |

**XPM:** XPM is a text-based color image format from the X Window System, stored as C source code.

**PNM:** PNM is the umbrella name for the Netpbm PBM, PGM and PPM formats.

The other way around: [convert PNM to XPM](https://www.converterrr.com/pnm-to-xpm).

## Related conversions

- [PNM to XPM](https://www.converterrr.com/pnm-to-xpm) (in the browser)
- [XPM to PNG](https://www.converterrr.com/xpm-to-png) (in the browser)
- [PNG to PNM](https://www.converterrr.com/png-to-pnm) (in the browser)
- [XPM to JPG](https://www.converterrr.com/xpm-to-jpg) (in the browser)
- [JPG to PNM](https://www.converterrr.com/jpg-to-pnm) (in the browser)
- [XPM to WebP](https://www.converterrr.com/xpm-to-webp) (in the browser)
- [WebP to PNM](https://www.converterrr.com/webp-to-pnm) (in the browser)
- [XPM to JPEG](https://www.converterrr.com/xpm-to-jpeg) (in the browser)
- [HEIC to PNM](https://www.converterrr.com/heic-to-pnm) (in the browser)
- [XPM to PDF](https://www.converterrr.com/xpm-to-pdf) (cloud)
- [JPEG to PNM](https://www.converterrr.com/jpeg-to-pnm) (in the browser)
- [XPM to GIF](https://www.converterrr.com/xpm-to-gif) (in the browser)

## Convert XPM to other formats

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

## Convert other formats to PNM

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

## XPM to PNM: frequently asked questions

### How do I convert XPM to PNM?

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

### Is it safe to convert XPM to PNM here?

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

### Is the XPM to PNM 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 XPM to PNM reduce quality?

No — PNM preserves the content of your XPM file as faithfully as the format allows.

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

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