Skip to content

model/3mf MIME Type — Meaning, Usage & Examples

model/3mf
Extensions: .3mf Class: model Spec: 3MF Consortium (IANA registered)
View IANA registration ↗

model/3mf means: model/3mf is the media type for the 3D Manufacturing Format, a modern ZIP-based container for 3D printing that packages mesh geometry, materials, colors, metadata and print settings. 3MF addresses STL's limitations by carrying units, color and multiple objects in one archive. Model media types describe 3D geometry and scene data for rendering, printing and interchange. The subtype selects the loader in viewers and engines. These types are common in CAD, glTF web graphics and additive manufacturing, where an incorrect type prevents the asset from loading into the target toolchain. You will encounter model/3mf in contexts such as modern 3d printing workflows with color and materials; packaging complete print jobs with metadata; interchange between cad, slicers and printers. It is commonly associated with the file extension(s) .3mf. 3MF is a ZIP container with XML parts, so it can embed everything a print job needs, avoiding STL's missing-unit and missing-color problems. Serve it as model/3mf; slicers that support 3MF read the embedded settings and materials directly.

Advertisement
Ad slot · ref-top

When you'll see model/3mf

  • Modern 3D printing workflows with color and materials
  • Packaging complete print jobs with metadata
  • Interchange between CAD, slicers and printers

How to handle it

When serving 3D models, prefer glTF for web delivery because it is compact and widely supported, and declare model/gltf+json or model/gltf-binary accordingly. Enable compression (Draco/meshopt) and byte-range requests for large assets. Validate that buffers and textures referenced by the scene resolve correctly, since a missing external buffer is a frequent cause of blank renders. As a final checklist for model types: prefer glTF for web delivery, compress geometry, verify that external buffers and textures resolve, enable byte-range requests for large assets, and confirm units and scale so the model loads correctly in viewers, engines and slicers.

Notes & gotchas

3MF is a ZIP container with XML parts, so it can embed everything a print job needs, avoiding STL's missing-unit and missing-color problems. Serve it as model/3mf; slicers that support 3MF read the embedded settings and materials directly.

Examples

HTTP
HTTP/1.1 200 OK
Content-Type: model/3mf
Content-Length: 72

Sample model/3mf content delivered with the correct Content-Type header.
curl
curl -i -H "Accept: model/3mf" https://api.example.com/v1/resource   # inspect the returned Content-Type
JavaScript (fetch)
const res = await fetch("/v1/resource", { headers: { Accept: "model/3mf" } });
// verify res.headers.get("Content-Type") starts with "model/3mf"
const text = await res.text();   // handle according to the declared type
Python (requests)
import requests

res = requests.get("https://api.example.com/v1/resource",
                   headers={"Accept": "model/3mf"}, timeout=10)
res.raise_for_status()
# confirm the server declared the expected type
assert res.headers["Content-Type"].startswith("model/3mf")
text = res.text   # decode/handle according to the type

Frequently asked questions

Is 3MF better than STL?

For modern printing yes — 3MF carries units, colors, materials and multiple objects in one ZIP-based file, while STL is geometry-only with no units. Support depends on your slicer and printer.

What is inside a 3MF file?

A ZIP archive containing XML model data, mesh geometry, and optional textures, materials and print-ticket metadata. You can unzip it to inspect the parts, similar to office Open XML files.

Where are model MIME types used?

In 3D viewers, web graphics (glTF), CAD interchange and 3D printing slicers. The type tells the loader how to interpret the geometry; model/gltf+json and model/gltf-binary are the common web-friendly choices.

Is model/gltf+json registered?

Yes — glTF 2.0 defines model/gltf+json for the JSON scene description and model/gltf-binary for the self-contained .glb container. Both are widely supported by web 3D engines and viewers.

Why does my 3D model load but render nothing?

External buffers or textures referenced by the scene failed to load, often due to wrong paths or CORS. Check the network requests, fix the URLs, or use a self-contained .glb that embeds all assets.

Advertisement
Ad slot · ref-in-article

Try the Base64 Encoder

Encode and decode Base64 with UTF-8 and URL-safe options.

Open tool →