AMF to GLB Converter: AMF Print Models for glTF Viewers
Get one binary GLB containing your AMF model's triangles as a single mesh, ready for three.js, Babylon.js or any glTF viewer. Colors do not come across, and a millimeter model arrives lying on its back and 1000 times too large, so plan to rotate and rescale it.
Download Started!
How would you rate your experience with MiConvert?
AMF files in Google Drive?
Drive cannot preview AMF files. Open one from Drive with MiConvert to turn the model in your browser, or convert it and save the result next to the original. MiConvert for Google Drive →
Why convert AMF to GLB
GLB is the single-file binary version of glTF, the format that web viewers, three.js, Babylon.js and Godot load directly. An AMF print file, written as XML for 3D printers, opens in none of them, so putting a printable design on a web page or in a game engine starts with a conversion.
Here a Python reader on our servers parses the AMF, including gzip and zip-wrapped variants, takes the vertices and triangles from each object, and combines them into one mesh with consistent face orientation. trimesh exports that mesh straight to GLB, so the result is one merged mesh rather than a scene of separate parts.
The GLB therefore carries plain geometry. Colors, materials and textures from the AMF are not read, the mesh has no material, and there is no animation or object hierarchy. Curved-triangle data is skipped, leaving flat faces. The file is not Draco or meshopt compressed, so its size follows the triangle count.
Placement needs attention. glTF is Y-up and measured in meters, while the AMF's Z-up millimeter coordinates are written unchanged. The model therefore faces the sky instead of standing up, and a millimeter part is 1000 times bigger than intended, which is obvious in viewers that show objects at real-world scale.
This suits makers who want a quick 3D preview of a part on a product page or in a review tool, and developers loading print models into a WebGL scene where scale and rotation can be set in code.
How to convert AMF to GLB
- Confirm the file is AMF. A zip-wrapped or gzip-compressed AMF can be uploaded as it is.
- If the model's colors matter, take another route: export OBJ with its MTL from your design software, put both in one ZIP, and convert that on the ZIP to GLB page, which keeps materials.
- Upload the .amf on this page. It converts to GLB only, and files sent together are processed one by one.
- Download the .glb, named after your original file; the link lasts about 4 hours.
- In your viewer or engine, stand the model up and fix its size. In three.js that is mesh.rotation.x = -Math.PI / 2 and mesh.scale.setScalar(0.001), or 0.0254 for an inch file.
- Give the mesh a material in the engine, because it arrives without one.
Details of the AMF to GLB output
- One binary .glb file with no separate .bin or texture files
- Every object in the AMF merged into a single mesh
- Accepts plain XML, gzip-compressed and zip-wrapped AMF uploads
- Uncompressed geometry, so no Draco or meshopt decoder is needed to load it
- A result with no meshes is rejected rather than delivered empty
- Batches of up to 10 files for guests and free accounts, 25 on Plus and 50 on Pro, each converted separately
Video Tutorial
Convert AMF to GLB on any device — PC, Mac, iPhone, or Android! 🔗 https://miconvert.com/en/amf-to-glb?utm_source=youtube&utm_medium=social&utm_campaign=amf-to-glb No app needed! Just visit MiConver
AMF to GLB questions
Why does my model face upward in the glTF viewer?
AMF data uses Z as up, glTF uses Y, and the coordinates are written into the GLB without rotation. Turn the model 90 degrees about the X axis in your viewer or code to stand it upright.
Why does the model look gigantic?
The AMF unit is not read, and glTF treats every value as meters. A part drawn in millimeters therefore becomes 1000 times too big. Apply a scale of 0.001, or 0.0254 for a file authored in inches, after loading.
Can I choose glTF instead of GLB?
Not reliably from AMF right now. AMF to glTF currently delivers a .gltf without the buffer files it points to, so it will not open. Use GLB; if you need the separate .gltf form, unpack the GLB afterward with a glTF tool such as gltf-transform.
Will the AMF colors show up in the GLB?
No. Only vertices and triangles are read, so AMF colors and materials are dropped. For a colored GLB, export the model from your design software as OBJ with its MTL and textures, zip them together, and use the ZIP to GLB converter instead.
Is the GLB compressed?
No. The output contains plain, uncompressed geometry. If you need a smaller file for the web, run it through gltfpack or gltf-transform with Draco or meshopt compression afterward.
What if my file is not recognized as AMF?
The reader checks what the upload really contains and reports common mix-ups, such as a .blend, a PNG or a damaged ZIP saved with an .amf extension. Export a genuine AMF from your slicer or CAD tool, or use the converter that matches the real format.
How long do you keep my AMF and the GLB?
Conversion happens on our servers, never in your browser, and transfers use HTTPS. Your upload is deleted as soon as the conversion finishes. The GLB stays downloadable for about 4 hours and is then removed automatically. Metadata such as the file name, size and result is recorded in our logs.