# STL to GLB Converter > To convert STL to GLB, read the STL's triangles, turn the Z-up print model Y-up, scale its millimetres to glTF's metres and write it as a glTF 2.0 binary. Kenerate's free converter does all of that in your browser: drop a binary or ASCII STL, preview it and download the GLB. STL has no colour, so the GLB gets a neutral grey material. Nothing is uploaded. URL: https://kenerateai.com/stl-to-glb Publisher: Kenerate AI (https://kenerateai.com) Last updated: 2026-10-01 ## Key facts - Price: Free, no account - Converts: STL (binary or ASCII) → GLB - Scale: Millimetres → metres, ticked for print-sized models - Orientation: Z-up print model → glTF Y-up - Material: One neutral grey PBR material - Privacy: Converted locally — no upload - Real size in AR: STL numbers are millimetres by print convention; glTF reads them as metres. The mm → m option divides by 1,000, so a 40 mm figure stays 40 mm in AR instead of 40 m. It's ticked for you when the model is 10 units or more across. - Right way up: Print files stand on Z; glTF stands on Y. The model is turned so it stands upright in web viewers and engines. - Binary and ASCII: Both kinds of STL open. Our test knot was 115 KB as binary STL, 706 KB as ASCII, and 167 KB as GLB either way. - Check it first: Clay and Wire views show the faceting, holes and thin parts before you publish the model. - Parse: Binary or ASCII STL is read into triangles with their normals. - Orient: The Z-up print model is turned Y-up for glTF. - Scale: Millimetres are written as metres (or units kept, if you untick the option). - Write: One mesh with a neutral PBR material is saved as a binary glTF file. - STL (Stereolithography): Triangle mesh (binary or ASCII); by 3D Systems, 1987. Holds: Triangle surfaces, Facet normals. Lacks: Colour and textures, Units, Materials. Best for: 3D printing — every slicer opens it. Opens in: Cura, PrusaSlicer, Bambu Studio, OrcaSlicer, Blender. - GLB (glTF 2.0 Binary): Single-file scene with PBR materials; by Khronos Group, 2017 (glTF 2.0). Holds: Meshes and PBR materials, Textures in the same file, Animation and skins. Lacks: Units beyond metres, CAD precision. Best for: Web, AR and real-time apps — the “JPEG of 3D”. Opens in: Browsers (three.js, model-viewer), Blender, Unity, Unreal, Godot. - Encoding — STL vs GLB: Binary or text | Binary - Units — STL vs GLB: None (millimetres by convention) | Metres - Up axis — STL vs GLB: Z (print convention) | Y - Colour and textures — STL vs GLB: No (non-standard extensions only) | PBR materials and textures - Typical use — STL vs GLB: 3D printing | Web, AR, game engines ## Steps 1. Open the STL — Drop your .stl onto the box above or click to choose it. Or try the sample dragon. 2. Preview — Orbit it and check the triangle count and size. 3. Check the units — GLB is selected. Tick “STL is in mm — write metres” for a millimetre print file; leave it off for a model already in metres. 4. Download — Click Download GLB. ## In depth ### Inside an STL STL, created for 3D Systems' first commercial printers in 1987, describes a surface as triangles and nothing else [1]. Binary STL has an 80-byte header, a 4-byte triangle count and 50 bytes per triangle (a normal, three corners, two attribute bytes); ASCII STL starts with the word solid [1]. It stores no units, colour or texture — scale is arbitrary, and colour only exists in non-standard variants [1]. ### Units: the part that goes wrong glTF defines every distance in metres [8]. A 40 mm figurine written straight into a GLB becomes a 40-metre statue in AR. Scaling by 0.001 on the way out fixes that. The option is pre-ticked when a model is 10 units or more across, which for a print file means millimetres; AI-generated STLs are often only 1–2 units wide and are left as they are. ### Why GLB for the web GLB is glTF 2.0 in one binary file, read natively by three.js, model-viewer, Babylon.js and the major game engines [4][8]. It adds what STL lacks — materials, a scene and real units — so it's the format to use once a print model needs to be seen rather than printed. References: [1] Wikipedia — STL (file format): https://en.wikipedia.org/wiki/STL_(file_format) [2] Wikipedia — Wavefront .obj file: https://en.wikipedia.org/wiki/Wavefront_.obj_file [3] Wikipedia — FBX: https://en.wikipedia.org/wiki/FBX [4] Khronos Group — glTF: https://www.khronos.org/gltf/ [5] 3MF Consortium — 3MF specification: https://3mf.io/specification/ [6] Wikipedia — Universal Scene Description (USD / USDZ): https://en.wikipedia.org/wiki/Universal_Scene_Description [7] Wikipedia — PLY (file format): https://en.wikipedia.org/wiki/PLY_(file_format) [8] Khronos Group — glTF 2.0 specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html [9] Apple — AR Quick Look: https://developer.apple.com/augmented-reality/quick-look/ [10] three.js — documentation: https://threejs.org/docs/ [11] Prusa Knowledge Base — Modeling with 3D printing in mind: https://help.prusa3d.com/article/modeling-with-3d-printing-in-mind_164135 [12] Prusa Blog — lithophanes and filament transparency: https://blog.prusa3d.com/lets-play-with-filament-transparency-how-to-make-amazing-lifelike-color-photos-with-just-a-simple-color-change_104338/ [13] Polymers (2024) 16(20):2862 — FFF parameters and translucency of PLA: https://doi.org/10.3390/polym16202862 [14] Wikipedia — Lithophane: https://en.wikipedia.org/wiki/Lithophane [15] W3C — CSS Values and Units Level 3 (absolute lengths): https://www.w3.org/TR/css-values-3/ [16] Adobe Substance 3D — OpenGL vs DirectX normal maps: https://experienceleague.adobe.com/en/docs/substance-3d/bakers/common-questions/what-is-the-difference-between-the-opengl-and-directx-normal-format [17] Blender Manual — Normal Map node: https://docs.blender.org/manual/en/latest/render/shader_nodes/displacement/normal_map.html [18] Wikipedia — Normal mapping: https://en.wikipedia.org/wiki/Normal_mapping [19] SIL Open Font License: https://openfontlicense.org/ [20] Paul Bourke — PLY: Polygon File Format: https://paulbourke.net/dataformats/ply/ ## FAQ Q: Is STL to GLB conversion free? A: Yes. It runs in your browser with no account and no watermark. Q: Is my STL uploaded? A: No — it's converted on your device. Q: Does it work with ASCII STL? A: Yes. Binary and ASCII STL both open and give the same GLB. Q: Why is my model 1,000 times too big in an AR viewer? A: STL has no units, but print files are almost always millimetres, and glTF reads numbers as metres. Tick “STL is in mm — write metres” so the GLB comes out at its real size. It's pre-ticked when the model is 10 units or more across. Q: Why is the GLB grey? A: STL stores only triangles — no colour or texture — so the GLB gets one neutral grey material. Paint or texture it in Blender, or generate a textured model with AI. Q: Will my model be the right way up? A: Yes. STL files stand on the Z axis by print convention; the converter turns the model so it stands on glTF's Y axis. Q: Is the GLB smaller than the STL? A: Usually smaller than ASCII STL and a little larger than binary STL, because the GLB also stores per-vertex normals. Our 2,304-triangle test was 115 KB as binary STL and 167 KB as GLB. Q: Can I convert GLB back to STL? A: Yes — use the GLB to STL converter, which can fit the model to a size in millimetres and turn it Z-up for slicers. Q: How do I convert STL to GLB in Blender? A: Import with File → Import → STL, then File → Export → glTF 2.0 and pick glTF Binary (.glb). Check the scale: Blender works in metres, so a millimetre STL may need scaling by 0.001. ## Related pages - STL Viewer: https://kenerateai.com/stl-viewer - GLB Viewer: https://kenerateai.com/glb-viewer - GLB to STL: https://kenerateai.com/glb-to-stl - STL to OBJ: https://kenerateai.com/stl-to-obj ## Sources - Wikipedia — STL (file format): https://en.wikipedia.org/wiki/STL_(file_format) - Wikipedia — Wavefront .obj file: https://en.wikipedia.org/wiki/Wavefront_.obj_file - Wikipedia — FBX: https://en.wikipedia.org/wiki/FBX - Khronos Group — glTF: https://www.khronos.org/gltf/ - 3MF Consortium — 3MF specification: https://3mf.io/specification/ - Wikipedia — Universal Scene Description (USD / USDZ): https://en.wikipedia.org/wiki/Universal_Scene_Description - Wikipedia — PLY (file format): https://en.wikipedia.org/wiki/PLY_(file_format) - Khronos Group — glTF 2.0 specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html - Apple — AR Quick Look: https://developer.apple.com/augmented-reality/quick-look/ - three.js — documentation: https://threejs.org/docs/ - Prusa Knowledge Base — Modeling with 3D printing in mind: https://help.prusa3d.com/article/modeling-with-3d-printing-in-mind_164135 - Prusa Blog — lithophanes and filament transparency: https://blog.prusa3d.com/lets-play-with-filament-transparency-how-to-make-amazing-lifelike-color-photos-with-just-a-simple-color-change_104338/ - Polymers (2024) 16(20):2862 — FFF parameters and translucency of PLA: https://doi.org/10.3390/polym16202862 - Wikipedia — Lithophane: https://en.wikipedia.org/wiki/Lithophane - W3C — CSS Values and Units Level 3 (absolute lengths): https://www.w3.org/TR/css-values-3/ - Adobe Substance 3D — OpenGL vs DirectX normal maps: https://experienceleague.adobe.com/en/docs/substance-3d/bakers/common-questions/what-is-the-difference-between-the-opengl-and-directx-normal-format - Blender Manual — Normal Map node: https://docs.blender.org/manual/en/latest/render/shader_nodes/displacement/normal_map.html - Wikipedia — Normal mapping: https://en.wikipedia.org/wiki/Normal_mapping - SIL Open Font License: https://openfontlicense.org/ - Paul Bourke — PLY: Polygon File Format: https://paulbourke.net/dataformats/ply/