1 KB glTF sample

A glTF file of exactly 1,024 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 1 KB sample, test or dummy glTF file.

Download

sample-gltf-1kb.gltf

1 KB1,024 bytes

Download 1 KB glTF

Created 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
00005d45316577b723fda731b956254b56df9a132dec90403d2f8f9c09fbe0cd
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 4 vertices and 2 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.

Vertices4
Triangles2
glTF version2.0
Buffers1 (embedded, base64)
MaterialsNone (default)

How the file begins

The opening lines of sample-gltf-1kb.gltf, exactly as they appear in the file.

{"asset":{"version":"2.0","generator":"SampleTestFiles sample file generator"},"scene":0,"scenes":[{"name":"Scene","nodes":[0]}],"nodes":[{"name":"terrain","mesh":0}],"meshes":[{"name":"terrain","primitives":[{"attributes":{"POSITION":0},"indices":1,"mode":4}]}],"accessors":[{"bufferView":0,"componentType":5126,"count":4,"type":"VEC3","min":[0.0,0.5192999839782715,0.0],"max":[0.5,0.7954999804496765,0.5]},{"bufferView":1,"componentType":5125,"count":6,"type":"SCALAR"}],"bufferViews":[{"buffer":0,"byteOffset":0,"byteLength":48,"target":34962},{"buffer":0,"byteOffset":48,"byteLength":24,"target":34963}],"buffers":[{"byteLength":72,"uri":"data:application/octet-stream;base64,AAAAANjwBD8AAAAAAAAAP+OlSz8AAAAAAAAAAO84RT8AAAA/AAAAPzSARz8AAAA/AAAAAAIAAAABAAAAAQAAAAIAAAADAAAA"}],"extras":{"padding":"..........................................................................................................................................................................................................................."}}

Preview

Shows the file contents.

Where 1 KB matters

The smallest practical test file: 1,024 bytes, small enough to travel in a single network packet. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Ethernet1,500 bytes (typical MTU)A 1 KB payload fits in one packet with its headers.
Browser cookies4,096 bytes per cookie1 KB is well inside the limit; the 5 KB sample is over it.

All 1 KB sample files

Use this file for

  • Smoke tests in CI that must run in milliseconds
  • Testing 3D upload and web preview
  • Checking loaders with embedded and external buffers

Testing notes for glTF

  • 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.

glTF format reference

Technical details

File namesample-gltf-1kb.gltf
FormatglTF (GL Transmission Format)
Extension.gltf
MIME typemodel/gltf+json
Size1,024 bytes (1 KB)
KindText
SHA-25600005d45316577b723fda731b956254b56df9a132dec90403d2f8f9c09fbe0cd
Created2026-10-21
ValidationSee 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.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
Category3D 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-1kb.gltf     # Linux
shasum -a 256 sample-gltf-1kb.gltf # macOS

On Windows, run Get-FileHash sample-gltf-1kb.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 1 KB?
Yes. It is 1,024 bytes, which is 1 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 KB glTF file?
A glTF 2.0 scene with one mesh: a height-field terrain of 4 vertices and 2 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.