How to compress a GLB file
- 1
Add your model
Drop a GLB, a glTF (with its .bin and textures), an OBJ or an FBX. It opens in the 3D viewer and never leaves your browser.
- 2
Pick a preset
Light keeps the geometry as it is, Balanced adds Draco and WebP, Max also halves the triangles. Open Advanced to set each option yourself.
- 3
Compare and download
See the size, triangles and textures before and after, flip between Original and Compressed in 3D, then download the GLB.
What each option does
- Texture size
- Scales every texture down so its longest side is at most 4096, 2048, 1024 or 512 pixels. Textures already smaller are not enlarged. A 4096 texture holds four times the pixels of a 2048 one, so this is often the biggest saving.
- Texture format
- WebP gives the smallest images and keeps transparency, but the app that opens the GLB must support WebP textures (EXT_texture_webp). JPEG works everywhere; textures with transparency stay PNG. "Keep" re-saves each texture in its own format. A texture is only replaced when the new image is smaller or lower resolution.
- Quality
- The WebP / JPEG quality. 85 is hard to tell apart from the original on most textures; lower values save more and start to show blocky artifacts.
- Geometry compression
- Draco (KHR_draco_mesh_compression) and meshopt (EXT_meshopt_compression) store vertices and triangles in far fewer bytes. The viewer has to decode them, so pick None when the target app does not support them.
- Quantize vertices
- With no geometry compression, stores positions, normals and UVs as smaller integers (KHR_mesh_quantization). Smaller and still lossless to the eye; Draco and meshopt already include it.
- Reduce triangles
- Simplifies the mesh with meshoptimizer to a share of its triangles, keeping UV seams and the overall shape. It stops early where cutting more would visibly change the model.
- Remove animations
- Drops animation clips. Useful for a static product model whose file carries animation data you do not need.
GLB compressor in the browser or on the command line?
This page runs glTF Transform and meshoptimizer, the same open-source libraries behind the gltf-transform and gltfpack command-line tools. Use it when you want to compress a few models without installing anything and check the result in 3D before you download. For batch jobs, build pipelines or KTX2 / Basis textures (which this page does not make), those command-line tools are the better choice.
Frequently Asked Questions
Related free 3D tools
- Reduce STL file sizeCut the triangles of an STL for 3D printing.
- glTF to GLBPack a .gltf with its .bin and textures into one GLB.
- FBX to GLBConvert FBX models, with textures and animation.
- OBJ to GLBConvert OBJ + MTL with textures.
- GLB to USDZFor AR Quick Look on iPhone and iPad.
- glTF viewerOpen and inspect GLB and glTF files.
- 3D model color changerRecolor a model's materials and textures.
- AI 3D texturingPaint a new texture on any model with AI.