.WMF file extension
To open .WMF files on Windows, try opening the .wmf in a Windows graphics or document application that supports Windows metafiles (WMF is a Windows GDI metafile format).
To open a .wmf file, use a Windows graphics-capable application (WMF is a Windows Metafile used by GDI) or convert it to PNG/SVG/PDF with ImageMagick. On non-Windows systems, opening is often easiest via conversion rather than expecting built-in preview support.
Last updated: October 13, 2026
Open on your device
Choose your operating system for a dedicated step-by-step opening guide.
How to open .WMF files
Use these platform-specific instructions to open .WMF files safely.
Windows
- Try opening the .wmf in a Windows graphics or document application that supports Windows metafiles (WMF is a Windows GDI metafile format).
- If it won’t open or renders incorrectly, convert it with ImageMagick (for example, convert to PNG/PDF) and open the converted file.
Mac
- If the file won’t preview or open in your installed apps, convert it using ImageMagick (e.g., to PNG or PDF) and then open the converted output.
- If you need editable vector output, test a conversion to PDF first and review the results for fidelity.
Linux
- Use ImageMagick to convert the WMF to a common format like PNG or PDF, then open the converted file in your normal image/document viewer.
- If your desktop environment relies on shared MIME info, ensure the system recognizes the file as WMF; if not, conversion is still the most reliable option.
iOS
- iOS support for WMF is inconsistent; if it won’t open in your viewer apps, convert the file on a desktop (e.g., with ImageMagick) to PNG or PDF and then transfer it back to your device.
Android
- Android support for WMF is inconsistent; if it won’t open in your viewer apps, convert the file on a desktop (e.g., with ImageMagick) to PNG or PDF and then open the converted file on Android.
Security notes
- Treat WMF as potentially risky when received from untrusted sources: it is a complex, record-based graphics format that requires a parser/renderer, and historical WMF handling has been security-sensitive in general due to the complexity of metafile processing.
- Be cautious with WMF files embedded in documents or delivered via email/web downloads: opening or previewing triggers rendering, which exercises the WMF parsing code path.
- Prefer converting in a controlled environment (e.g., using a well-maintained toolchain such as ImageMagick) and then viewing the converted PNG/PDF if you only need to see the image.
Can't open this file?
These are the most common causes and fixes when .WMF files fail to open.
Common reasons
- The file won’t open or shows as an unknown format
- Rendering looks wrong (missing elements, odd fonts, or incorrect scaling)
- Conversion fails or produces an empty/blank output
Fix steps
- Convert the .wmf to PNG or PDF using ImageMagick, then open the converted file.
- If you’re on Linux and file type detection is wrong, check that your system’s shared MIME database recognizes WMF; regardless, conversion is usually the quickest workaround.
Recover a deleted or lost .WMF file
If the file was deleted by mistake or the drive was formatted, data recovery software may be able to get it back. Stop writing to that drive right away, because new data can overwrite what you want to recover.
Windows software that recovers deleted or lost files from PCs and external drives such as HDDs, SSDs, USB drives and memory cards, after deletion, formatting or a crash.
Wondershare RecoveritWindows and Mac software that recovers deleted or lost files from computers and external drives such as HDDs, SSDs, USB drives and SD cards.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
OS-specific troubleshooting
Convert .WMF to other formats
Use conversion tools to change .WMF files into formats your software supports.
What is a .WMF file?
WMF (Windows Metafile) is a graphics format that stores a sequence of drawing records/commands rather than only pixels, making it primarily vector-oriented (though it can include bitmap-related records). The format is specified by Microsoft Open Specifications as a record-based file structure interpreted by Windows graphics components.
Background
Windows Metafile (WMF) is a classic Windows graphics format designed around Windows GDI (Graphics Device Interface). Instead of storing a single raster image, a WMF typically contains a set of drawing records (for example, operations that draw shapes, lines, and text) that a renderer replays to produce the final image.
WMF is historically common in Windows and in documents that embed Windows graphics, because applications could generate and replay GDI drawing commands at different sizes. Microsoft’s Win32 documentation describes WMF as part of “Windows-format metafiles,” alongside related metafile mechanisms used for representing graphical output.
On today’s systems, WMF often shows up when moving older clip-art, office graphics, or legacy Windows diagrams between applications. For interchange and web use, WMF is frequently converted to more modern formats (PNG for raster, PDF for documents, or SVG for vector workflows) using conversion tools that support WMF.
Common MIME types: image/wmf, image/x-wmf
Other meanings of .WMF
The extension .WMF is used by several programs. Besides the file type described on this page, it can also stand for:
- Widelands Map File
Further reading
Authoritative resources for more details on the .WMF format.
Common .WMF issues
The file won’t open or shows as an unknown format
WMF is a Windows-oriented metafile format; many viewers (especially on mobile or some non-Windows setups) don’t include a WMF renderer by default.
- Convert the .wmf to PNG or PDF using ImageMagick, then open the converted file.
- If you’re on Linux and file type detection is wrong, check that your system’s shared MIME database recognizes WMF; regardless, conversion is usually the quickest workaround.
Rendering looks wrong (missing elements, odd fonts, or incorrect scaling)
WMF stores drawing records that depend on how the renderer interprets GDI-style operations; different renderers and conversion pipelines can produce different results.
- Try converting to multiple outputs (e.g., PNG and PDF) to see which preserves appearance best.
- If the WMF contains text, expect font substitution; consider converting on a Windows machine if fidelity is critical.
Conversion fails or produces an empty/blank output
Some WMF files use records or constructs that a specific converter build does not handle well, or the file may be damaged/truncated.
- Re-run conversion with a different output format (PNG vs PDF) using ImageMagick and compare results.
- If possible, obtain the WMF again from the original source/export step to rule out corruption.
FAQ
What MIME type should a .wmf file use?
The standardized media type is image/wmf. You may also encounter the older, deprecated image/x-wmf alias in some systems.
Is WMF a vector or raster format?
WMF is primarily a vector/metafile format: it stores drawing records/commands that a renderer replays. Some records can reference bitmap-related operations, so behavior can look partly raster-like depending on the content.
How do I convert WMF to a more common format?
ImageMagick supports WMF and can convert it to formats like PNG or PDF. Conversion is often the most practical approach on macOS, Linux, iOS, and Android when direct WMF viewing isn’t available.
Why does the same WMF look different on different computers?
WMF rendering depends on how a given renderer interprets the metafile’s records (GDI-style drawing operations) and on available fonts and graphics settings. Different platforms/tools can produce different results from the same record stream.
Similar file extensions
Compare related formats in the same category to find the right tool faster.
