PROPSMITH

What is a GLB file? GLB vs glTF vs FBX vs OBJ vs STL

Published

In short

A GLB file is a 3D model in the open glTF 2.0 format, packed into a single binary file: meshes, materials, textures, skeleton, animation and the scene hierarchy together, measured in metres with Y as up. For games, use GLB (or FBX in Unity), for 3D printing use STL, and keep OBJ for static meshes.

What a GLB file is

GLB is the binary form of glTF 2.0, an open 3D format from the Khronos Group (the body behind OpenGL and Vulkan). A .glb file starts with a 12-byte header whose first four bytes spell glTF, followed by a JSON chunk that describes the scene and a binary chunk that holds the vertex data and images. Everything a model needs travels in that one file.

The glTF specification fixes three things that other formats leave open:

  • Units: “The units for all linear distances are meters.” A 1 m barrel is 1.0 units tall in every GLB.
  • Axes: +Y is up and the front of the asset faces +Z.
  • Materials: one physically based model (metallic-roughness), with base colour, metallic, roughness, normal, occlusion and emissive inputs. Images are PNG or JPEG.

That’s a big part of why GLB is so widely used by game engines and on the web: a file made in one tool comes in at the right size and the right way up in another.

Propsmith, an AI 3D prop generator for games, exports GLB alongside STL and a Roblox file, and every prop in the public prop library downloads as a GLB. Each part is a separate, named mesh (the treasure chest’s lid, iron bands and heap of coins are separate parts, and the lid hangs from its own hinge pivot), materials are flat colours with roughness and metalness rather than image textures, and the model is at real size in metres. Animated models also have an animated GLB download.

GLB vs glTF

They’re the same format in two packages. A .gltf file is human-readable JSON that points to a separate .bin file for geometry and to image files for textures (or embeds them as base64 text, which makes the file about a third bigger). A .glb puts the same JSON, binary data and images into one binary file.

Pick .glb to move a model between tools or upload it anywhere: there’s nothing to lose on the way. Pick .gltf only when you want to read or hand-edit the JSON, or swap a texture without re-exporting.

GLB vs glTF vs FBX vs OBJ vs STL

GLBglTFFBXOBJSTL
OwnerKhronos (open)Khronos (open)Autodesk (proprietary, free SDK)Wavefront (documented plain text)3D Systems (1988)
Binary or textBinaryJSON text + .bin + imagesBinary or ASCIITextBinary or ASCII
GeometryYesYesYesYesTriangles and normals only
MaterialsPBR metallic-roughnessPBR metallic-roughnessYesBasic, in a separate .mtl fileNo
TexturesEmbeddedSeparate files or embeddedEmbedded or referencedReferenced by the .mtlNo (no standard colour either)
Skeleton and skinningYesYesYesNoNo
AnimationYesYesYes, several takesNoNo
Scene hierarchyYesYesYesNamed groups onlyNo
Units and up axisMetres, Y upMetres, Y upStored per fileNoneNone (slicers assume mm)
Mostly used forGame engines, web, asset storesSame, when you want to edit files by handMaya, 3ds Max, Unity and Unreal pipelinesStatic meshes between any two tools3D printing

FBX is the closest rival to GLB: it carries the same kinds of data, but it’s owned by Autodesk, its format is read through Autodesk’s free C++ SDK (version 2020.3.11 as of November 2026), and each file records its own up axis and unit scale. That flexibility is where most “my model came in 100 times too big” problems start. OBJ is simple and universal but has no rig, no animation and no parent-child structure. STL is the opposite of GLB: just a surface of triangles, with no colour, no units and no parts, which is exactly what a slicer needs and nothing more.

Which tools open which format

Checked against each tool’s documentation or source in November 2026.

