Converter GLB → STL

GLB to STL converter

Convert a GLB file to STL on your own device: drop the file, check the preview and download the STL. It is free, there is no sign-up, and the file never leaves your computer.

01 How to

How to convert GLB to STL

  1. Choose the GLB fileDrop it on the box above or click to browse. Try a sample loads a test model.
  2. Check the optionsGLB stores metres and the STL is written in millimetres, so the model is scaled by 1,000 for you. Use Simplify to for a lighter file.
  3. Download the STLThe STL is written in your browser, usually in well under a second, and saved straight from the page.

02 What carries over

What carries over from GLB to STL

What the STL file keeps from the GLB
In the STL file
Shape (triangles)Kept exactly.
ColoursLost: STL has no standard colour field. The shape is kept exactly; save as OBJ, PLY, GLB or 3MF to keep the colours.
NormalsOne normal per triangle, computed from the shape.
UnitsMillimetres, the unit slicers assume for STL.
OrientationTurned from Y-up to Z-up, so the part stands the same way in slicers and CAD programs.
Objects and partsMerged into one mesh.
Textures and UV mapsNot carried over.

03 The formats

GLB and STL in short

GLB is the single-file, binary form of glTF 2.0, the format of the web, AR viewers and game engines: meshes, materials, textures and a scene tree, in metres.

STL stores a surface as a plain list of triangles, in binary or ASCII. It has no units, colours, materials or separate parts, which is why every slicer and CAD program can read it. Choose STL when the file goes to a slicer, CAD or CAM program: all of them read STL.

04 FAQ

Questions and answers

Is my GLB file uploaded?

No. The converter is a WebAssembly build of the cadshot engine that runs in this page. The file is read into your browser's memory, converted there and saved from the page; nothing is sent to a server.

Does GLB to STL keep the colours?

No. Lost: STL has no standard colour field. The shape is kept exactly; save as OBJ, PLY, GLB or 3MF to keep the colours.

Why is my STL the wrong size?

GLB files are in metres (glTF), and the STL is written in millimetres. The converter scales between the two for you. If the result is 25.4 times too small, the model was drawn in inches: set Source units to inches and convert again.

Are the GLB materials, textures and animations kept?

No. STL holds triangles only, so materials, textures and colours are dropped, and animations are not part of the conversion. Use GLB to OBJ or GLB to 3MF if you need the colours.

Can I make the STL smaller?

Simplify to reduces the triangle count to 75, 50, 25, 10 or 2 % with quadric edge collapse, which keeps sharp edges where it can. The polygon reducer shows the simplified mesh before you download it.

Can I convert files from my own code, or convert STEP?

Yes, with the API: POST /v1/convert?to=stl with the file as the body returns the STL, and the API also reads STEP and IGES through a CAD kernel. POST /v1/batch converts a ZIP of files in one request. See the docs.

Convert files from your own code

The same converter runs behind the HTTP API: POST /v1/convert with the file as the body returns the converted model, and STEP and IGES work there too. EU-hosted, with a free plan of 100 units a month.