Free glTF sample, test and dummy files
The Khronos standard for delivering 3D models to web and mobile applications, sometimes called the JPEG of 3D. Download valid glTF test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.
- Extension
- .gltf
- MIME type
- model/gltf+json
- Kind
- Text
- Category
- 3D Models
Create a glTF file of any size
Choose any size from 1,024 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.
glTF files by size
Every file below is a valid GL Transmission Format file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.
| File | Size | Contents | Download |
|---|---|---|---|
| 1 KB glTF samplesample-gltf-1kb.gltf | 1 KB1,024 bytes | Triangles: 2 | Download glTF |
| 5 KB glTF samplesample-gltf-5kb.gltf | 5 KB5,120 bytes | Triangles: 162 | Download glTF |
| 10 KB glTF samplesample-gltf-10kb.gltf | 10 KB10,240 bytes | Triangles: 338 | Download glTF |
| 25 KB glTF samplesample-gltf-25kb.gltf | 25 KB25,600 bytes | Triangles: 968 | Download glTF |
| 50 KB glTF samplesample-gltf-50kb.gltf | 50 KB51,200 bytes | Triangles: 2,048 | Download glTF |
| 100 KB glTF samplesample-gltf-100kb.gltf | 100 KB102,400 bytes | Triangles: 4,050 | Download glTF |
| 200 KB glTF samplesample-gltf-200kb.gltf | 200 KB204,800 bytes | Triangles: 8,192 | Download glTF |
| 500 KB glTF samplesample-gltf-500kb.gltf | 500 KB512,000 bytes | Triangles: 20,808 | Download glTF |
| 1 MB glTF samplesample-gltf-1mb.gltf | 1 MB1,048,576 bytes | Triangles: 43,218 | Download glTF |
| 2 MB glTF samplesample-gltf-2mb.gltf | 2 MB2,097,152 bytes | Triangles: 86,528 | Download glTF |
| 3 MB glTF samplesample-gltf-3mb.gltf | 3 MB3,145,728 bytes | Triangles: 130,050 | Download glTF |
| 5 MB glTF samplesample-gltf-5mb.gltf | 5 MB5,242,880 bytes | Triangles: 217,800 | Download glTF |
| 10 MB glTF samplesample-gltf-10mb.gltf | 10 MB10,485,760 bytes | Triangles: 436,178 | Download glTF |
| 15 MB glTF samplesample-gltf-15mb.gltf | 15 MB15,728,640 bytes | Triangles: 654,368 | Download glTF |
| 20 MB glTF samplesample-gltf-20mb.gltf | 20 MB20,971,520 bytes | Triangles: 871,200 | Download glTF |
| 25 MB glTF samplesample-gltf-25mb.gltf | 25 MB26,214,400 bytes | Triangles: 1,045,458 | Download glTF |
| 30 MB glTF samplesample-gltf-30mb.gltf | 30 MB31,457,280 bytes | Triangles: 1,045,458 | Download glTF |
| 50 MB glTF samplesample-gltf-50mb.gltf | 50 MB52,428,800 bytes | Triangles: 1,045,458 | Download glTF |
| 100 MB glTF samplesample-gltf-100mb.gltf | 100 MB104,857,600 bytes | Triangles: 1,045,458 | Download glTF |
What is a glTF file?
glTF is designed for loading 3D content quickly. A JSON document describes the scene, with its nodes, meshes, materials and animations, and points at binary buffers that hold vertex data in the layout a graphics card expects, so little processing is needed between download and display.
The data can be packaged in three ways: as a .gltf file beside separate .bin and image files, as a .gltf file with everything embedded as base64 data URIs, or as a single binary .glb file. Version 2.0 is also published as ISO/IEC 12113.
How to recognise a glTF file
glTF files have no file signature, the magic bytes that most binary formats begin with.
No signature bytes. glTF files are identified by parsing their content.
| Extension | .gltf |
|---|---|
| MIME type | model/gltf+json |
| Standard | Khronos glTF 2.0; ISO/IEC 12113:2022 |
| Structure | Scenes, nodes, meshes, accessors, buffer views and buffers |
| Conventions | Right-handed, +Y up, distances in metres |
| Binary form | .glb, with the media type model/gltf-binary |
What to test for
These are the behaviours that most often go wrong when software handles glTF files.
- A .gltf file often refers to separate .bin and texture files. Uploading the JSON alone gives a model with no geometry. The samples here embed their data, so one file is enough.
- glTF is Y-up and in metres, while STL and many CAD exports are Z-up and in millimetres. A converter that skips the adjustment yields a model lying on its side and a thousand times too large.
- A file can declare extensions it requires, such as Draco mesh compression. A loader without that extension has to refuse the file.
Strengths of glTF
- Loads quickly: buffers are already in the layout a graphics card uses.
- Carries materials, textures, animation and scene structure in an open standard.
Limitations of glTF
- A model may be spread over several files that must travel together.
- Not intended for editing; authoring tools keep their own formats.
Typical uses of glTF test files
- Testing 3D upload and web preview
- Checking loaders with embedded and external buffers
- Verifying axis and unit conversion from other formats
- Load-testing rendering with large meshes
Software that opens glTF
- three.js, Babylon.js and the <model-viewer> element
- Blender, with import and export built in
- Unity, Unreal Engine and Godot
- Windows 3D Viewer
- The Khronos glTF Validator
Specifications
Related
glTF sample files: questions
- Do the glTF samples need a separate .bin file?
- No. The vertex and index data are embedded in the JSON as a base64 data URI, so each sample is a single self-contained file.
- What does the sample model look like?
- A gently rolling surface, like a patch of terrain, built from indexed triangles. It carries vertex positions only: no normals, materials, textures or animation.
- What is the MIME type of a glTF file?
- The MIME type is model/gltf+json. The file extension is .gltf.
- Is a sample glTF file the same as a dummy or example glTF file?
- Yes. Sample, test, dummy and example glTF files are different names for the same thing: a glTF file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy glTF file.