SupaVoxel
JSON to binary glTF

glTF to GLB Converter

Drop a .gltf with its .bin and texture files, or the whole folder as one .zip, and download a single GLB with the same meshes, materials, textures and animation. Everything is packed on your device.

GLTF → GLB converter
100% in-browser
GLTFGLB

Drop your GLTF file to convert it

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

Try a sample

Textures, .mtl or .bin next to your .gltf? Select them together with it, or drop one .zip.

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

  • .gltf + .bin + textures
  • Or one .zip
  • Animations kept
  • No upload

By ·Updated

01

How to convert glTF to GLB

  1. 01

    Add the .gltf and its files

    Select the .gltf, its .bin and the texture images together in the file picker, drag them in at once, or drop one .zip of the folder. An embedded .gltf works alone. The panel lists the side files it read, plus triangles, textures and animation clips.
  2. 02

    Decide on textures

    Keep textures is on by default. Turn it off for a geometry-and-color GLB that's a fraction of the size, handy for blocking out a scene or a collision mesh.
  3. 03

    Convert

    Press Convert to GLB. The result shows the size before and after, and downloads automatically. Open it in the glTF viewer or drop it into three.js, Babylon.js, Godot or Unity.
02

Packing a glTF folder into one GLB

The most common reason to run this conversion is a glTF folder: a .gltf, a scene.bin and a textures subfolder that break the moment one file goes missing. A GLB holds all of it in one file, which is why marketplaces, <model-viewer> and most engines prefer it.

Give the converter every file the .gltf uses. The easiest way is to zip the folder and drop the .zip; subfolders inside it are fine, and __MACOSX clutter is ignored. Files are matched by name, so absolute paths an exporter baked into the JSON don't matter. Dragging the folder itself isn't supported. A missing .bin stops the conversion with a message naming the file; missing textures don't, but the panel lists them so you don't ship a blank GLB by accident. If you prefer the command line, Khronos's gltf-pipeline -i model.gltf -o model.glb does the same job.

03

Embedded glTF vs GLB

Structure

Embedded .gltf
JSON text, binary data as base64
GLB
12-byte header, JSON chunk, binary chunk

Size for the same model

Embedded .gltf
About 33% overhead on the binary data
GLB
Raw bytes, no overhead

Human-readable

Embedded .gltf
Yes
GLB
No, needs a tool

Parse speed

Embedded .gltf
Slower, base64 must be decoded
GLB
Faster, data is used directly

Typical use

Embedded .gltf
Inspecting, hand edits, debugging
GLB
Shipping to web, AR, engines, marketplaces
Embedded .gltfGLB
StructureJSON text, binary data as base6412-byte header, JSON chunk, binary chunk
Size for the same modelAbout 33% overhead on the binary dataRaw bytes, no overhead
Human-readableYesNo, needs a tool
Parse speedSlower, base64 must be decodedFaster, data is used directly
Typical useInspecting, hand edits, debuggingShipping to web, AR, engines, marketplaces

Need the readable version back later? GLB to glTF unpacks it again, as one file or a folder.

04

What the glTF to GLB converter keeps

Both are glTF 2.0, so almost everything maps one to one.

Meshes, nodes, hierarchy
Kept
PBR materials and textures
Kept, images re-encoded in their original type
Animation clips and skins
Kept
Vertex colors, UVs, normals
Kept
Units and axis
Unchanged: meters, Y-up
Draco or meshopt compression
Decoded; the GLB is written uncompressed
Extensions three.js can't export
Dropped, such as material variants
05

Tips for a smaller, cleaner GLB

Do
  • Run the GLB through the GLB compressor before putting it on a website
  • Cut dense meshes with the mesh simplifier if the GLB is for mobile
  • Check the before and after size the converter reports
  • Keep textures at 2048 px or below for web; 4K maps dominate file size
Avoid
  • Expect a Draco-compressed glTF to get smaller; it is decompressed on the way
  • Drag the folder itself onto the converter; select the files inside it or zip it first
  • Edit the GLB by hand; convert to glTF first if you need to change the JSON
  • Turn off textures for a final asset unless you mean to
FAQ

Frequently asked questions

How do I convert glTF to GLB for free?

Zip the glTF folder and drop the .zip on the converter, or select the .gltf, .bin and textures together, then press Convert to GLB. There's no sign-up and no limit, and the packing happens in your browser, so nothing is uploaded. Each model file or .zip can be up to 200 MB.

Is GLB smaller than glTF?

Compared with an embedded glTF, yes, usually by about a quarter, because the binary data no longer has to be written as base64 text. Compared with a glTF plus separate .bin and image files, the total is about the same; the gain is that it's one file. For a real size cut, compress the GLB afterwards.

Does glTF to GLB lose quality?

No. Both are the same glTF 2.0 format in different packaging. Geometry, materials and animation are copied over; texture images are re-encoded in the same format, which doesn't visibly change them. The only things that can drop out are uncommon extensions the exporter doesn't write.

Are animations kept?

Yes. All animation clips, skins and the node hierarchy go into the GLB. The What carries over list under the converter shows how many clips were found, and you can play them in the glTF viewer to check before using the file elsewhere.

Why did my GLB get bigger than the glTF?

The source was compressed with Draco or meshopt. The converter decodes compressed geometry when it opens the file and writes plain buffers to the GLB. Run the result through the GLB compressor to bring the size back down, often below where it started.

What's the difference between glTF and GLB?

glTF is the JSON form of the format: readable text that either embeds binary data or links to outside files. GLB is the binary container that puts the JSON and all the data into one file. GLB is the better choice for delivery, glTF for inspecting and editing. The GLB vs glTF guide goes deeper.
Start free

Get a GLB without modeling

Turn one image into a 3D model in the studio. Untextured models usually finish in under a minute, the GLB download is free, and new accounts get 3 credits.

No credit card required · 3 free credits to start