DOCM to SUN Converter

Convert DOCM to SUN 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 SUN 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 SUN results anywhere. The entire workflow runs online with no platform restrictions.

How to convert DOCM to SUN

1

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

2

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

3

Let the file convert and you can download your sun 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
SUN is a raster image format associated with Sun Microsystems workstations, encompassing both the Sun Raster format (.ras) and the Sun Icon format used for window system icons and cursors on SunOS and Solaris systems. Sun Raster files, identifiable by their 0x59a66a95 magic number, store bitmap images in 1-bit monochrome, 8-bit indexed color, 24-bit BGR, or 32-bit XBGR modes, with optional run-length encoding compression and a 32-byte header. The Sun Icon subset is a simpler text-based format used for small monochrome bitmaps — window icons, cursor images, and toolbar graphics — stored as C-language data arrays that could be directly compiled into X Window and SunView applications. These icon files begin with a comment block specifying width, height, and optionally hot spot coordinates (for cursor images), followed by hexadecimal pixel values in a format readable by both the C compiler and the iconedit tool. Sun workstations running SunOS and later Solaris were foundational platforms for Unix computing, networking, and the early internet, and the SUN image formats were integral to their graphical environments. One advantage is the format's dual text/binary nature: Sun Icons are valid C source code that can be #included directly into applications, a practical approach to resource embedding that predates modern asset management systems. The Sun Raster variant's simplicity provides another strength — the 32-byte header and straightforward encoding make it one of the easiest binary image formats to parse. SUN format files are supported by ImageMagick, GIMP, XnView, and Unix image viewing tools.
Developer: Sun Microsystems
Initial release: 1982

Frequently Asked Questions

Why convert DOCM to SUN?

SUN raster is native to Sun Microsystems workstations — a simple format for Unix graphics workflows. Converting from DOCM makes your pages accessible in this format.

What software opens SUN files?

Sun/Solaris viewers, ImageMagick, XnView, and GIMP — these all handle SUN without additional plugins or conversion steps.

Are macros removed in SUN?

SUN has no support for VBA macros. Converting from DOCM strips all embedded automation code, producing a clean output file.

Does page layout transfer accurately?

Convertio captures the visual layout of each DOCM page. Text, graphics, and formatting are rendered faithfully in the SUN file.

Is DOCM to SUN conversion free?

Basic conversion is free on Convertio. Premium plans provide higher limits and faster processing for frequent or bulk needs.

Do I need special software?

Not at all. Convertio runs the conversion in the cloud — no desktop software or plugins are required. Just use your browser.