STEP to glTF Converter: Current Status and the GLB Route
Right now, a STEP to glTF conversion here gives you a .gltf file without the .bin buffers it points to, so viewers cannot load its geometry. Convert STEP to GLB instead. It holds the same mesh in a single file, and tools such as glTF-Transform or Blender can unpack it into .gltf.
Download Started!
How would you rate your experience with MiConvert?
STEP files in Google Drive?
Drive cannot preview STEP 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 →
What happens when a STEP file becomes glTF here
STEP (ISO 10303, saved as .step or .stp) describes a part as exact boundary geometry: trimmed surfaces and edges that SolidWorks, Fusion 360, Inventor or CATIA can measure and edit. Web viewers such as Three.js and Babylon.js cannot draw that directly, because they need triangles. glTF, the Khronos Group's delivery format, stores those triangles in one of two ways: as a .gltf JSON file that points to separate .bin buffers, or as a single binary .glb.
On our servers, FreeCAD 1.1 reads the STEP file through the OpenCASCADE kernel and converts its units to millimeters. It then triangulates every face with a fixed tolerance: the mesh stays within 0.1 mm of the true surface, and neighboring facets differ by at most about 29 degrees. The Python library trimesh then writes the triangles out.
That last step is where the .gltf route breaks today. trimesh names its buffers gltf_buffer_0.bin and so on, but our packaging only bundles files that share the output's own name. The buffers are left behind, and the .gltf you download points to data that is not there. Until this is fixed, use the STEP to GLB converter, which delivers the same mesh in one file.
Either container gives you a plain mesh. All bodies sit in one mesh node, without colors, materials, part names or an assembly tree. Coordinates keep CAD's Z-up axis and millimeter values, but glTF assumes Y is up and one unit is one meter. The model therefore opens lying on its back and 1000 times too large.
This route suits people placing product or machine parts into a web viewer, configurator or presentation scene, who can fix scale and orientation afterward. For 3D printing, STEP to STL is the better match. For full control over names, colors and tessellation, run FreeCAD or OpenCASCADE yourself.
How to get a usable glTF model from a STEP file
- Export one self-contained STEP file (AP203, AP214 or AP242) from your CAD program. These files will not convert to a mesh: an assembly STEP that only references separate part files, a STEP that holds only curves, and a renamed .sldprt or .ipt.
- Open MiConvert's STEP to GLB converter instead of this page, and upload the .step or .stp file.
- Download the .glb from the result link. It stays available for about 4 hours.
- In your viewer, rotate the model -90 degrees about X and scale it by 0.001. In Three.js, that is rotation.x = -Math.PI / 2 and scale.setScalar(0.001).
- If a tool needs .gltf with separate buffers, run gltf-transform copy model.glb model.gltf. Alternatively, import the GLB into Blender and export it with the glTF Separate option.
What the STEP reader and mesher handle
- Reads AP203, AP214 and AP242 boundary-representation STEP files with either the .step or .stp extension.
- Repairs common export defects before reading: gzip compression, UTF-16 text, a byte-order mark, or a missing END-ISO-10303-21 terminator.
- Triangulates every part with the same fixed tolerance, 0.1 mm and about 29 degrees, whatever its size. There is no setting to change it, so large parts produce dense meshes.
- Keeps every body of a multi-part STEP file as a separate shell inside one mesh, without merging them into one solid.
- Checks a GLB result for meshes before offering it, so a conversion with no geometry fails instead of arriving empty.
- Takes files up to 50 MB without an account, 100 MB with a free account, 200 MB on Plus and 1 GB on Pro, with 10, 10, 25 or 50 files per batch.
Video Tutorial
Converting STEP to GLTF has never been easier! Quick tutorial 🚀 🔗 https://miconvert.com/en/step-to-gltf?utm_source=youtube&utm_medium=social&utm_campaign=step-to-gltf ⏱️ Chapters: 0:00 Let's go! 0
STEP to glTF questions
Why does the .gltf from this page open empty or with an error?
A .gltf file is a JSON index, and the triangles live in .bin files that our download package currently leaves out. This is a known fault that has not been fixed yet. Convert to GLB instead, then unpack it with glTF-Transform or Blender if you need .gltf.
Why is my model tipped over and huge in a glTF viewer?
We write CAD's Z-up millimeter values unchanged, but glTF readers assume Y-up meters. A 200 mm bracket therefore appears 200 meters long and lying on its back. Rotate it -90 degrees around X and scale it by 0.001, or bake both changes in Blender.
Will colors, materials, part names or the assembly tree come through?
No. Our STEP reader loads geometry only, so you get one untextured mesh node named after a temporary file. Assign materials in your viewer. If you need separate nodes, export each part to its own STEP file and convert them one at a time.
Can I convert STEP to glTF without losing quality, or choose the mesh density?
Every mesh only approximates STEP's exact surfaces. Here the approximation is fixed at 0.1 mm and about 29 degrees, and there is no setting to change it. For lighter web files, decimate afterward with Blender's Decimate modifier or the glTF-Transform simplify command.
Can I do STEP to glTF myself with Python, FreeCAD or OpenCASCADE?
Yes. Our pipeline is built from open-source parts: FreeCAD 1.1 on OpenCASCADE, with trimesh writing the mesh. Your own script can set the tolerance, convert the axis and units, and use OpenCASCADE's XCAF document to keep the names and colors we discard.
What do "No valid 3D geometry found" and "Could not read this 3D file" mean for a STEP upload?
Both messages cover several causes. "No geometry" can mean the file holds only curves, which STEP to DXF can handle, or that it references part files you did not upload, in which case you should export one complete STEP. "Could not read" can mean the file is truncated or is a native SolidWorks or Inventor file, so re-export it as a real STEP.
What happens to my STEP file after upload?
It travels over HTTPS through Cloudflare and is converted on our servers. Your upload is deleted as soon as the conversion finishes. The converted file can be downloaded for about 4 hours, then it is deleted automatically. Anyone with the random link can download it until then. File names and outcomes are logged, and signed-in users keep a history entry.