Kairo3D
NewPixal3D is live
Free tool · Runs in your browser

STL to GLB Converter

Turn a print-ready STL into a GLB you can drop into a web page, a three.js scene or an AR viewer. Check the mesh in 3D, pick a scale, download one .glb. STL to GLB runs on your device — nothing is uploaded.

Drop STL files to convert to GLB

Binary or ASCII .stl, up to 10 files at 200 MB each

Convert to

GLB is read in metres. For an STL modelled in millimetres, pick “Millimetres → metres (×0.001)” under Scale so the GLB is life-size in AR.

STL has no units — most slicers read it as millimetres. Add a file to see its size.

Runs in your browser — your files are never uploaded.

  • Nothing uploaded
  • No sign-in
  • Z-up turned to Y-up
  • GLB size shown in metres

STL to GLB at a glance

What the converter reads, what it writes and where it runs.

STL

Bare triangles for a printer

GLB

One glTF file for screens

  • Triangles870 facets
    One indexed mesh
  • Normalsone per facet
    Per-vertex normals
  • Unitnone (read as mm)
    Metres (mm → m option)
  • Up axis+Z, like a slicer
    +Y, the glTF way
  • Colournot in STL
    Neutral material
  • 80-byte headerexporter text
    Not needed
KeptConvertedLeft out
  • 1 fileYour STL triangles packed into one binary glTF (.glb) with normals, ready for the web.
  • +Y upSTL stands on +Z like a slicer; the GLB is rotated so the model stands on +Y, the glTF convention.
  • 0 uploadsThe STL is parsed and the GLB written inside this browser tab, up to 200 MB per file.

How to convert STL to GLB

Three steps, no account and no install.

  1. Drop your STL

    Drag one or more .stl files (binary or ASCII) onto the converter. Each one opens in the 3D preview with its triangle count and size.

  2. Keep GLB and choose a scale

    GLB is already selected. Leave "Stand upright" on so the Z-up STL stands on the glTF floor. Under Scale, pick “Millimetres → metres (×0.001)” so a print-sized STL is life-size in the GLB.

  3. Download the .glb

    Click “Convert & download”. The browser saves a single .glb you can load in three.js, Babylon.js, <model-viewer>, Blender or a game engine.

What carries over

STL vs GLB: what the conversion keeps

STL is bare geometry for printers. GLB is a scene format for screens. Here is what moves across and what has to be added later.

STL: triangles only

GLB: same mesh, one file

STL vs GLB: what the conversion keepsSTLGLB
Triangle meshYesYes
UnitsNone (read as mm)Metres
Up axis+Z+Y
NormalsPer facePer vertex
Colour, UVs, texturesNoCan hold, none added
Scene nodes and namesNo1 node

STL never stores colour or UVs, so the GLB uses a neutral material. Paint or texture it in Blender if the web version needs colour.

Scale and orientation

Two settings that decide how the GLB looks in AR

An STL made for a printer is in millimetres and stands on Z. A GLB is read in metres and stands on Y. Get both right and the model appears life-size and upright.

STL80 mmread as mmThe printed figure
1 : 1
GLB 1:180 mread as metresA building-sized robot in AR
× 0.001
GLB ×0.0010.08 mmetresSame size as the print

Millimetres to metres

  • The sample robot is 80 mm tall — the numbers in the STL are millimetres.
  • glTF reads 80 as 80 metres, so at 1 : 1 the robot towers over the room in AR.
  • “Millimetres → metres (×0.001)” makes it 0.08 m, the size of the real print.
STL · Z-upBambu Studio, PrusaSlicer, Fusion, Onshape
Turned 90° about X
GLB · Y-upthree.js, Babylon.js, <model-viewer>

From the build plate to the web

  • Slicers and CAD exports stand an STL on +Z.
  • three.js, Babylon.js and <model-viewer> expect +Y up.
  • “Stand upright” turns the mesh once so it does not lie on its back.
Recorded in this tool

The scale setting, before and after

Two frames from the screen recording above: the same 80 mm robot, first at 1 : 1, then with “Millimetres → metres” picked.

  • The STL to GLB converter with the sample robot loaded at 1 : 1, size readout 72.7 × 80 × 30.5Kairo3D screenshot
    At 1 : 1 — 80 “metres” tallThe readout shows 72.7 × 80 × 30.5 and warns that GLB numbers are read as metres.
  • The same converter with Millimetres to metres selected, size readout 0.0727 × 0.08 × 0.0305Kairo3D screenshot
    Millimetres → metres — 0.08 mAfter the switch the readout is 0.0727 × 0.08 × 0.0305: the GLB is the size of the real print.

Screenshots of this page’s converter with the sample STL loaded.

Printable models that look good as GLB

Statues, vases and figures from the reference library — the kind of STL that people put on a product page or in AR.

Why use this STL to GLB converter

Small details that save a round trip through Blender.

  • Bronze-coloured Eiffel Tower model

    Axis turned for you

    Slicers are Z-up and glTF is Y-up. The converter rotates the mesh 90° on export so the model stands up in three.js instead of lying on its back.

  • Model of a Greek temple with columns on a marble base

    Binary and ASCII STL

    Both STL flavours are read. ASCII files from older CAD exports often shrink a lot once they are packed as binary GLB.

  • White unpainted chibi boy figure in a cap

    See the size before you export

    The panel shows the GLB bounding box in metres, so you know whether a 120 mm print will appear as 120 m in AR before you ship it.

  • Sandstone triumphal archway model

    Batch up to 10 STLs

    Add a whole set of parts and convert them in one go. Each STL becomes its own GLB with the same base name.

  • White printed bust of a woman whose head opens into staircases

    Private by design

    There is no server step. The STL is read, converted and saved inside your browser, so client parts and unreleased designs stay with you.

  • Stone stair diorama with two rune pillars and blue flames

    Other targets in one click

    The same tool writes OBJ and PLY, or a clean binary STL again, if a different app on the other end needs another format.

STL to GLB FAQ

Common questions about turning print files into web 3D.

Need a model to print in the first place?

Generate a 3D model from a photo with AI, then export it as STL for printing or GLB for the web.

Try Image to 3D