GLB Vertex Compression

Simplify meshes and encode with Meshopt or Draco, smaller GLB for web and engines.

Loading...

Please wait

About This Tool

Compress GLB geometry only, textures stay untouched. Mesh simplification reduces face count; Meshopt (default, recommended) or Draco further shrinks geometry buffers. They are mutually exclusive. Output is an optimized GLB. Everything runs locally in your browser.

Tips

  • 1Use Meshopt for fast runtime decode; pick Draco for maximum size reduction
  • 2Do not enable Meshopt and Draco together
  • 3Screen the result in preview and tune the simplification before downloading

About Configuration Options

Vertex / Geometry

Mesh Simplification

Default50%

Range0% – 100% · step 5%

Reduces the number of faces and vertices using mesh simplification. Default medium strength; increasing strength shrinks file size further but may lose surface detail. Only affects geometric density, not the container format.

Meshopt Compression

DefaultOn

Applies EXT_meshopt_compression to glTF/GLB, compressing geometry buffers without changing face count. Enabled by default for runtime-friendly loading. Mutually exclusive with Draco. Not used for non-glTF outputs like STL, OBJ, or FBX.

OnRecommended

Default. Enables Meshopt container compression.

Off

Do not write Meshopt extension.

Meshopt Level

DefaultHigh

Controls Meshopt encoding strategy. Default 'High' generally yields smaller size and enables attribute filters, suitable for most web scenarios. 'Medium' applies more uniform quantization across attributes, which may be preferred by conservative toolchains.

HighRecommended

Default. More aggressive compression with filters, usually smaller.

Medium

More uniform quantization; compression ratio is usually slightly lower.

Draco Compression

DefaultOff

Applies KHR_draco_mesh_compression to glTF/GLB. Often yields smaller files than Meshopt but with higher decoding overhead. Disabled by default; mutually exclusive with Meshopt. Not used for non-glTF outputs.

OffRecommended

Default. Do not write Draco extension.

On

Enable Draco (disables Meshopt).

Compression Strength

Default6

Range1 – 10

Draco encode/decode speed trade-off, range 1, 10. Higher values favor smaller size at the cost of encode speed. Default 6 is suitable for most models.

Encoding Method

DefaultEdgebreaker

Draco topology encoding method. Default Edgebreaker typically gives better compression for triangle meshes. Sequential can be more suitable for ordered strips or point sequences.

EdgebreakerRecommended

Default. Best for common triangle meshes.

Sequential

Suitable for ordered strips and special topologies.

Quantization bits (advanced)

Shown under Advanced settings in the UI. Vertex attribute precision when Meshopt or Draco writes glTF. Defaults: position 14, normal 10, UV 12. Lower bits shrink files more but raise crack, shading, or UV artifact risk.

Position Bits

Default14

Range8 – 16

Quantization bits for POSITION attribute (8, 16). Default 14 balances file size and cracking risk. Too low may cause gaps or jitter.

Normal Bits

Default10

Range8 – 16

Quantization bits for NORMAL attribute (8, 16). Default 10. Too low may cause shading artifacts.

UV Bits

Default12

Range8 – 16

Quantization bits for TEXCOORD attribute (8, 16). Default 12. Too low may cause texture crawling or jitter.

Format Information

Input format

Extension:
glb
Full Name:
GL Transmission Format Binary (glTF 2.0)
Type:
3D Model
Format:
GLB
Description:
GLB is the binary glTF 2.0 format from Khronos Group, packing meshes, materials, textures, and animations into one file. It is the standard for Web 3D and AR/VR, used by Three.js, Babylon.js, model-viewer, and e-commerce previews for self-contained, reliable distribution. GLB supports PBR materials, skeletal animations, Draco and Meshopt compression, suitable for web, AR, and cross-software use. However, it loses CAD parametric history when tessellated from STEP or native CAD. For 3D printing, use STL or 3MF as slicers cannot import GLB.

Notes:

  • Some 3D printing slicers cannot directly import GLB files
  • Not suitable for CAD parametric editing

Supported Features:

  • Single self-contained binary file
  • PBR material support (base color, metallic, roughness, normal maps)
  • Skeletal animation, skinning, and morph targets
  • Draco mesh compression and KTX2 texture compression
  • Multi-mesh nodes and scene hierarchy

Output format

Extension:
glb
Full Name:
GL Transmission Format Binary (Compressed)
Type:
3D Model
Format:
Binary (glTF 2.0) with Draco/Texture Compression
Description:
The compressed GLB output uses Draco geometry compression and/or texture optimization to significantly reduce file size while maintaining visual quality.

Notes:

  • Draco-encoded models require a Draco decoder to render
  • File size can be reduced by 50-90% depending on settings

Supported Features:

  • Draco geometry compression (up to 90% reduction)
  • WebP/JPEG texture format conversion
  • Mesh simplification with configurable strength
  • Original PBR materials and scene hierarchy preserved

How to Use

1

Upload Model

Drag a GLB file onto the upload area

2

Configure Settings

Set simplification; enable Meshopt or Draco (not both)

3

Compress & Download

Preview, then download the optimized GLB

Frequently Asked Questions

View all FAQs
Q

Will animations survive compression?

A

Yes, animation data is preserved: only the geometry buffers are re-encoded. Be aware that very aggressive simplification can deform skinned meshes, so check the preview on animated poses before downloading.

Q

Should I choose Meshopt or Draco?

A

Meshopt is the default: it decodes fast on web and mobile, and Three.js supports it well. Draco can produce smaller files, but usually costs more decode time. The two options are mutually exclusive, so enable only one.

Q

Will the downloaded file still be a single GLB?

A

Yes, the result is an optimized single-file GLB with the same name and structure, so existing loaders and pipelines keep working. GLTF input is accepted as well and is also exported as GLB.

Q

Can I use GLTF as an input?

A

Yes. There is also a dedicated GLTF vertex compression page; both accept GLTF and produce an optimized GLB. Upload the .gltf together with its .bin and texture files so nothing is missing.

Q

How much can the file size be reduced?

A

Reductions of 50-90% are typical, depending on mesh complexity and settings. Dense models with high polygon counts benefit most from Draco or Meshopt, and simplification adds extra savings by removing faces first.

Q

Can I preview the result before downloading?

A

Yes. The real-time preview shows the simplified mesh, so you can compare detail loss and animation behavior. Adjust the strength until the silhouette and motion look right, then download.

Support Us