GLB Optimizer
Reduce a GLB or glTF file in your browser. Clean up unused data, simplify geometry, resize textures and compare the result before downloading. Local files and CC0 animation exports are free, with no sign-in. AI-generated models, automatic rigging and AI motions keep their existing free export allowance and plan requirements.
Start with one model, up to 100 MiB combined.
Strip what nothing references, weld and simplify the geometry, re-encode the textures, then pack the lot with Meshopt. You get a size figure after every step and a preview of the result before you commit to it.
84% smaller. Our sample character with 10 clips baked in.
For .gltf, select the model together with its referenced .bin and texture files. A texture image alone is not a model. Choose your settings, click Optimize, compare the preview and download the result. Keep the original until you have opened the export in its destination app.
File too large? Reduce texture dimensions or export a smaller scene in your source app, then try again. The glTF Transform CLI is a desktop alternative for files beyond this browser tool’s limit. It still needs enough memory to process the model.
Meshopt, quantize, and why there's no Draco here
Meshopt is the default. It uses EXT_meshopt_compression; the destination loader must support that extension and have its decoder configured. This tool’s Meshopt preset also quantizes geometry, reducing precision. Check the result in your actual engine or viewer.
Quantize stores geometry attributes at lower precision. It does not need a separate compression decoder, but it normally requires KHR_mesh_quantization. It is not an extension-free format or a promise that every importer will open it. See the glTF Transform quantization documentation.
None skips the final compression step. Cleanup, welding, simplification and texture changes still run if enabled. It does not guarantee removal of extensions already present in the source.
Draco input can be opened here, but this tool does not write Draco output. For that, use the CLI on your computer:
npx @gltf-transform/cli draco input.glb output.glbWhat each step actually does
Remove unused data prunes unreferenced resources and merges duplicates. The saving depends on what the exporter left in the file.
Weld vertices combines equivalent vertices into indexed geometry while respecting their attributes. UV seams and different normals may still need separate vertices.
Join meshes by material can reduce draw calls, but also flattens the hierarchy. It is off by default; leave it off when you need separately moving parts or a rig.
Simplify geometry targets the triangle percentage you choose. Reducing triangles can change silhouettes, surfaces and deformation. Compare the model at its intended viewing size.
Trim animation keyframes removes redundant keys. Play the exported clips to check movement and timing.
Textures can be resized or converted to WebP or JPEG. Inspect small details and transparency after conversion. WebP in glTF requires EXT_texture_webp support in the destination loader; browser image support alone is not enough. Choose Keep original format when you need to retain PNG or JPEG compatibility.
Download size is not the same as memory
A smaller download can still use substantial GPU memory. An uncompressed 2048×2048 RGBA8 texture uses about 16 MiB, or 21.3 MiB with a full mip chain. PNG, JPEG and WebP file sizes do not describe that decoded footprint.
Use the GLB viewer to inspect the model. If texture memory is the bottleneck, consider smaller dimensions or the KTX2 compressor, and check KTX2 support in your destination app.
Common questions
How do I compress a GLB file?
Select the model and its companion files, choose compression that your destination supports, then click Optimize. The defaults clean up data, weld vertices, trim animation keyframes and apply Meshopt; they leave mesh joining, simplification and texture resizing off. Compare the per-step sizes and preview before downloading.
How much smaller will my file get?
There is no fixed saving. Geometry compression helps different files than texture resizing does, and an already optimized model may barely shrink or even grow. Use the before/after sizes rather than a promised percentage.
Does optimizing damage the model?
Quantization, the Meshopt preset, simplification and texture conversion can change precision or appearance. Joining meshes changes structure. Check textures, animation and separately moving parts in the destination app, and retain the original.
Will Unity or Godot open the result?
It depends on the importer and its version. Check support for EXT_meshopt_compression, KHR_mesh_quantization and, if used, EXT_texture_webp. None avoids adding a new geometry compression step, but is not a universal compatibility or decompression switch.
Can it open a file that's already compressed?
Draco and Meshopt input are supported. Loading a compressed model does not guarantee that every extension or material will survive every optimization unchanged; compare the exported result.
Is my model uploaded?
The local optimization runs in a Web Worker in your browser; the model is not uploaded for this operation. Page assets and decoders may still need a network connection on first use.