Reduce upto ~90% of file size

Your dependable tool for compressing GLTF and GLB models quickly and effectively.
Improve fps by optimizing your model.

This will redirect you to google signin.

By signing up, you agree to our Terms of Service.

50,000+ compressions and counting

Loading time

Compressing your GLTF and GLB models can significantly reduce loading times, making your applications faster and more responsive.

Improve fps

Optimized models lead to better performance in 3D scenes, resulting in higher frames per second (FPS) and a smoother user experience.

Wide support

Gltf has wide support, which makes it not only good for web but also for game engines.

Load anywhere

Whether you are using Unity, Unreal Engine, and other 3D engines, our compressed models are compatible.

Support

Please retry uploading at least once if you see an error.

For the fastest resolution, please use the feedback button if you have any questions or issues not covered in the FAQ.

Alternatively, you can contact me at support@optimizeglb.com or send a message to @antonyadhiban on x.com (formerly Twitter).

(I haven't optimized the code so the servers might be busy)

Why Choose OptimizeGLB?
Updated

  • Effective Compression Significantly decrease your file sizes, without losing quality and structure of the models.
  • Quick Process Our tool is optimized for speed, getting your models ready in no time. (Paid version soon will provide instant conversions)
  • Zero CostOptimizeGLB is free to use.OptimizeGLB is free to use for upto 10 conversions and requires an account.
  • Built on a Strong Foundation Thanks to @donrmccurdy for creating gltf-transform, the conversion is well maintained and constantly up-to-date.

Enhance Your 3D Workflow

OptimizeGLB is the practical choice for developers, designers, and 3D artists looking to manage file size constraints efficiently. Our tool is here to support your projects in gaming, AR/VR, and beyond, facilitating quicker load times and smoother rendering.

Integrate our API
Beta

The API is currently in beta. Available in our business plan.

Changelog

Stay updated with our latest changes and improvements.

Oct 15, 2024
New

Bulk upload and download

You can now upload multiple files at once. Either a folder or a group of files.

Oct 13, 2024

New Milestone. 10 paid customers.

Thanks to my first 10 customers. The tool will be improved based on the feedback you provide.

FAQ

Some of our most frequently asked questions.

If you have any questions that are not listed here, please use the feedback button for the fastest resolution.
Alternatively, you can reach out to me at support@optimizeglb.com or dm on X (@antonyadhiban).

Documentation

API documentation for OptimizeGLB

How to use the API ?
Updated

Anyone using the old API should update to the new one. The old key will not work anymore.

POST /api/compress

Headers

Authorization: Bearer `YOUR_API_KEY_HERE`
Content-Type: application/json
Request Body
name, fileUrl, textureFormat, textureSize, and advanced options

textureFormat options: webp | jpeg | png | avif

default option is webp

textureSize options: 512 | 1024 | 2048 | 4096

default option is 2048

Advanced Options

dedup: boolean (Remove duplicate vertices)

prune: boolean (Remove unused vertices)

draco: boolean (Apply Draco compression)

simplify: boolean (Simplify geometry)

simplifyRatio: number (0-1, only if simplify is true)

instance: boolean (Instance duplicate meshes)

New

flatten: boolean (Flatten node hierarchy)

New

join: boolean (Join compatible meshes)

New

weld: boolean (Weld vertices)

New

Response
A binary stream of the compressed GLTF file or an error message

Example code

                
  const options = {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      Authorization: 'Bearer <YOUR_API_KEY_HERE>'
    },
    body: JSON.stringify({
      name: "<YOUR_NAME>",
      fileUrl: "<YOUR_FILE_URL_HERE>",
      textureFormat: "webp",
      textureSize: "2048",
      dedup: true,
      prune: true,
      draco: false,
      simplify: true,
      simplifyRatio: 0.5
    })
  };

  fetch('https://optimizeglb.com/api/compress', options)
    .then(response => response.json())
    .then(response => console.log(response))
    .catch(err => console.error(err));
                  
If you face any issue feel free to reach out to me at support@optimizeglb.com