How to open .CGM files on Windows

To open .CGM files on Windows, try opening the .cgm file in the application that produced it (common in technical illustration/enterprise documentation workflows, including SAP-related tooling).

Step-by-step instructions

  1. Try opening the .cgm file in the application that produced it (common in technical illustration/enterprise documentation workflows, including SAP-related tooling).
  2. If it doesn’t open, use the app’s Import/Open feature (rather than double-click) and select CGM/Computer Graphics Metafile if offered.
  3. If you only need to view it, use a CGM-capable viewer on Windows or convert it on a desktop system that supports CGM.

Alternative methods

  • Open .CGM in a browser-based viewer if desktop apps fail.
  • Try opening .CGM on Windows with a secondary app to rule out app-specific issues.
  • Convert .CGM only with trusted tools when direct opening is not possible.

Common issues

The file won’t open or shows as an unknown format

CGM is a specialized ISO standard and many general-purpose image viewers don’t support it. The issue is usually missing CGM support rather than a bad file.

  1. Open the file from inside a CGM-capable application using an Import/Open command (don’t rely on double-click association).
  2. Try opening it in the same environment/workflow that produced it (common in technical illustration and SAP-related documentation workflows).
  3. If you only need to share it, export/convert from a CGM-capable tool to a more widely supported format.

Opens, but graphics look wrong or elements are missing

Different tools may implement different CGM parts/profiles; complex CGM features (mixed vector/raster/text, specific attributes) may not render identically everywhere.

  1. Try a different CGM-capable application (or the original creator tool) to compare rendering.
  2. If you control the export, re-export using a simpler CGM option/profile if available, or export to another interchange format for recipients.

File extension and MIME/type detection problems

Some systems rely on MIME mappings (e.g., image/cgm) and file associations; if misconfigured, the OS won’t know what to do with .cgm files.

  1. Ensure the file really is a CGM and still has the .cgm extension.
  2. On Linux desktops, verify your environment recognizes image/cgm and associate it with your chosen CGM-capable application.
  3. Use the application’s File → Open/Import rather than relying on the OS association.

Security note

CGM files are graphics metafiles (image/cgm), not executables, but they can be complex to parse; only open CGM files from sources you trust to reduce the risk of exploiting bugs in viewers/importers.

Back to .CGM extension page