Convert STL to GLB
Create a static GLB from STL triangles with generated normals and a physical scale you choose.
Supported input and output
ASCII or binary STL to self-contained GLB 2.0; no external assets.
Package a print mesh for a scene workflow
A self-contained GLB can carry an STL-derived mesh into compatible scene viewers. You must declare the STL coordinate units so the output metre scale is meaningful. The writer keeps triangle geometry and generated normals; it cannot add original colors, materials or CAD structure.
How to use this tool
- Choose an STL file.
- Declare its intended coordinate units.
- Convert to GLB and download.
Limitations to check
- The selected unit supplies the STL scale; the file itself cannot confirm it. GLB coordinates are written in metres with the same axis orientation.
- Triangle geometry becomes a static scene mesh with generated normals. Colors, CAD surfaces and a part hierarchy cannot be recovered from STL.
- Writing float32 GLB positions can round scaled coordinates. Collapsed triangles are rejected rather than saved.
File and processing limits
- ASCII/binary STL up to 25 MiB, 750,000 stored vertices and 250,000 triangles.
- Generated GLB is limited to 32 MiB; float32 precision can alter coordinates.
- 30 seconds per mesh job. Browser memory and device speed can impose lower practical limits.
Processing happens in this browser; your file and filename are not uploaded. Cancel, reset or replace the file to stop its worker. Downloads are generated locally.
Questions about this workflow
Why is unit selection required?
STL has no standard physical-unit field. Treating an inch-based STL as millimetres would change its physical size by a factor of 25.4. Select the unit used when the source STL was exported.