5 MB glTF sample
A glTF file of exactly 5,242,880 bytes. It is a valid GL Transmission Format file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 5 MB sample, test or dummy glTF file.
Download
sample-gltf-5mb.gltf
5 MB5,242,880 bytes
Download 5 MB glTFCreated in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.
- Type
- model/gltf+json
- SHA-256
160741761c126e5b01c4f999b9495998df8129c065a51cf1bbff2fe6d17cc51d- Delivery
- Created in your browser from static generator assets (how it works).
What is in this file
A glTF 2.0 scene with one mesh: a height-field terrain of 109,561 vertices and 217,800 triangles, stored in a base64 buffer inside the JSON. A padding string in the top-level "extras" member brings the file to the exact size.
| Vertices | 109,561 |
|---|---|
| Triangles | 217,800 |
| glTF version | 2.0 |
| Buffers | 1 (embedded, base64) |
| Materials | None (default) |
How the file begins
The opening lines of sample-gltf-5mb.gltf, exactly as they appear in the file.
00000000 7b 22 61 73 73 65 74 22 3a 7b 22 76 65 72 73 69 |{"asset":{"versi|
00000010 6f 6e 22 3a 22 32 2e 30 22 2c 22 67 65 6e 65 72 |on":"2.0","gener|
00000020 61 74 6f 72 22 3a 22 53 61 6d 70 6c 65 54 65 73 |ator":"SampleTes|
00000030 74 46 69 6c 65 73 20 73 61 6d 70 6c 65 20 66 69 |tFiles sample fi|Preview
Creates the file in your browser and shows the first 64 KB of it.
Where 5 MB matters
A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| PHP | 2 MB per uploaded file by default (upload_max_filesize) | A 5 MB upload fails on an untuned PHP installation. |
| Vercel Functions | 4.5 MB request body | Larger uploads must go directly to object storage. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file is exactly one minimum part. |
| AWS Lambda | 6 MB synchronous invocation payload | 5 MB of binary data exceeds it once base64-encoded. |
| Browser localStorage | About 5 MB per origin | Storing this file as text fills the quota. |
| Django | 2.5 MB in memory by default | Larger uploads are streamed to a temporary file instead of held in memory. |
Use this file for
- Finding the first upload limit in a new stack
- Testing 3D upload and web preview
- Checking loaders with embedded and external buffers
Testing notes for glTF
- A file can declare extensions it requires, such as Draco mesh compression. A loader without that extension has to refuse the file.
- 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.
Technical details
| File name | sample-gltf-5mb.gltf |
|---|---|
| Format | glTF (GL Transmission Format) |
| Extension | .gltf |
| MIME type | model/gltf+json |
| Size | 5,242,880 bytes (5 MB) |
| Kind | Text |
| SHA-256 | 160741761c126e5b01c4f999b9495998df8129c065a51cf1bbff2fe6d17cc51d |
| Created | 2026-10-23 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | 3D Models |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-gltf-5mb.gltf # Linux
shasum -a 256 sample-gltf-5mb.gltf # macOSOn Windows, run Get-FileHash sample-gltf-5mb.gltf -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
Related files
Questions about this file
- Is this file exactly 5 MB?
- Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 5 MB glTF file?
- A glTF 2.0 scene with one mesh: a height-field terrain of 109,561 vertices and 217,800 triangles, stored in a base64 buffer inside the JSON. A padding string in the top-level "extras" member brings the file to the exact size.
- 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.