Convert STL to GLB

Runs on your device · Your file never leaves your device.

STL is the printing format: shape and nothing else, and almost nothing on the web will display it. GLB is the web format: one self-contained file that a browser, a model viewer or an AR view can open directly. This converts the printable file into the showable one.

An STL almost never carries colour, so the GLB usually arrives with one plain surface — there was nothing else to bring (the rare binary STL with a colour per triangle keeps it). What you gain is a file you can put on a page, send to a client, or drop into a viewer without them needing any 3D software at all.

The conversion runs on your own machine, which for a 3D file is the whole point: a model is usually a client’s product, a scanned property or something not yet announced. Nothing is sent to a server, so there is nothing to delete afterwards and nothing to take anyone’s word for.

How to convert STL to GLB

  1. Drop the STL file.
  2. Check that GLB is selected.
  3. Press Convert.
  4. Download the GLB file.

Supported formats and limits

Input
STL (binary or ASCII)
Output
GLB
Colour
Only the per-triangle colour a few binary STLs store
Keeps animation
Nothing to keep; STL has no animation
Where it runs
In your browser; the model is never uploaded

Not for: Adding colour or texture the STL never had — no converter can recover what the source format cannot store.

Getting the size right

An STL stores no unit. Almost every STL made for 3D printing counts in millimetres, while a GLB counts in metres, so the page reads an STL as millimetres by default and shows the size the GLB will have: a 40 mm bracket becomes 40 mm, not 40 metres. An STL from a program set to inches takes An inch, and one already in metres takes Leave as it is. The triangles keep their original numbers, and the scale is written on the model's top node, which glTF viewers apply.

Which way is up

Slicers build upwards along Z, so STL files made for printing usually stand with Z as up, while a GLB uses Y. The tool gives the model a quarter turn, so a part that stood upright on the print bed also stands upright in a web viewer or in AR; you can choose to keep the axes instead. The turn is written on the same top node as the scale.

How the surface will look

Every part gets the same plain surface: light grey, fully rough and not metallic. An STL stores one facing direction for each triangle, and those directions become the GLB's normals, so curved areas show the flat facets they were printed from instead of looking smooth. Corners that are exactly identical, including their facing direction, are merged when the GLB is tidied.

Text (ASCII) and binary STL are both read. A text STL that holds several named solids arrives as one mesh with one surface. A binary STL that stores a colour for each triangle, as some printing software writes, keeps those colours in the GLB as colours on the corners, slightly darkened by the grey surface they are combined with.

Frequently asked questions

Are my files uploaded to a server?
No. This conversion runs inside your browser using your own device’s processing power, and the file is not uploaded. Once a tool has been used once (video, text recognition and background removal download their engine from this site the first time), it keeps working when your connection drops.
Will the GLB have colours?
Usually not, because the STL had none. STL stores triangles only. The GLB arrives with a single neutral material, which you can replace in any 3D program. The rare binary STL that stores a colour for each triangle keeps it.
Can I show it in AR on an iPhone?
Convert it to USDZ for that — Apple’s Quick Look wants USDZ specifically. GLB is the right choice for the web and for AR on Android.

Related tools

More in 3D models

This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা