viya3d
:: Free tool ::

GLB compressor

Shrink a GLB for the web or a mobile game: Meshopt geometry compression, smaller WebP or JPEG textures, and optional simplification. Free, and the file never leaves your computer.

:: Drop a file ::

Drop a .glb or .gltf here

For a .gltf, drop its .bin and texture files with it. The file stays on your computer.

No model yet? Generate one free from text

How to compress a GLB

  1. 01

    Drop your GLB

    Drag a .glb onto the viewer. It opens as it is, so you have something to compare against.

  2. 02

    Pick the settings

    Meshopt shrinks the geometry, a 2048 px WebP limit usually shrinks textures the most, and the triangle slider simplifies the mesh.

  3. 03

    Compare and download

    Switch between Original and Compressed in the viewer to check nothing broke, then download the smaller file.

Questions about compression

How much smaller will my GLB get?

It depends on what makes it big. Textures are usually most of a GLB, so re-saving 4K PNGs as 2048 px WebP often cuts the file by more than half. Meshopt then shrinks the geometry. The tool shows the exact before and after sizes.

Will it work in my engine?

WebP textures and Meshopt compression are glTF extensions. three.js, Babylon.js and model-viewer read both; Unity glTFast reads Meshopt with its meshopt decompression package. If your engine doesn’t, turn Meshopt off and pick JPEG textures: the file then works everywhere.

Why no Draco?

Meshopt decodes faster than Draco and its decoder is small, and the files end up close in size, especially when served compressed (gzip or Brotli). Files that are already Draco-compressed can’t be opened here; use the original.

Does simplifying ruin the model?

Not at moderate amounts. The simplifier removes the triangles that change the shape least. Keep 50% or more for characters and check the result in the viewer before downloading.

Are animations kept?

Yes. Animations, skins and morph targets are kept; only unused data is removed.

Is my file uploaded?

No. glTF-Transform and the Meshopt encoder run inside your browser.