Skip to content

Convert pgm to xpm

Converted on your device. Files never leave this tab.

Convert to

Nothing is uploaded

The converter runs inside this page. Cut your network after it loads and it still works.

No account, no daily limit

No sign-up, no daily limit, no watermark, no queue behind other people's files. Batch as many PGM files as you like.

Real XPM output

Encoded by magick, the same library the command-line tools use — not a renamed extension.

About PGM

Portable Graymap

The grayscale member of the Netpbm family: uncompressed pixels after a short text header. Use it to feed grayscale images to computer vision and image-processing code that reads Netpbm.

About XPM

X PixMap

The color successor to XBM, storing an image as a C array of strings with a text color table. Early Linux and Unix desktops used it for icons. Use it for X11 programs and older Linux desktops that expect XPM icons.