EvonX

Free tool · Runs locally

GLB compressor: smaller files, same model.

Big GLB files load slowly and eat phone memory. Drop one here to resize its textures, re-encode opaque textures as JPEG, weld duplicate vertices and cut triangles. Orbit the result to check it, compare the numbers, then download.

  • Before/after stats
  • Keeps animations
  • No upload
  • Free

By the EvonX team · Updated · 2 min read

How do I reduce a GLB file's size?

Most of a GLB's weight is usually textures. Resize them to 1024 or 2048 pixels, store opaque ones as JPEG instead of PNG, weld duplicate vertices, and reduce triangles on dense meshes. The tool below does all four in your browser and shows the size before and after.

Compress your GLB

A sample character is loaded. Drop your own .glb, choose settings and press Optimize.

Loading the tool…

Where the megabytes go

Typical share of GLB file size
PartTypical shareBest fix
Textures60–90%Resize to the size players actually see; JPEG for opaque maps; KTX2 for GPU memory
Geometry10–35%Weld vertices, reduce triangles, quantise (meshopt) or Draco
Animations0–20%Fewer keyframes (resample to 30 fps), remove unused clips
Unused data0–10%Remove hidden meshes, extra UV sets, unused materials

Shares vary with the model; textures dominate on almost every asset-store or AI-generated model.

What each setting does

Max texture size shrinks any texture larger than the size you choose. A 4096-pixel texture holds sixteen times the pixels of a 1024-pixel one. On a phone screen a prop rarely covers more than a few hundred pixels, so 1024 is usually invisible as a change and a huge saving.

JPEG for opaque textures re-encodes colour, normal and roughness maps as JPEG, which is far smaller than PNG for photographic detail. Base-colour textures on materials that use transparency stay PNG so cut-outs like leaves and hair keep their alpha.

Weld vertices merges vertices that sit at the same spot with the same normal and UV. Exporters often duplicate them; welding shrinks the geometry and helps the next step. Rigged meshes are left alone to keep their skinning safe.

Reduce triangles collapses the least visible edges first. Try 25–50% on scanned or AI-generated models, which are often far denser than a game needs. Check silhouettes after: thin parts go first.

Size budgets that work for browser games

  • Hero character: under 2–3 MB, 2048px textures at most
  • Props and pickups: under 300 KB each, 512–1024px textures
  • Whole first scene: under 10–15 MB so it loads on mobile data
  • Under 50k triangles for characters, under 5k for small props
  • One material per object where you can: every material is a draw call

Frequently asked questions

Does compressing a GLB lose quality?

Texture resizing and JPEG are lossy, but at sensible settings the change is hard to see in a game. Welding is lossless. Simplification removes detail, so check the preview before downloading.

Will my animations survive?

Yes. Animation clips and skeletons are kept. Skinned meshes are not welded or simplified, to keep the skinning correct.

Does it use Draco or meshopt?

Not yet: it writes standard glTF that every loader opens without extra decoders. For maximum geometry compression, run the result through a Draco or meshopt step in your build pipeline.

Is my file uploaded anywhere?

No. The GLB is read, optimized and written by your own browser.

What about .gltf files with separate textures?

Pack them into a single .glb first (Blender can export GLB), then drop that here.

EvonX AI game maker

Got the asset? Now make the game.

Describe your game in one sentence and EvonX builds it: code, art, sound and a link you can share. Free to start, no download, plays on any phone.

Free to start · Earn money from your games
Try one