STLSite

Convert STL to GLTF Online

Convert STL 3D models to GLTF (embedded JSON glTF) directly in your browser – a free .stl to gltf converter with no upload and no install. Preview the geometry, then download a single human-readable file.

Need the compact binary version instead? Try the STL to GLB converter. Mind the units and orientation tips below.

Drop your STL file here

Supported format: .STL

Guide

How to convert STL to GLTF

  1. Drop your .stl file onto the converter above, or choose it from your computer.
  2. Check the preview and dimensions.
  3. Click Convert to GLTF.
  4. Download the .gltf file and load it in your viewer, engine or 3D tool.

What the converted GLTF file contains

GLTF is the JSON form of glTF 2.0, the open format for delivering 3D to the web, AR and game engines. This export embeds the geometry buffer as base64 text inside the JSON, so everything stays in one downloadable file instead of a .gltf plus a separate .bin.

That makes it easy to inspect or edit by hand, at the cost of size: base64 is roughly a third larger than the same data in a binary GLB. As with the GLB export, a neutral grey material is added and the coordinates are written as they are in the STL.

GLTF vs GLB, and STL vs GLTF

AspectSTLGLTF
ContainerBinary or ASCII STLJSON text with embedded base64 geometry (GLB is binary)
File sizeCompactAbout a third larger than the same model as GLB
MaterialNoneNeutral grey default material
UnitsNone stored (printing uses mm)glTF defines 1 unit = 1 metre
Up axisZ is usually upY is up

Units and orientation: why the model may look huge or sideways

glTF defines one unit as one metre and uses a Y-up axis; STL models are normally in millimetres and Z-up. The converter writes the coordinates unchanged, so a 50 mm part appears about 50 m wide until you scale it by 0.001, and it may need a 90° rotation to stand upright.

Choosing between GLTF and GLB

Pick GLTF when you need to read or edit the file as text, or a tool specifically asks for .gltf. Pick GLB for the smallest file and the simplest hand-off – most web and AR use is better served by the GLB converter.

Related conversions

All Tools

Related Tools

Questions

Frequently Asked Questions

What is a GLTF file?

GLTF is the plain-text (JSON) form of glTF, a compact 3D format designed for fast loading in web viewers, AR experiences and game engines.

How do I convert an STL file to GLTF?

Drop your .stl file into the STL to GLTF converter above, preview it, click Convert to GLTF and download the .gltf file – all in your browser.

Can you convert STL to GLTF for free online?

Yes. The converter is free, online, needs no account and adds no watermark.

What's the difference between GLTF and GLB?

They are the same underlying format. GLB packs everything into one compact binary file; this GLTF export embeds the same geometry as base64 text inside a single human-readable JSON file, which is about a third larger but easy to inspect or edit.

Why does my GLTF look too big or lying on its side?

glTF uses metres and a Y-up axis, whereas STL models are normally in millimetres and Z-up. The coordinates are written unchanged, so scale by 0.001 and rotate 90° in your viewer or 3D tool if needed.

Is GLTF a print-ready format?

No. GLTF is intended for real-time rendering (web, AR, games) rather than 3D printing – use the STL to G-code tool to print your model.

Does the GLTF file include materials or textures?

It includes a simple neutral grey material. STL carries no color or texture data to preserve.

Can I use this GLTF with model-viewer or AR?

Yes for web viewers such as <model-viewer> and Android's Scene Viewer. For iOS AR Quick Look, which needs USDZ, <model-viewer> can generate it from a GLB, so the GLB converter is the easier route there.

Is my STL file uploaded to a server?

Your model is processed locally and is never sent to our servers. (The site does load Google Analytics for anonymous traffic statistics - see the Privacy Policy - but that never includes your file.)