SupaVoxel
Free web 3D tool

Free GLB Compressor Online

Drop a .glb and get a smaller one back: textures are re-encoded to WebP and can be capped at 2K, 1K or 512 px, and the mesh is quantized and packed with meshopt. You see the size before and after, and the file never leaves your device.

Drop your .glb here

Re-encode textures to WebP and pack the mesh with meshopt — same look, a fraction of the size.

Try a sample
STLOBJGLBGLTFFBX3MFPLYUSDZDAESTEP

Runs in your browser — your file never leaves your device

  • Runs in your browser
  • No sign-up
  • Before / after size
  • Never larger than the original

By ·Updated

01

How to compress a GLB file

  1. 01

    Drop the model

    Drag a .glb onto the tool above, up to 200 MB. Other formats work too: OBJ, FBX, glTF, STL, 3MF, PLY, USDZ, DAE and STEP are converted to GLB first. The panel shows file size, triangles and texture count. Try a sample loads a textured model.
  2. 02

    Pick a texture size

    Max texture size caps the longest edge of every texture: Keep, 2K (the default), 1K or 512. Textures already smaller than the limit are left at their size. The option is greyed out when the model has no textures.
  3. 03

    Compress and download

    Click Compress GLB. You get the file size before → after with the percentage saved and the time it took, plus an Original / Result toggle on the stage to compare. Download the result; its name ends in -compressed.glb.
02

What the GLB compressor does

Two separate savings: the images, which are usually the bulk of a GLB, and the geometry.

WebP textures

PNG and JPEG textures are re-encoded as WebP at high quality (0.91). A texture is only swapped if the WebP is actually smaller.

Texture downscaling

Going from 4K to 2K cuts the pixels per texture by 4×; 1K cuts them by 16×. On a phone screen a 2K texture is rarely distinguishable from 4K.

Quantized vertices

Positions, normals and UVs are stored as compact integers instead of 32-bit floats (KHR_mesh_quantization).

Meshopt packing

Vertex and index data are reordered for the GPU cache and compressed with EXT_meshopt_compression, which decodes very quickly in the browser.

Never bigger than your original

If the compressed file isn't smaller than your original GLB, you get the original back, with a note saying so.

Private

Everything runs in your tab with gltf-transform and meshoptimizer compiled to WebAssembly. No upload.
03

Compress GLB: pick a texture size

The texture limit is the one setting that decides most of the saving. Choose by where the model will be shown.

Keep

Best for
Hero product shots, close-up inspection
Trade-off
Smallest saving: WebP re-encoding and geometry packing only

2K (default)

Best for
Web product viewers, AR, most game props
Trade-off
Barely visible loss on screens; large saving on 4K or 8K sources

1K

Best for
Thumbnails, catalog grids, mobile-first pages, background props
Trade-off
Soft up close; very small files

512

Best for
Tiny previews, distant objects, low-end mobile
Trade-off
Visible blur on anything larger than an icon
SettingBest forTrade-off
KeepHero product shots, close-up inspectionSmallest saving: WebP re-encoding and geometry packing only
2K (default)Web product viewers, AR, most game propsBarely visible loss on screens; large saving on 4K or 8K sources
1KThumbnails, catalog grids, mobile-first pages, background propsSoft up close; very small files
512Tiny previews, distant objects, low-end mobileVisible blur on anything larger than an icon

The GLB compressor reduces bytes, not polygons. If the triangle count is the problem, reduce it first with the mesh simplifier, then compress the result.

04

Where files from the GLB compressor work

The output uses three standard glTF extensions: EXT_meshopt_compression, KHR_mesh_quantization and EXT_texture_webp. three.js (with the meshopt decoder registered on GLTFLoader), Babylon.js and Google's model-viewer all read them, which covers most product viewers, configurators and WebXR pages. All of our own tools, including the glTF viewer, open these files as well.

Not every app reads every extension. Some desktop 3D apps, older game engine importers and a few marketplaces may not decode meshopt or WebP. The rule is simple: keep your original GLB for editing, and ship the compressed copy. If a target app shows an empty or untextured model, it lacks one of these extensions, so give it the original.

This compressor uses meshopt, not Draco. Both shrink geometry well; meshopt decodes faster on the viewer's device, which is why the GLB compressor uses it.

05

GLB compressor tips for the smallest file

Do
  • Start with 2K; drop to 1K only if the file is still too big for your page budget
  • Reduce triangles first with the mesh simplifier for dense scans and AI models
  • Compare Original and Result up close before you ship
  • Test the compressed file in your actual target (your site, your engine) once
Avoid
  • Overwrite your source file; keep it for editing
  • Expect a geometry-only model to shrink as much as a textured one; images are where the bytes are
  • Use 512 for a product people will zoom into
  • Send a compressed GLB to an app that hasn't been tested with meshopt
FAQ

Frequently asked questions

Is this GLB compressor free?

Yes, with no sign-up, no watermark and no limit on files. The compression runs on your own computer in the browser, so there's nothing to pay for. Each file can be up to 200 MB, which covers almost every web or AR asset.

How much smaller will my GLB get?

It depends on what the file is made of. Textures are usually most of a GLB's size, so a model with 4K PNG textures shrinks dramatically at 2K or 1K, while a geometry-only file gets a smaller saving from quantization and meshopt. The tool shows the exact before and after size and the percentage for your file.

Will the GLB compressor change how my model looks?

With Keep or 2K, the difference is very hard to see on screen. Quantization rounds vertex positions to a fine grid that's invisible at normal viewing distances. Lower texture sizes soften detail, which you can check with the Original and Result toggle before downloading.

Is my GLB uploaded?

No. The file is read, compressed and written by JavaScript and WebAssembly running in the page. Nothing is sent to a server, so unreleased products and client assets stay on your device.

Does it use Draco compression?

No, it uses meshopt with quantized vertices, plus WebP for textures. Meshopt files decode quickly and are supported by three.js, Babylon.js and model-viewer. If you specifically need Draco, use a tool like gltf-transform on the command line; our viewers open both kinds.

Can I compress GLB files that came from other formats?

Yes. Drop an OBJ, FBX, glTF, STL, 3MF, PLY, USDZ, DAE or STEP file and it is converted to GLB in the browser first, then compressed. The download is always a .glb. For conversion with more options, such as units and texture handling, use the dedicated converters.

Why did I get the original file back?

The compressor never returns a file larger than the one you dropped. If your GLB was already compressed, or is mostly data that can't be packed further, the result wouldn't be smaller, so you get the original with a note. Try a lower texture size if the model has textures.

Sources

  1. 1.
    GLB compressor guide — glbpolyreducer.online
    “A glb compressor is not a single operation. Geometry reduction, texture resizing and mesh encoding target different parts of a file.”
Start free

Compress your GLB now

Drop a model into the GLB compressor above and see exactly how many megabytes you save, without uploading it.

Free · runs in your browser · no sign-up