Convert STL to GLTF Online
Convert STL 3D models to GLTF (embedded JSON glTF) directly in your browser – a free .stl to gltf converter with no upload and no install. Preview the geometry, then download a single human-readable file.
Need the compact binary version instead? Try the STL to GLB converter. Mind the units and orientation tips below.
Drop your STL file here
Supported format: .STL
·
Model
- Triangles
- Dimensions
Conversion Complete
- Format
- File size
Guide
How to convert STL to GLTF
- Drop your .stl file onto the converter above, or choose it from your computer.
- Check the preview and dimensions.
- Click Convert to GLTF.
- Download the .gltf file and load it in your viewer, engine or 3D tool.
What the converted GLTF file contains
GLTF is the JSON form of glTF 2.0, the open format for delivering 3D to the web, AR and game engines. This export embeds the geometry buffer as base64 text inside the JSON, so everything stays in one downloadable file instead of a .gltf plus a separate .bin.
That makes it easy to inspect or edit by hand, at the cost of size: base64 is roughly a third larger than the same data in a binary GLB. As with the GLB export, a neutral grey material is added and the coordinates are written as they are in the STL.
GLTF vs GLB, and STL vs GLTF
| Aspect | STL | GLTF |
|---|---|---|
| Container | Binary or ASCII STL | JSON text with embedded base64 geometry (GLB is binary) |
| File size | Compact | About a third larger than the same model as GLB |
| Material | None | Neutral grey default material |
| Units | None stored (printing uses mm) | glTF defines 1 unit = 1 metre |
| Up axis | Z is usually up | Y is up |
Units and orientation: why the model may look huge or sideways
glTF defines one unit as one metre and uses a Y-up axis; STL models are normally in millimetres and Z-up. The converter writes the coordinates unchanged, so a 50 mm part appears about 50 m wide until you scale it by 0.001, and it may need a 90° rotation to stand upright.
Choosing between GLTF and GLB
Pick GLTF when you need to read or edit the file as text, or a tool specifically asks for .gltf. Pick GLB for the smallest file and the simplest hand-off – most web and AR use is better served by the GLB converter.
Related conversions
- STL to GLB converter – the compact binary version of the same format.
- STL to OBJ converter – another text-based mesh format.
- STL to FBX converter – for game-engine and animation pipelines.
- STL to PLY converter – for scanning tools such as MeshLab.
All Tools
Related Tools
Questions
Frequently Asked Questions
What is a GLTF file?
GLTF is the plain-text (JSON) form of glTF, a compact 3D format designed for fast loading in web viewers, AR experiences and game engines.
How do I convert an STL file to GLTF?
Drop your .stl file into the STL to GLTF converter above, preview it, click Convert to GLTF and download the .gltf file – all in your browser.
Can you convert STL to GLTF for free online?
Yes. The converter is free, online, needs no account and adds no watermark.
What's the difference between GLTF and GLB?
They are the same underlying format. GLB packs everything into one compact binary file; this GLTF export embeds the same geometry as base64 text inside a single human-readable JSON file, which is about a third larger but easy to inspect or edit.
Why does my GLTF look too big or lying on its side?
glTF uses metres and a Y-up axis, whereas STL models are normally in millimetres and Z-up. The coordinates are written unchanged, so scale by 0.001 and rotate 90° in your viewer or 3D tool if needed.
Is GLTF a print-ready format?
No. GLTF is intended for real-time rendering (web, AR, games) rather than 3D printing – use the STL to G-code tool to print your model.
Does the GLTF file include materials or textures?
It includes a simple neutral grey material. STL carries no color or texture data to preserve.
Can I use this GLTF with model-viewer or AR?
Yes for web viewers such as <model-viewer> and Android's Scene Viewer. For iOS AR Quick Look, which needs USDZ, <model-viewer> can generate it from a GLB, so the GLB converter is the easier route there.
Is my STL file uploaded to a server?
Your model is processed locally and is never sent to our servers. (The site does load Google Analytics for anonymous traffic statistics - see the Privacy Policy - but that never includes your file.)