XBM to CGM Converter

XBM to CGM — convert bitmaps to vector graphics easily

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

Batch Processing

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

Any Device Works

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

No Install Required

The entire XBM to CGM conversion happens in your browser. No plugins, no desktop apps — just upload, convert, and download.

How to convert XBM to CGM

1

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

2

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

3

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

About formats

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
CGM (Computer Graphics Metafile) is a vector graphics standard defined by ISO 8632, first published in 1987 and developed through the ISO/IEC JTC 1/SC 24 committee. The standard defines a device-independent format for storing and transferring two-dimensional vector graphics, raster images, and text. CGM supports three encoding methods: character encoding (compact text representation), binary encoding (efficient machine-readable form), and clear-text encoding (human-readable for debugging). The format describes graphical primitives including polylines, polygons, ellipses, circular arcs, splines, and text with associated attributes for color, line style, fill patterns, and clipping boundaries. CGM found its strongest adoption in technical documentation, particularly in aerospace, defense, and industrial sectors where long-term archival and precise technical illustration are critical. One advantage is formal standardization — as an ISO standard, CGM provides vendor-neutral, specification-driven interoperability guaranteed across compliant implementations. The format's adoption in specialized industries is another practical strength: WebCGM, a W3C profile of CGM, became the mandated illustration format for interactive electronic technical manuals in the aerospace industry (ATA iSpec 2200), ensuring CGM's continued relevance in aviation maintenance documentation. While general-purpose vector work has moved to SVG and PDF, CGM persists in regulated industries where certified, standards-based graphics interchange is mandatory.
Initial release: 1987

Frequently Asked Questions

Why convert XBM to CGM?

XBM is a legacy raster format from X11/Unix. Converting to CGM gives you ISO standard for vector graphics exchange — ideal for scalable graphics that stay sharp at any size.

What apps support CGM?

You can view CGM with LibreOffice, WebCGM viewers, CAD applications. These tools cover all major desktop and mobile platforms.

What platforms support this XBM converter?

The converter works on any platform with a web browser — Windows, macOS, Linux, Android, and iOS all supported for XBM to CGM conversion.

What exactly is the XBM format?

XBM (monochrome bitmap from the X Window System) originated in X11/Unix. It has very limited modern application support but can be converted to modern formats on Convertio.

Is my XBM file safe when converting online?

Convertio takes privacy seriously — your XBM uploads are deleted after conversion and the CGM results are cleared within 24 hours.

Does converting XBM to CGM affect quality?

Quality is maintained to the extent CGM supports. Since XBM is a monochrome bitmap from the X Window System, the visual data transfers cleanly to CGM.