STL to GLB Converter
Drop an .stl and download a GLB that shows at its true size in web viewers, AR apps, Blender and Unity. Free, no sign-up, and done in your browser.
Drop your STL file to convert it
Preview it, pick options, download the GLB. Nothing is uploaded.
Opens STL · OBJ · FBX · GLB · GLTF · 3MF · PLY · USDZ · DAE · STEP · up to 200 MB
- Real-world meter scale
- Y-up orientation
- One binary file
- Never uploaded
By SupaVoxel Team·Updated
How to convert STL to GLB
- 01
Drop the STL
Binary or ASCII, up to 200 MB. The preview uses the same orientation the GLB will have, so what you see standing up will stand up in the viewer. - 02
Check the size in meters
The panel shows the GLB dimensions in meters. A 120 mm print reads 0.12 m, which is how AR apps place it on a real table. If your STL was drawn in inches or centimeters, set File units so the conversion is right. - 03
Convert
Press Convert to GLB. The download is a single binary glTF file with the geometry, normals and a neutral gray material, ready to drop into a page or an engine.
Why scale matters for STL to GLB
glTF has a rule most formats lack: one unit is one meter. Viewers and AR apps rely on it. When you place a GLB in your room with Android's Scene Viewer or in a web page built on <model-viewer>, the object appears at the size its numbers claim.
An STL from a printing workflow is in millimeters. Copied across without conversion, a 120 mm vase would claim to be 120 meters tall, taller than a 30-story building. This converter divides by 1,000, so the vase is 0.12 m in the GLB and shows up at true size. It also turns the model from the Z-up convention of slicers to the Y-up convention of glTF, so it stands on the floor instead of lying on its back.
STL to GLB: what you get
Triangles
- In the GLB
- Kept exactly
Normals
- In the GLB
- Kept, giving the same flat shading as the STL
Material
- In the GLB
- One neutral gray PBR material, since STL has no color
Textures and UVs
- In the GLB
- None: there are none in an STL to convert
Units
- In the GLB
- Converted from millimeters to meters
Orientation
- In the GLB
- Turned from Z-up to Y-up
| Item | In the GLB |
|---|---|
| Triangles | Kept exactly |
| Normals | Kept, giving the same flat shading as the STL |
| Material | One neutral gray PBR material, since STL has no color |
| Textures and UVs | None: there are none in an STL to convert |
| Units | Converted from millimeters to meters |
| Orientation | Turned from Z-up to Y-up |
Want the model in color? Assign a material in Blender and export GLB from there, or generate a textured model in the studio from a photo.
STL and GLB formats
- STL
- 3D Systems, 1987. Triangle list, no units, no color, Z-up by habit
- GLB
- Binary glTF 2.0, Khronos Group. Geometry, PBR materials, textures, animation in one file
- GLB units
- Meters, Y-up, as required by the glTF spec
- GLB opens in
- Web browsers via three.js or model-viewer, Android AR, Blender, Unity, Godot, Unreal, Windows 3D Viewer, Microsoft Office
- Used for
- STL: slicers and print services. GLB: web viewers, AR, game engines and AI 3D generators
- File size
- Each corner stores a normal as well as a position, so a GLB from an STL is usually somewhat larger
Tips for using the GLB
- Shrink it for the web with the GLB compressor after converting
- Reduce triangles first with the mesh simplifier if the STL is a dense scan
- Preview the result in the GLB viewer
- Convert to USDZ with GLB to USDZ for AR Quick Look on iPhone
- Put a 50 MB GLB on a product page; aim for a few megabytes
- Expect color from an STL; add materials after converting
- Rescale in the viewer instead of fixing File units; the GLB itself would still be wrong
Where an STL becomes more useful as GLB
Print designers convert STL to GLB to show their work: a rotating preview on a shop page, an interactive model in a portfolio, or an AR view so buyers see the size of a planter on their own windowsill. Engineers use it to share a part with colleagues who have no CAD software, since any modern browser opens a GLB. Game developers use it to bring a printable prop into Godot or Unity.
For the reverse trip, GLB to STL writes millimeters and Z-up for slicers. Need a format with separate texture files? See FBX to OBJ and glTF to OBJ. Not sure which format to keep as your master? The best file format for 3D printing guide helps.
Related converters
Frequently asked questions
Is this STL to GLB converter free?
Why does my GLB show up at the right size in AR?
Can I add color when converting STL to GLB?
How do I put the GLB on my website?
Why is my GLB bigger than the STL?
Will the GLB work in Unity, Unreal and Godot?
Sources
- 1.STL to GLB — Glbtostl
“STL does not reliably declare its measurement units. A GLB export may look too large or too small if the importing application assumes different units.”
Keep going
Go from photo to GLB directly
Generate a 3D model from one picture and download it as GLB on the free plan, no STL to GLB step needed. Paid plans add textured models and print formats.
No credit card required · 3 free credits to start