ToolGLB / glTFFBXOBJSTL
Roblox StudioYes (3D Importer)YesYesNo
Godot 4.7Yes, the recommended formatYes (ufbx, since 4.3)Mesh only: no pivots, skeletons or animationNo
Unity 6With the glTFast packageYes, the format Unity recommendsYesNo
Unreal Engine 5.8Yes (.gltf and .glb)YesStatic meshes onlyConvert to GLB or FBX first
Blender 5.2YesYesYes, without rigs or parentingYes
PrusaSlicer 2.9NoNoYesYes
Bambu Studio 2.8YesYesYesYes
Cura 5.13Yes, but see belowNoYesYes

How to open or convert each format

  • Look inside a GLB: Blender, File › Import › glTF 2.0 (.glb/.gltf). The add-on is on by default and brings in meshes, materials, cameras, lights and animation. Step by step: how to open and edit a GLB in Blender.
  • Use a GLB in an engine: see the guides for Godot, Unity, Unreal Engine and Roblox Studio.
  • GLB to FBX: import the GLB in Blender, then File › Export › FBX. Do this if your Unity project can’t use glTFast or a studio pipeline expects FBX.
  • GLB to OBJ: import in Blender, then File › Export › Wavefront (.obj). You keep geometry and basic materials and lose the rig, the animation and the hierarchy.
  • GLB to STL: import in Blender, then File › Export › STL with Scale set to 1000, so metres become the millimetres a slicer expects. Library models also download as STL directly, already in millimetres; the 3D printing guide covers scale, repairs and supports.

Which format to pick

You’re makingUseWhy
A Godot, Unreal or web gameGLBImported directly, at the right size, with materials and parts intact
A Unity gameGLB with glTFast, or FBXUnity reads FBX natively; glTFast adds GLB
A Roblox gamePropsmith’s Roblox file (a GLB)One merged mesh in chunks under 19,000 triangles, colours in a small palette texture, animation on bones
A 3D printSTLEvery slicer reads it; nothing to strip out
A quick hand-off between two modelling toolsGLB, or OBJ for a static meshOBJ is fine when there’s nothing to animate

Common problems and fixes

  • The model is tiny or huge. It’s a unit mismatch. GLB is always metres; FBX depends on the file; OBJ and STL have no units, so the importer guesses. In Roblox, set Scale Unit to Meter for a GLB.
  • It’s lying on its back. An up-axis mismatch: glTF uses Y up, Blender and slicers use Z up. Blender’s importers convert; an STL carries no axis information, so rotate it 90° in the slicer if it comes in on its side.
  • Textures are missing. A .gltf was moved without its .bin or image files. Re-export as .glb.
  • The animation disappeared. It was converted to OBJ or STL, which can’t hold animation. Go back to the GLB or FBX.
Free props from the public prop library: download each as GLB, STL or a Roblox file, free with an account.

Browse more in the public prop library, starting with furniture or medieval props, or read how many triangles game props really need.

Questions people ask

What program opens a GLB file?

Blender opens GLB with its built-in glTF importer (File › Import › glTF 2.0). Godot, Roblox Studio and Unreal Engine import it directly; Unity needs the free glTFast package (checked November 2026).

Is GLB better than FBX?

For most game props, GLB is the simpler choice: it’s an open standard with fixed units (metres) and a fixed up axis, so it imports the same way everywhere. FBX is still the format Unity’s docs recommend exporting to, and it’s the long-standing standard in Maya and 3ds Max pipelines.

What is the difference between GLB and glTF?

They’re the same glTF 2.0 format. A .gltf file is JSON text that points to separate .bin and image files (or embeds them as text); a .glb packs the JSON, the binary data and the images into one file.

Can I 3D print a GLB file?

Bambu Studio and Cura can open GLB, but STL is the safer route: download the STL, or convert the GLB in Blender. See our guide to 3D printing game props for scale and supports.

Does a GLB file support animation?

Yes. glTF animations move, rotate and scale nodes, and drive skinned meshes through a skeleton and morph-target weights. OBJ and STL can’t store animation at all.

Sources

Checked 1 November 2026.