HexaConvert

STL to GLB

Convert a 3D-print mesh into a web-ready glTF model. Choose how it should look, check it in the viewer, then export a single self-contained .glb.

Drop an STL file here

Binary and ASCII STL are both supported · up to 150 MB

The mesh is parsed and re-encoded by Three.js in this tab. Nothing is uploaded.

About this tool

Converts STL meshes to GLB, the binary form of glTF, with a material you choose. STL is the lingua franca of 3D printing and carries geometry only; glTF is what the web renders, and it carries material and colour with it.

How to use it

  1. 1Drop a binary or ASCII .stl file.
  2. 2Check the preview and set the material colour and finish.
  3. 3Export as GLB for a single self-contained file, or glTF for the readable JSON form.

Good to know

STL has no colour to preserve

The format stores triangles and nothing else: no material, no texture, no units. The colour and finish you pick here are being added, not recovered, which is why the export looks different from the print.

GLB or glTF

GLB packs geometry and material into one binary file, which is what you want for the web. glTF is JSON and easier to inspect or edit by hand.