Choose your texture budget
Up to 100 MB. External image or buffer resources are not loaded.Downscales only. Smaller textures lose detail; check labels, normal maps and reflections closely.JPEG only. PNG stays PNG, preserving transparency. Browser encoders determine the actual result.Every embedded PNG and JPEG is processed, including normal, roughness, metalness and occlusion maps. Check those data maps closely in the result.Your file, before and after
Choose a model, or try the generated sample to see the workflow.
A quick visual guide
GLB Compressor
01Input
Inspect embedded image sizes and reduce supported PNG/JPEG textures inside a self-contained GLB. Rebuild locally, compare actual bytes and download only if the result is smaller.
02Adjust
Choose a GLB up to 100 MB or try the synthetic sample. Select a maximum texture dimension and JPEG quality. Optimise, then reopen the result in its destination viewer.
03Check the result
Resizing and JPEG compression can change detail and shading. Mesh and animation buffer data are retained; there is no geometry simplification or Draco/Meshopt generation. Unsupported extensions are inspection-only and external resources are rejected. This is not a full glTF validator.
Open each step for the practical check. Diagram, not a generated result.
GLB compressor
Smaller textures. A measured result. Inspect what is inside your GLB, reduce supported embedded textures and compare the actual file size before downloading.
Your model stays in this browser. No signup, upload or hosted processing.
Updated 9 November 2026 by XO3D Labs
GLB texture compressor: what it changes and what it keeps
This GLB compressor shrinks the PNG and JPEG textures embedded in a self-contained GLB. It can lower the maximum texture edge and recompress JPEGs, then repacks the file in your browser. It does not simplify the mesh and does not add Draco or Meshopt compression.
Is texture compression the right step?
Texture compression helps when embedded images make up much of the file. Load the GLB first: the summary line shows how much of it is embedded image data before you change anything.
| Your file | What this tool can do | Next check |
|---|---|---|
| Large embedded PNG or JPEG textures | Lower the maximum texture edge and recompress JPEGs, then compare the actual file size. | Open the result and check labels, alpha edges and normal detail. |
| Mostly geometry | Little. Mesh data is kept as it is. | Keep the original and use a geometry workflow in your 3D software. This page does not create Draco or Meshopt data. |
| Textures already small or already recompressed | Possibly nothing. An image that does not get smaller is kept. | Keep the original if no download appears. |
| Uses an extension outside the supported set, such as Meshopt | Inspect only. No rewritten GLB is made. | Keep the original, or re-export without that extension if your destination allows it. |
| glTF with external textures or buffers | Refused. The tool reads self-contained GLB files only. | Pack the glTF into one GLB first, then try again. |
What takes up space in a GLB
A GLB holds a JSON description of the scene and one binary block. That block carries geometry, animation and, often, embedded images. When the images are large, they can make up most of the download. When the model is dense, geometry can. Compare the summary line with your web and AR size budget, or estimate a budget for AR.
After you load a file, the summary line shows its total size, the number of images and how many bytes they take, plus counts of meshes, materials and animations. Download size and GPU memory are different measurements: a compressed JPEG is decoded to full pixels on the device. Separate texture dimensions, memory and download size before you pick an edge limit. This page does not promise a loading time or a fixed percentage saving.
What the compressor accepts, changes and rejects
These limits come from the current version of the tool. Future versions may change them.
| Case | What happens |
|---|---|
| File size | Up to 100 MiB (104,857,600 bytes). The page and its messages call this 100 MB. |
| Container | GLB 2.0 with a JSON chunk (up to 4 MiB) and one binary chunk. Other chunk layouts are rejected. |
| External or data-URI resources | Rejected. Use a self-contained GLB with embedded images. |
| PNG and JPEG images | Resized to the edge limit you choose. PNG stays PNG, so transparency is kept; JPEG uses the quality you choose. Up to 256 images, each up to 33,554,432 pixels. |
| KTX2 and WebP images | Kept as they are. They are not re-encoded. |
| Image data shared with another resource | Kept as it is. |
| Supported extensions | Rewritten only when every extension in the file is in the supported set, which includes common KHR material extensions, KHR_texture_transform, KHR_mesh_quantization, KHR_draco_mesh_compression, KHR_lights_punctual, KHR_materials_variants, KHR_texture_basisu and EXT_texture_webp. |
| Meshopt and other extensions | Inspection only. No rewritten file is made. |
| Mesh and animation data | Kept. Buffer views are repacked around the new images. |
Every PNG and JPEG is processed, whatever its job in the material. That includes normal, roughness, metalness and occlusion maps, which hold data rather than colour. Check those maps closely after resizing, or keep the original if they matter.
When no download appears
No download is a result, not a broken tool. The message tells you which case you hit. This is an optimiser, not a converter or a repair tool.
| Message | What it means | What to do |
|---|---|---|
| No smaller file was produced | The rebuilt GLB was not smaller than the original. | Keep the original. A lower edge limit or JPEG quality may help, or texture compression may not be the right step. |
| Inspection only: unsupported optimisation extensions | The file uses an extension the tool will not rewrite. | Keep the original, or re-export without that extension if your destination allows it. |
| External and data-URI resources are not loaded | The textures or buffers live outside the GLB. | Use a self-contained GLB, or pack the glTF into one GLB first. |
| Unsupported or shared image data (for one image) | That image is KTX2, WebP or shared with another resource, so it is kept. | Nothing. The rest of the file can still be reduced. |
| No smaller image produced (for one image) | Recompressing that image made it larger, so it is kept. | Nothing, unless that image is the one you need smaller. |
Changing the edge limit or the JPEG quality, or loading another file, clears the previous download. Run Optimise and compare again to make a current one.
Check the output before you use it
- Keep the original file. The tool never overwrites it.
- Open the exact downloaded GLB, not a preview of the settings.
- Look at text and logos from the distance people will see them.
- Check transparent edges, such as labels and cut-outs.
- Compare surface response and normal detail with the original under the same light.
- Check animation, scale and behaviour on the devices that matter.
Inspect the exported GLB in the GLB Viewer, then in your own product viewer. The viewer is an inspection aid, not a conformance certificate. For a format check, use the glTF validator. The Khronos glTF 2.0 specification defines the container.
Guides for this tool
- Check a GLB before handing it to a web team
- Web and AR 3D file size benchmarks
- Separate texture dimensions, memory and download size
Frequently asked questions
Does this compress the mesh?
No. It changes embedded PNG and JPEG textures only. Mesh and animation buffer data are kept as they are. It does not simplify geometry or add Draco or Meshopt compression.
Does compressing a GLB reduce quality?
It can. Smaller textures lose detail, and JPEG recompression can change shading. Check labels, alpha edges, normal maps and reflections in the exported file before you use it.
What is the difference between compressing textures and compressing geometry?
Texture compression makes the embedded images smaller. Geometry compression encodes the mesh data, for example with Draco or Meshopt. This tool does the first only, so a geometry-heavy model may barely change.
Why did my download disappear?
Changing a setting or loading another file clears the previous result. Run Optimise and compare again to make a current download.
Is the file uploaded?
No. The page reads and rebuilds the GLB in your browser. Keep your original file; the tool never overwrites it.