DOCM to PFM Converter

Convert DOCM to PFM format — free online tool

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

Fast Results

Cloud servers handle the conversion quickly — your DOCM pages become PFM files in seconds, regardless of your local hardware.

Safe Conversion

VBA macros are completely removed. Uploaded DOCM files are deleted after processing and outputs are purged within 24 hours.

Cross-Platform

Upload from any device and download PFM results anywhere. The entire workflow runs online with no platform restrictions.

How to convert DOCM to PFM

1

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

2

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

3

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

About formats

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
PFM (Portable Float Map) is a floating-point raster image format devised by Paul Debevec around 2001, designed to store high-dynamic-range image data with the simplicity of the Netpbm family of formats. PFM extends the PBM/PGM/PPM philosophy — minimal header, raw data, no compression — to 32-bit IEEE floating-point samples, providing direct access to HDR pixel values without the encoding overhead of formats like OpenEXR or the limited range of Radiance HDR's RGBE encoding. The file structure is deliberately minimal: a two-character magic number ('Pf' for grayscale, 'PF' for color), width and height on the next line, a scale/endianness indicator (negative for little-endian, positive for big-endian, with magnitude indicating scale factor), and then the raw 32-bit float data for each pixel. PFM files store one float per pixel for grayscale or three floats (RGB) per pixel for color, with no compression, alpha channel, or metadata support. The format emerged from the HDR imaging research community where Debevec's work on image-based lighting and light stage capture required a simple, unambiguous way to store linear floating-point radiance values that could be easily exchanged between research tools. One advantage is absolute simplicity for HDR data: PFM can be read and written in a few lines of code in any language that supports IEEE floats, with no library dependencies — ideal for research prototyping and quick data exchange between custom tools. The format's widespread adoption in the computer vision and computational photography research community is another practical strength — optical flow benchmarks (Middlebury), depth estimation datasets, and radiance field captures commonly use PFM. The format is supported by ImageMagick, OpenCV, HDR Shop, and Luminance HDR.
Developer: Paul Debevec
Initial release: 2001

Frequently Asked Questions

Why convert DOCM to PFM?

PFM stores images with floating-point pixel values — used in HDR photography and scientific imaging. Converting from DOCM makes your pages accessible in this format.

What software opens PFM files?

HDR imaging tools, Photoshop, and ImageMagick — these all handle PFM without additional plugins or conversion steps.

Does PFM contain macro code?

No — PFM is not a document format and cannot carry VBA macros. All automation code from the DOCM is removed.

Will the output look good?

Convertio renders DOCM pages with high fidelity. Text, images, and layout elements are captured accurately in the PFM output.

Is there a charge for DOCM to PFM?

No — basic conversion is free on Convertio. Premium tiers are available for users who need higher volume or priority processing.

Does it work in my browser?

Completely. Convertio processes the DOCM on cloud servers — nothing to install, works on any modern browser and operating system.