SupaVoxel
Free STL converter

STL to GLB Converter

Drop an .stl and download a GLB that shows at its true size in web viewers, AR apps, Blender and Unity. Free, no sign-up, and done in your browser.

STL → GLB converter
100% in-browser
STLGLB

Drop your STL file to convert it

Preview it, pick options, download the GLB. Nothing is uploaded.

Try a sample

Opens STL · OBJ · FBX · GLB · GLTF · 3MF · PLY · USDZ · DAE · STEP · up to 200 MB

  • Real-world meter scale
  • Y-up orientation
  • One binary file
  • Never uploaded

By ·Updated

01

How to convert STL to GLB

  1. 01

    Drop the STL

    Binary or ASCII, up to 200 MB. The preview uses the same orientation the GLB will have, so what you see standing up will stand up in the viewer.
  2. 02

    Check the size in meters

    The panel shows the GLB dimensions in meters. A 120 mm print reads 0.12 m, which is how AR apps place it on a real table. If your STL was drawn in inches or centimeters, set File units so the conversion is right.
  3. 03

    Convert

    Press Convert to GLB. The download is a single binary glTF file with the geometry, normals and a neutral gray material, ready to drop into a page or an engine.
02

Why scale matters for STL to GLB

glTF has a rule most formats lack: one unit is one meter. Viewers and AR apps rely on it. When you place a GLB in your room with Android's Scene Viewer or in a web page built on <model-viewer>, the object appears at the size its numbers claim.

An STL from a printing workflow is in millimeters. Copied across without conversion, a 120 mm vase would claim to be 120 meters tall, taller than a 30-story building. This converter divides by 1,000, so the vase is 0.12 m in the GLB and shows up at true size. It also turns the model from the Z-up convention of slicers to the Y-up convention of glTF, so it stands on the floor instead of lying on its back.

03

STL to GLB: what you get

Triangles

In the GLB
Kept exactly

Normals

In the GLB
Kept, giving the same flat shading as the STL

Material

In the GLB
One neutral gray PBR material, since STL has no color

Textures and UVs

In the GLB
None: there are none in an STL to convert

Units

In the GLB
Converted from millimeters to meters

Orientation

In the GLB
Turned from Z-up to Y-up
ItemIn the GLB
TrianglesKept exactly
NormalsKept, giving the same flat shading as the STL
MaterialOne neutral gray PBR material, since STL has no color
Textures and UVsNone: there are none in an STL to convert
UnitsConverted from millimeters to meters
OrientationTurned from Z-up to Y-up

Want the model in color? Assign a material in Blender and export GLB from there, or generate a textured model in the studio from a photo.

04

STL and GLB formats

STL
3D Systems, 1987. Triangle list, no units, no color, Z-up by habit
GLB
Binary glTF 2.0, Khronos Group. Geometry, PBR materials, textures, animation in one file
GLB units
Meters, Y-up, as required by the glTF spec
GLB opens in
Web browsers via three.js or model-viewer, Android AR, Blender, Unity, Godot, Unreal, Windows 3D Viewer, Microsoft Office
Used for
STL: slicers and print services. GLB: web viewers, AR, game engines and AI 3D generators
File size
Each corner stores a normal as well as a position, so a GLB from an STL is usually somewhat larger
05

Tips for using the GLB

Do
Avoid
  • Put a 50 MB GLB on a product page; aim for a few megabytes
  • Expect color from an STL; add materials after converting
  • Rescale in the viewer instead of fixing File units; the GLB itself would still be wrong
06

Where an STL becomes more useful as GLB

Print designers convert STL to GLB to show their work: a rotating preview on a shop page, an interactive model in a portfolio, or an AR view so buyers see the size of a planter on their own windowsill. Engineers use it to share a part with colleagues who have no CAD software, since any modern browser opens a GLB. Game developers use it to bring a printable prop into Godot or Unity.

For the reverse trip, GLB to STL writes millimeters and Z-up for slicers. Need a format with separate texture files? See FBX to OBJ and glTF to OBJ. Not sure which format to keep as your master? The best file format for 3D printing guide helps.

FAQ

Frequently asked questions

Is this STL to GLB converter free?

Yes. It is free, with no account and no watermark. Conversion runs locally in your browser, so the STL is never uploaded to a server and there is no queue. You can convert as many files as you like, up to 200 MB each.

Why does my GLB show up at the right size in AR?

Because the converter changes millimeters to meters, the unit glTF requires. A 120 mm print becomes 0.12 m in the GLB, and AR viewers place it at that real size. Converters that copy the numbers unchanged produce a GLB that is 1,000 times too large.

Can I add color when converting STL to GLB?

Not here; an STL has no color information, so the GLB gets one neutral gray material. Import the GLB into Blender, assign materials or paint a texture, and export again. For a colored model from scratch, generate one from a photo in the SupaVoxel studio.

How do I put the GLB on my website?

The simplest way is Google's open-source model-viewer web component: add its script tag and a model-viewer element pointing to your .glb. It handles orbit, zoom and AR on supported phones. Compress the file first so the page stays fast.

Why is my GLB bigger than the STL?

A binary STL stores one normal per triangle; a GLB stores a normal for each corner, alongside the positions. That adds data. Run the result through a GLB compressor to cut it down, and simplify very dense meshes first if the model is for the web.

Will the GLB work in Unity, Unreal and Godot?

Godot imports GLB natively. Unreal Engine 5 imports glTF and GLB through its built-in Interchange importer. Unity needs a glTF package such as glTFast, which Unity maintains. In all three, the model arrives at real-world scale and Y-up.

Sources

  1. 1.
    STL to GLB — Glbtostl
    “STL does not reliably declare its measurement units. A GLB export may look too large or too small if the importing application assumes different units.”
Start free

Go from photo to GLB directly

Generate a 3D model from one picture and download it as GLB on the free plan, no STL to GLB step needed. Paid plans add textured models and print formats.

No credit card required · 3 free credits to start