XPM to FIG Converter

Convert XPM raster images to FIG vector format online

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

Secure Processing

Uploaded XPM images are erased right after conversion, and the resulting FIG files are purged within 24 hours — your data stays private.

Cross-Platform Access

Whether you are on a desktop, tablet, or phone — convert XPM to FIG from any device with a modern web browser.

Browser-Based Tool

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

How to convert XPM to FIG

1

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

2

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

3

Let the file convert and you can download your fig 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
FIG is the native file format of Xfig, a free vector graphics editor for the X Window System, originally written by Supoj Sutanthavibul at the University of Texas at Austin in 1985. The format uses a plain-text structure where each graphic object is described on one or more lines with numeric parameters specifying object type, coordinates, line properties, fill attributes, and depth ordering. FIG supports compound objects (groups), polylines, polygons, splines, arcs, ellipses, text strings, and imported bitmaps, each with configurable colors, line styles, arrow heads, and area fills. Files begin with a header line declaring the format version (currently 3.2), followed by a resolution specification and the object definitions. One advantage is exceptional simplicity — the entirely text-based format is trivially parsed, generated, and manipulated by scripts, making FIG popular as an intermediate format in automated diagram generation pipelines. The rich ecosystem of conversion tools is another strength: fig2dev exports FIG files to dozens of output formats including EPS, PDF, SVG, LaTeX picture environments, PSTricks, and TikZ. This made Xfig and FIG especially popular in academic and scientific communities, where authors generate publication-quality figures that integrate seamlessly with LaTeX documents. While graphical tools have evolved since the 1980s, FIG remains in use among researchers who value its scriptability, LaTeX integration, and well-documented format stability.
Initial release: 1985

Frequently Asked Questions

Why would I convert XPM to FIG?

XPM is a legacy raster format from X11/Linux desktops. Converting to FIG gives you Xfig vector drawing format — ideal for scalable graphics that stay sharp at any size.

How do I open a FIG file?

Software that handles FIG includes Xfig, Inkscape (with import), fig2dev tools — giving you options on every major operating system.

Does converting XPM to FIG affect quality?

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

Can I convert multiple XPM files to FIG at once?

Absolutely. Batch upload your XPM images and convert them all to FIG in a single pass — no need to repeat the process for each file.

Is XPM to FIG conversion free?

Yes — Convertio offers free XPM to FIG conversion. Premium options exist for users who need more capacity or faster processing speeds.