Do You Need Text Recognition? Recognize text

XPM to DOCM Converter

Transform XPM graphics into DOCM documents effortlessly

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

Batch Processing

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

Secure Processing

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

Effortless Process

Converting XPM to DOCM takes just a few clicks — no technical knowledge required. Upload, choose your format, and download the result.

How to convert XPM to DOCM

1

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

2

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

3

Let the file convert and you can download your docm 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
DOCM is a macro-enabled document format for Microsoft Word, introduced with Office 2007 as part of the Office Open XML family. Structurally identical to DOCX — a ZIP archive containing XML parts for document content, styles, themes, and media — DOCM adds the ability to store and execute VBA (Visual Basic for Applications) macro code within the document. The separate .docm extension was a deliberate security measure: users and administrators can distinguish macro-containing files by extension alone, and group policies can restrict macro-enabled formats while allowing standard DOCX documents to open freely. DOCM files store VBA projects in a vbaProject.bin stream within the ZIP package alongside the same XML document content used by DOCX. Macros in Word documents enable automated report generation, custom form processing, document assembly from templates and data sources, and integration with external systems. One advantage is document-level automation — a DOCM file can include routines that populate content from databases, enforce formatting rules, validate fields before submission, or generate derivative documents automatically. The format preserves full compatibility with the OOXML specification, so all standard Word features — styles, tracked changes, comments, embedded media — work identically to DOCX. DOCM is supported by Microsoft Word on Windows and macOS, with macro execution limited to the desktop application.
Developer: Microsoft
Initial release: January 30, 2007

Frequently Asked Questions

Why convert XPM to DOCM?

DOCM is a Word document with macro support. Wrapping your XPM image in DOCM makes it easier to distribute, print, and archive alongside text content.

What programs open DOCM files?

Open DOCM using Microsoft Word, LibreOffice Writer. Cross-platform support means you can access these files on virtually any system.

Does converting XPM to DOCM affect quality?

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

How long does XPM to DOCM conversion take?

Conversion is nearly instant for most XPM files. Since these are small images, the entire process — upload to download — takes only moments.

What exactly is the XPM format?

XPM is a color pixmap format for X Window System. Originally from X11/Linux desktops, it has become a legacy format — conversion is the most practical way to use these images today.

Does this converter work on mobile devices?

Yes — Convertio runs entirely in the browser. You can convert XPM to DOCM on phones, tablets, or desktops without installing anything.