STL to glTF Converter
Upload an STL and download a ZIP with a .gltf file and its .bin geometry buffer, ready for Three.js, Babylon.js and other glTF viewers. STL stores no units, so a part modeled in millimeters will look 1,000 times too large until you scale it by 0.001.
Download Started!
How would you rate your experience with MiConvert?
STL files in Google Drive?
Drive cannot preview STL 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 an STL becomes glTF
STL describes a surface as a bare list of triangles, with no color, no materials, no units and no scene structure. That suits slicers, but real-time engines, web model viewers and many asset pipelines standardize on glTF, the Khronos format built for handing 3D content to renderers. Converting turns a print file into something those tools load as a regular scene.
The conversion runs on our servers in Blender 5.1.2, started in background mode for each job. Blender imports binary or ASCII STL with the coordinates exactly as written. Its glTF exporter then writes the separate-file variant: a .gltf JSON document describing the scene and a .bin buffer holding the vertex and index data. Because that is two files, the download arrives as a single .gltf.zip.
The triangles come across with their shape intact and the right way up. Slicers treat STL as Z-up while glTF is Y-up, and the exporter converts between the two, so the part stands in a glTF viewer the way it sat on your print bed. Nothing is repaired on the way: holes, flipped faces and loose shells reach the glTF exactly as they were. Since STL has no color, the result is plain, untextured geometry.
Size is the one surprise. STL never records a unit, and no step in our pipeline rescales coordinates, so a value of 50 stays 50. glTF defines its unit as the meter, which means a 50 mm bracket opens as a 50 m object. Apply a 0.001 scale in your viewer, engine or loader.
Typical users are makers showing a printable part on a web page, developers dropping downloaded print models into a Three.js or Babylon.js scene, and anyone who wants to read a mesh's structure in plain JSON. If you would rather script it, the Python library trimesh loads STL and exports glTF or GLB in a couple of lines. This page covers the case where you just need the file.
Converting an STL to glTF step by step
- Check that the file is a real mesh. An STL that opens empty in your slicer will be rejected here too, because there is nothing to export.
- Check the size against your plan: 50 MB per file without an account, 100 MB signed in, 200 MB on Plus and 1 GB on Pro.
- Upload the STL on this page. glTF is already set as the output format.
- Download the .gltf.zip and extract it. Keep the .gltf and .bin in the same folder, because the .gltf refers to the .bin by file name.
- Load the .gltf in your viewer or engine and apply a 0.001 scale if the model was drawn in millimeters.
What the converter does with your STL
- Reads both binary and ASCII STL, so you do not need to resave the file in one or the other first
- Blender's glTF exporter handles the Z-up to Y-up change, so the part stands upright in glTF viewers
- Separate-file glTF (.gltf JSON plus .bin buffer) bundled into one ZIP, so the buffer cannot get lost on download
- Geometry is not decimated, smoothed or remeshed
- If the output would contain no mesh, you get an error message instead of a blank file
- Several STLs per batch (10 for guests and free accounts, 25 on Plus, 50 on Pro), each converted into its own ZIP
Video Tutorial
Pro tip: convert STL to GLTF without installing anything! 💡 🔗 https://miconvert.com/en/stl-to-gltf?utm_source=youtube&utm_medium=social&utm_campaign=stl-to-gltf ⏱️ Timestamps: 0:00 Intro 0:06 Find
STL to glTF questions
Can I get one file instead of a ZIP?
Yes. Pick GLB as the target instead, for example on our STL to GLB page. The same geometry is packed into one binary .glb, which most glTF viewers and engines accept. This page always writes the separate .gltf plus .bin pair, which is why it is delivered zipped.
Why does my converted model look 1,000 times too big?
Your STL was almost certainly drawn in millimeters. STL stores bare numbers, we copy them unchanged, and glTF reads them as meters. Scale the model by 0.001 after loading, or set that scale on its node in your engine. Models drawn in inches need 0.0254.
How do I convert STL to glTF in Python?
Use trimesh. Load the STL with trimesh.load and call export on the result with a filename ending in .glb for a single file. Wrapped in a loop, that converts a whole folder. Use this page when you want Blender's exporter output without setting up Python.
Will the glTF have colors or textures?
No. An STL contains only triangles, so there is no color, material or UV data to carry over. Assign materials afterward in Blender or in your engine.
Can I convert glTF back to STL online?
Yes, as long as you upload it in a form we can read. A lone .gltf is blocked at upload when its .bin or images are separate files. Upload the ZIP you got from us on the ZIP to STL page, or convert a GLB on the GLB to STL page. Coordinates pass through unchanged in that direction too. A glTF modeled in meters therefore comes out 1,000 times too small in a slicer, while a round trip of a file made here returns your original numbers.
Can this turn my STL into a solid body or a STEP file?
No. glTF is still a triangle mesh, and MiConvert does not produce STEP or other CAD solids from STL. For a SolidWorks or STEP workflow, use CAD software with a mesh-to-solid tool, such as the Create shape from mesh command in FreeCAD's Part workbench.
Why was my STL rejected?
The usual cause is an empty file. When Blender finds no triangles, you see "Imported model contains no exportable geometry or armatures". A file over your plan's limit is refused with "File exceeds maximum size". If the message calls the model invalid and mentions compressed archives, you uploaded a zipped STL. Extract it first, or use the ZIP to glTF page.
What happens to my STL after it is converted?
The conversion runs on our servers, not on your device. Your upload is deleted as soon as the conversion finishes. The ZIP can be downloaded for about 4 hours and is then deleted automatically. Until it expires, anyone holding the download link can use it, so do not post the link publicly.