Convert STL to GLB Online
Convert STL 3D models to GLB (binary glTF) directly in your browser – a free STL to GLB converter with no upload and no install. Preview the geometry, then download a GLB for web and 3D viewers.
GLB loads in <model-viewer>, Three.js, Babylon.js, Blender and most game engines. Note the units and orientation tips below – STL and glTF use different conventions.
Drop your STL file here
Supported format: .STL
·
Model
- Triangles
- Dimensions
Conversion Complete
- Format
- File size
Guide
How to convert STL to GLB
- Drop your .stl file onto the converter above, or choose it from your computer.
- Check the preview and dimensions.
- Click Convert to GLB.
- Download the .glb file and load it in your viewer, engine or 3D tool.
What the converted GLB file contains
GLB is the binary container for glTF, the 'JPEG of 3D' format designed for fast loading on the web, in AR and in game engines. The mesh, its normals and a material are packed into one compact file.
STL has no color or texture, so the converter applies a plain neutral grey material. The geometry itself is unchanged and its coordinates are written as they are in the STL.
STL vs GLB: what changes in the conversion
| Aspect | STL | GLB |
|---|---|---|
| Purpose | 3D printing geometry | Real-time display (web, AR, games) |
| Format | Binary or ASCII | Binary glTF 2.0 container |
| 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
Two conventions differ between STL and glTF. glTF defines one unit as one metre, while STL models are normally designed in millimetres, and this converter doesn't rescale – so a 50 mm part has coordinates around 50 and appears about 50 m wide in a viewer. Scale the model by 0.001 in your viewer, engine or 3D tool (for <model-viewer> use its scale attribute). Second, glTF is Y-up while 3D-printing models are usually Z-up, so the part may appear rotated by 90°; rotate it in your tool if needed.
Viewing GLB on iPhone and Android
On Android, GLB files open in Scene Viewer. Apple's AR Quick Look natively opens USDZ rather than GLB, but <model-viewer> can generate a USDZ from your GLB on the fly for iOS.
GLB is not for printing
GLB is a display format. To print a model, slice the STL with our STL to G-code tool instead.
Related conversions
- STL to GLTF converter – the same format as a human-readable JSON file.
- STL to OBJ converter – the classic exchange format for modelling tools.
- STL to FBX converter – for Unity, Unreal and animation pipelines.
- STL to SVG converter – for a shaded still image of the model.
All Tools
Related Tools
Questions
Frequently Asked Questions
What is a GLB file?
GLB is the binary 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 GLB?
Drop your .stl file into the STL to GLB converter above, preview it, click Convert to GLB and download the .glb file. It runs in your browser with no upload.
Can you convert STL to GLB for free online?
Yes. This converter is free, online, needs no account and adds no watermark.
Why does my GLB 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. This converter writes the coordinates unchanged, so scale by 0.001 and rotate 90° in your viewer or 3D tool if needed.
Is GLB a print-ready format?
No. GLB 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 GLB 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 GLB with model-viewer or AR?
Yes. GLB works directly in web 3D viewers such as <model-viewer> and in Android's Scene Viewer. On iOS, AR Quick Look needs USDZ, which <model-viewer> can generate from the GLB automatically.
Can I convert GLB to STL?
Not with this tool, which reads STL only. Import the GLB into Blender or similar software and export it as STL.
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.)