zlim
Sign inGet started
STL → GLB

STL to GLB, web-ready and compressed

Zlim converts STL (the 3D-printing triangle-soup format, with no color, materials, or UVs) into a clean, indexed, Draco-compressed GLB you can view in any browser or AR viewer.

Get an API key Read the docs

Why convert STL to GLB?

STL is raw triangle soup: every triangle is stored independently with no shared vertices, no materials, and no UV coordinates. It is fine for a slicer but heavy and unviewable on the web.

GLB gives you an indexed, compressed mesh that loads in browsers, AR viewers, and game engines — with room for color and PBR materials if you add them.

What Zlim optimizes

Zlim welds coincident vertices into a proper indexed mesh, removes degenerate and duplicate triangles, recomputes normals where needed, then quantizes and Draco-compresses the geometry. Because STL carries no textures, the win here is geometry: a large STL routinely becomes a GLB a fraction of its size while looking identical.

bash
zlim optimize part.stl -o part.glb -p balanced   # cleans + indexes + compresses → part.glb

FAQ

Can I add color or materials?

STL has none to begin with. The GLB output supports PBR materials, so you can assign them downstream; Zlim focuses on producing clean, compressed geometry.

Does Zlim handle both binary and ASCII STL?

Yes — both STL variants are accepted and produce the same optimized GLB.

Convert STL to GLB now

Start free — 25 optimizations a month. No card required.

Get an API key
Related
FBX to GLBOBJ to GLBCompress GLBOptimize glTFDraco compressionKTX2 texturesReduce poly countOptimize for webAPI & CLI docs