XPM to XBM Converter

Transform XPM graphics into XBM images with a few clicks

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Any Device Works

Convert XPM to XBM from Windows, macOS, Linux, or mobile — the browser-based tool adapts to any screen size and operating system.

Privacy Protected

Your XPM files are deleted immediately after conversion to XBM. Converted files are automatically removed from servers within 24 hours.

Batch Processing

Upload multiple XPM files at once and convert them all to XBM in a single session — ideal when you have many legacy images to migrate.

How to convert XPM to XBM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose xbm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your xbm file right afterwards

About formats

XPM (X PixMap) is a color image format for the X Window System, developed by Arnaud Le Hors at GROUPE BULL beginning in 1989 as the color successor to the monochrome XBM format. Like XBM, XPM files are valid C source code — each file defines the image as a static array of character strings, where the header strings specify width, height, number of colors, and characters per pixel, the color definition strings map character codes to color values (supporting X11 color names, hexadecimal RGB, and symbolic color types like 'background' and 'foreground'), and the pixel strings encode each row as a sequence of character codes that index the color palette. This ASCII art representation makes XPM images human-readable: one can often see the image content directly in the text of the source file. The format went through three revisions: XPM1 (1989, compatible with X10), XPM2 (simplified syntax), and XPM3 (1991, the current version with the static char* syntax and extended color specification). XPM was the standard format for X Window application icons, splash screens, pixmap buttons, and themed UI elements throughout the 1990s and 2000s. One advantage is the combined benefits of being a valid C source file and a color image: XPM files can be compiled into applications, edited in any text editor, processed by text tools, and version-controlled, while supporting up to 256 colors with transparency (using the 'None' color keyword). The X11 ecosystem's reliance on XPM ensures broad tool support. XPM files are handled by all X11 toolkits, ImageMagick, GIMP, and web browsers (legacy support).
Initial release: 1989
XBM (X BitMap) is a monochrome (1-bit) image format defined as part of the X Window System, originating at MIT around 1987. XBM files are unique among image formats in being valid C source code: each file defines the image as a static array of unsigned char values containing the packed pixel data, preceded by #define statements specifying the image width, height, and optional hot-spot coordinates (for cursor images). The pixel data is stored in hexadecimal byte values within curly braces, with each bit representing one pixel (1 = foreground, 0 = background) and bits ordered LSB-first within each byte. This design was intentional — XBM images could be #included directly into X Window application source code and compiled into the binary, eliminating the need for external file loading and runtime format parsing. The format was used throughout the X11 ecosystem for cursor shapes, window icons, toolbar buttons, and other small UI elements. One advantage is the source-code nature of the format: XBM files can be edited with a text editor, diff'd and merged in version control, generated by shell scripts, and compiled directly into C programs without any image loading library — a level of toolchain integration that no binary image format can match. The format's role as part of the X Window standard ensures it is understood by every X11-aware toolkit and application. While limited to monochrome and no compression, XBM's simplicity makes it an excellent teaching format for understanding bitmap representations. XBM files are supported by all X11 applications, ImageMagick, GIMP, web browsers (as a legacy web format), and programming environments.
Developer: MIT X Consortium
Initial release: 1987

Frequently Asked Questions

Why would I convert XPM to XBM?

XPM is a color pixmap format for X Window System with limited modern support. Converting to XBM (monochrome bitmap for X11 cursors and icons) makes your images accessible on any modern platform.

Which software can view XBM files?

XBM files can be opened with GIMP, ImageMagick, X11 viewers, web browsers. Most of these are available across Windows, macOS, and Linux.

Is XPM to XBM conversion free?

Standard conversions are available for free on Convertio. Larger volumes or higher usage may benefit from a premium plan for additional capacity.

Can I convert multiple XPM files to XBM at once?

Convertio supports batch mode — drag in multiple XPM files and they all convert to XBM together, which is much faster than one-by-one.

Does converting XPM to XBM affect quality?

The conversion preserves the visual content of your XPM image. XBM will reproduce the same pixel data within the limits of its format capabilities.

XPM to XBM Quality Rating

5.0 (5 votes)
You need to convert and download at least 1 file to provide feedback!