XWD to CGM Converter

Online XWD to CGM — from bitmap to vector in seconds

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

Browser-Based Tool

No software to download — convert XWD to CGM entirely in your web browser. Works on any device with an internet connection.

Scalable Output

CGM offers ISO standard for vector graphics exchange — your XWD bitmap becomes a vector graphic that scales cleanly to any resolution.

Any Device Works

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

How to convert XWD 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

XWD (X Window Dump) is a screen capture image format defined as part of the X Window System by the MIT X Consortium, dating to approximately 1987. The xwd command-line utility captures the contents of an X window or the entire screen and saves it as an XWD file — functionally equivalent to a screenshot utility but predating the concept by years. XWD files contain a detailed header specifying the X server's visual type, bit depth, byte order, bitmap unit and padding, the window's dimensions, border width, and color map information, followed by the raw pixel data exactly as represented in the X server's framebuffer. This means XWD files faithfully capture the exact pixel representation used by the display hardware — including server-specific byte ordering, padding, and color organization — making them primarily useful on the system where they were captured or on systems with compatible display configurations. The header also stores the window name string and the full color map entries for indexed-color visuals. XWD supports all X11 visual types: StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor, and DirectColor, at any bit depth supported by the X server. One advantage is exact framebuffer fidelity: XWD captures the window's pixel data in its native format without any color space conversion or compression, making it the definitive record of what the X server was actually displaying. The format's integration with the X11 command-line toolkit provides another practical benefit — xwd can capture specific windows by ID or name, be triggered remotely via SSH, and piped directly to format converters. XWD files are handled by ImageMagick, GIMP, xwud (the viewer companion to xwd), and xv.
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

What is the reason to convert XWD to CGM?

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

Which software can view CGM files?

CGM files can be opened with LibreOffice, WebCGM viewers, CAD applications. Most of these are available across Windows, macOS, and Linux.

What exactly is the XWD format?

The XWD format is a screen capture format from X Window System, rooted in Unix/X11 screenshots. Modern software rarely supports it natively, making conversion essential.

Are my uploaded files kept private?

Yes — your XWD files are deleted immediately after processing. The resulting CGM files are also removed from servers within 24 hours.

How long does XWD to CGM conversion take?

Most XWD to CGM conversions complete within a few seconds. The lightweight nature of XWD images means fast processing times.

Does converting XWD to CGM affect quality?

Your image content stays intact during conversion. Any differences depend on CGM characteristics — such as color depth or compression method.