STL to GLB converter

Convert .stl files to .glb in your browser. Free, no account, and your model never leaves your device.

Never uploadedNo sign-upPreview in 3DUnits & up-axis handled

Loading tool…
3dfiles Pro: big files, STEP export, batches.Pro adds files over 100 MB, unlimited STEP export, fit-to-printer cuts, colour 3MF and big batches. A one-off 7-day pass, or monthly with 7 days free.
See Pro

How to convert STL to GLB

  1. Drop your .stl file into the box above, or click Choose file.
  2. Check the 3D preview, size and triangle count.
  3. Make sure GLB is selected as the output format. Adjust scale or up-axis if needed.
  4. Click Download. The .glb file is created instantly on your device.

Why convert STL to GLB?

GLB is the format for showing 3D models on websites, in AR and in online stores. Converting STL to GLB gives you a compact single file that , three.js, Shopify and most web viewers display directly.

What changes in the conversion

  • Units. GLB is defined in metres. Large models (in millimetres) are scaled ×0.001 automatically so they appear at real size.
  • Up-axis. STL is usually Z-up while GLB is Y-up; the model is rotated so it stands the right way up. Untick "Convert up-axis" to keep the raw coordinates.
  • Geometry is preserved. Every triangle, with all object transforms applied, ends up in the new file.

STL vs GLB

STLGLB
Full nameStereolithographybinary glTF
Storesgeometry onlygeometry, materials, textures, hierarchy and animations
ColourNoYes
TexturesNoYes
Unitsnone – most programs read STL numbers as millimetresmetres by specification
Exact CAD geometryNoNo

About the formats

STL – Stereolithography

STL (Stereolithography) was created by 3D Systems in 1987 for its stereolithography printers. It describes only the surface of a model as a list of triangles, without colour, materials or units. It is the default file for 3D printing and the format almost every slicer (Cura, PrusaSlicer, Bambu Studio, Chitubox) opens. More about STL files

GLB – binary glTF

GLB (binary glTF) was defined by the Khronos Group as the single-file binary form of glTF 2.0. It packs meshes, PBR materials, textures, scene hierarchy and animations into one compact file. It is the standard for 3D on the web, AR viewers, e-commerce product views and game engines. More about GLB files

Common problems when converting STL to GLB

  • A giant model in the viewer. STL numbers are usually millimetres, but glTF defines one unit as one metre. A 200 mm part becomes a 200 m object unless you scale by ×0.001, which the converter suggests for this pair.
  • Wrong orientation. Printing and CAD files are Z-up; GLB viewers, Android Scene Viewer and game engines are Y-up. Turn on the up-axis conversion so the model is upright in the viewer instead of facing the sky.
  • Plain grey appearance. STL has no materials, so the GLB gets a neutral default material. Add colours, roughness or textures in Blender and re-export if the model is for product visualisation.
  • Heavy file for the web. A detailed print or scan can have millions of triangles, far more than a phone needs for a smooth preview. Reduce the triangle count to 10–25 % before converting; the visual difference at screen size is usually small.

Tips for best results

An STL to GLB conversion is the quickest way to show a 3D-printable product on a website. The resulting file works with the model-viewer web component, three.js, Babylon.js and Shopify product media, and it opens in Blender and in any web viewer built on three.js.

For smooth-looking curved surfaces, import the GLB into Blender, apply Shade Auto Smooth, give it a material and export again. STL normals are per triangle, so without this step organic shapes look faceted under real-time lighting.

If you also need an iPhone AR version, convert the same STL to USDZ with the same scale and axis settings so both files match in size.

Common questions

Is this converter free?

Yes – completely free and unlimited, with no sign-up and no watermark, for files up to 100 MB. Pro adds files over 100 MB and batches of hundreds of files.

Are my files uploaded to a server?

No. The conversion runs entirely in your browser using WebAssembly and JavaScript. Your model never leaves your computer, which also makes it safe for confidential parts and patient data.

Is there a file size limit?

There is no fixed limit. Files of a few hundred megabytes work on a typical laptop; the practical limit is your device's memory.

How do I show an STL file on my website?

Convert it to GLB, which browsers display natively through libraries like three.js or the model-viewer component. Scale it to metres and switch to Y-up so it appears at the right size and orientation.

Why is my GLB huge in the viewer after converting from STL?

STL is usually in millimetres and GLB is in metres, so the model ends up 1000 times too big. Convert again with the ×0.001 scale option.