Free · runs in your browser · no signup

Convert STL to GLB in Your Browser

STL is how 3D printing files are shared, but web viewers, AR on phones, game engines and online stores load GLB. This tool turns a print file into a single .glb with proper normals, a colour you choose and a sensible real-world size, all on your own device.

Loading the converter...

STL to GLB examples

STL to GLB converter preview: a 120 mm figure STL in a skin colour with smooth shading, 0.12 m tall in the GLB
A figure STL: skin colour, smooth shading, millimetres to metres and Z-up to Y-up, 0.12 m tall.
Convert STL to GLB with flat shading: a 50,000-triangle dragon STL in red showing every facet
A dragon STL in red with flat shading: every one of its 50,000 triangles shows.
The stl to glb result opened in our GLB viewer: 50,000 triangles, 1 material, 0 textures, size in metres
The downloaded GLB in our GLB viewer: 50,000 triangles, 1 material, 0 textures, 0.1 m tall.

STL to GLB converter online: from print file to web and AR

This STL to GLB converter is free and works online in your browser, with no account, no credits and no upload. To convert STL to GLB, drop a binary or ASCII STL, pick a colour and smooth or flat shading, and download one .glb file. The first two examples above show both looks: smooth shading for a figure, flat shading for a faceted dragon.

An STL from a 3D printing site is usually in millimetres with Z pointing up, while GLB uses metres with Y up. The default settings convert both, so a 100 mm print is 0.1 m in the GLB and stands upright in a web viewer, an AR app or a game engine, as the third example shows in our GLB viewer. The file is plain glTF 2.0 without Draco compression, so any glTF viewer can read it.

To try other colours on the finished model, open it in the 3D model color changer. For a lighter file on a web page, run the GLB through the 3D model compressor, and if the STL has holes, fix it with STL repair before you convert.

How to use it

  1. 1

    Add your .stl

    Drop a binary or ASCII STL onto the box, or click to pick one. Up to 100 MB.

  2. 2

    Choose a look

    STL carries no colour, so pick one. Smooth shading rounds off curved surfaces while keeping sharp edges; flat shows every facet.

  3. 3

    Check size and axis

    Millimetres to metres is selected, so a 120 mm print shows up 12 cm tall in AR. Z-up to Y-up stands it upright in glTF viewers.

  4. 4

    Download the GLB

    One .glb file with the mesh and material inside. Open it in a web viewer, Blender, Unity, Unreal or an AR app.

What to know before you convert

  • An STL has no colours, textures or UV coordinates, so the GLB gets one plain material in the colour you pick. Painting or texturing has to happen in a 3D editor afterwards.
  • Duplicate corner points are welded and normals are rebuilt, which makes the GLB much smaller than the STL in most cases. The triangle count stays the same.
  • All shells in the STL become one mesh. STL does not record separate parts, so they cannot be split back out.
  • glTF is measured in metres. If your STL was not modelled in millimetres, pick the matching scale or the model will look too big or too small in AR.
  • The output is plain glTF 2.0 with no Draco compression, so every viewer can read it. Very dense scans may still need decimating for the web.

Don't have a model?

Create one with AI from a photo, a sentence or a sketch. The generators use credits; this converter is free and stays in your browser.

Frequently Asked Questions

STL files store triangle geometry only. There is no colour or texture in the file to carry over, so the converter applies the single colour you choose. To get multiple colours, paint or texture the model in Blender and export GLB from there.
glTF uses metres. With the default millimetres-to-metres scale, an STL that is 150 units tall becomes 0.15 m, which is how it appears in AR view. If the STL was made in inches or centimetres, choose that scale instead.
Printing tools treat Z as up, while glTF treats Y as up. Keep the Z-up to Y-up option on and the model is rotated so it stands the same way it stood on the build plate.
Smooth suits organic shapes and scans: faces that meet at less than 30 degrees blend together, sharper edges stay crisp. Flat shows every triangle, which looks right for low-poly and mechanical parts. Only the normals change; the geometry is identical.
Yes. GLB is the format used by the model-viewer web component, Shopify 3D media, Facebook 3D posts and most WebGL viewers. For iPhone Quick Look you would still need a USDZ copy.
No. The page reads the file and converts it inside your browser with the open-source three.js library. Nothing is sent to our servers, there is no account, and no credits are used. Closing the tab discards everything.
Drop the STL on the box above, pick a colour and smooth or flat shading, keep millimetres to metres and Z-up to Y-up, and download. You get one .glb file with the mesh and its material inside.
Yes. It is free with no account and no credits, and the conversion runs in your browser, so the STL is not uploaded. Files up to 100 MB are accepted.