What is an AMF file?

An AMF file (Additive Manufacturing File Format) is an XML-based 3D-printing format, standardised as ISO/ASTM 52915. It stores one or more meshes with units, colours and materials, and was designed in 2011 to replace STL.

File extension.amf
TypeTriangle mesh for 3D printing (XML)
Developed byASTM Committee F42, later ISO/ASTM 52915
First released2011
EncodingXML text, often zip-compressed under the same .amf extension
Colour / materialsYes – per object, volume, triangle or vertex
UnitsStored in the file (millimetre, inch, feet, metre or micron)
Exact CAD geometryNo – triangles, optionally curved
MIME typeapplication/x-amf
Opens in 3dfilesYes – AMF viewer

Open an AMF fileAMF to STL converter

About the AMF format

AMF fixed the best-known gaps of STL: it records the unit of measurement, shares vertices between triangles so meshes stay watertight, and can describe several objects and materials in a single file. Slic3r, early PrusaSlicer versions and Cura could read and write it.

In practice the industry settled on 3MF instead, which covers the same ground and is backed by the slicer and printer makers. AMF files still turn up in older projects and multi-material prints from the Slic3r era, so the usual task today is converting them to 3MF or STL.

What an AMF file looks like inside

AMF (XML)

<?xml version="1.0" encoding="UTF-8"?>
<amf unit="millimeter">
  <object id="0">
    <mesh>
      <vertices>
        <vertex><coordinates><x>0</x><y>0</y><z>0</z></coordinates></vertex>
        <vertex><coordinates><x>10</x><y>0</y><z>0</z></coordinates></vertex>
        <vertex><coordinates><x>0</x><y>10</y><z>0</z></coordinates></vertex>
      </vertices>
      <volume>
        <triangle><v1>0</v1><v2>1</v2><v3>2</v3></triangle>
      </volume>
    </mesh>
  </object>
</amf>

Vertices are listed once and triangles refer to them by number. If the file starts with PK instead of <?xml, it is the zip-compressed variant with the same content inside.

How to open an AMF file

  1. Open it in the AMF viewer; plain and zip-compressed files both work.
  2. Free desktop: PrusaSlicer and Cura (older versions), MeshLab.
  3. Convert to 3MF for a current slicer or to STL for anything else.

Convert AMF files

Common problems

A slicer no longer opens it

Recent slicer versions have dropped or hidden AMF import. Convert the file to 3MF, which keeps the units and separate objects.

Several parts arrive as one

STL has no notion of objects, so an AMF with many parts becomes one mesh. Use 3MF to keep them apart.

Questions about AMF files

Is AMF better than STL?

On paper, yes: it stores units, colours and several objects. But few current programs write it, so 3MF is the practical choice for the same benefits.

Is AMF the same as 3MF?

No. Both are XML-based successors to STL, but they are different standards. 3MF is the one slicers use today.