# GLB to STL converter: free, in your browser

> Convert GLB to STL in your browser, free and without uploading the file. The shape carries over; STL has no colours. Units are scaled for you.

HTML version: https://cadshot.tech/glb-to-stl/  
Site map for LLMs: https://cadshot.tech/llms.txt

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

- **Choose the GLB file** Drop it on the box above or click to browse. Try a sample loads a test model.

- **Check the options** GLB 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.

- **Download the STL** The 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. |
| Colours | Lost: STL has no standard colour field. The shape is kept exactly; save as OBJ, PLY, GLB or 3MF to keep the colours. |
| Normals | One normal per triangle, computed from the shape. |
| Units | Millimetres, the unit slicers assume for STL. |
| Orientation | Turned from Y-up to Z-up, so the part stands the same way in slicers and CAD programs. |
| Objects and parts | Merged into one mesh. |
| Textures and UV maps | Not 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](https://cadshot.tech/stl-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](https://cadshot.tech/docs/).

05 More tools

## Related converters

- [STL to GLB converter](https://cadshot.tech/stl-to-glb/)

- [OBJ to STL converter](https://cadshot.tech/obj-to-stl/)

- [GLB to OBJ converter](https://cadshot.tech/glb-to-obj/)

- [3MF to STL converter](https://cadshot.tech/3mf-to-stl/)

- [PLY to STL converter](https://cadshot.tech/ply-to-stl/)

- [GLB to PNG](https://cadshot.tech/glb-to-png/)

- [All 3D file conversions](https://cadshot.tech/3d-file-converter/)

- [STL repair](https://cadshot.tech/stl-repair/)

- [Polygon reducer](https://cadshot.tech/stl-polygon-reducer/)

- [3D viewer](https://cadshot.tech/viewer/)

## 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.

[Get an API key ](https://cadshot.tech/docs/#authentication) [Read the docs](https://cadshot.tech/docs/)
