# syoyo/tinygltf

Header only C11 tiny glTF 2.0 library

Repository: https://github.com/syoyo/tinygltf
Canonical: https://ross.abutalabs.com/products/tinygltf
Language: HTML
License: MIT
License Family: permissive
Topics: gltf, c
Last push: 2026-08-02T04:31:35+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 72, longevity 100
- inputs: {"age_days": 3388, "days_push": 31, "days_rel": 31, "gap_med": 131, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2512, forks 497 (observed 2026-08-28T04:06:57.450086+00:00)

## What it is
TinyGLTF is a header-only C11/C++ library for loading and saving glTF 2.0 3D asset files. It offers a pure C POD API, arena-based memory management, structured error reporting, and hardening against untrusted input.

## Use cases
- load gltf files in c or c++
- parse 3d models for a game engine
- write gltf 2.0 assets programmatically
- parse untrusted gltf files safely
- embed a lightweight gltf loader without dependencies
- bind gltf parsing to other languages

## When to choose
- you need a small, dependency-free glTF 2.0 loader/writer in C or C++
- you must parse untrusted glTF assets and want hardened, fuzz-tested parsing
- you want easy language bindings via a pure C API
- you need fine control over file and image I/O

## When to avoid
- you need a full scene graph or rendering engine, not just asset parsing
- you work in a language other than C/C++ without writing bindings
- you need loaders for formats other than glTF

## Facets
- artifact type: library
- maturity: active
- function: parser, serialization, graphics, file-system
- domain: graphics, files, developer-tools
- platform: cpp, c, cross-platform
- tags: gltf, header-only, 3d-assets, single-file-library, fuzz-tested, game-development

## Member repositories
- syoyo/tinygltf (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:57.450086+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:26:20.391797+00:00, confidence not recorded.
  - readme: https://github.com/syoyo/tinygltf (fetched 2026-08-28T04:06:57.450086+00:00, sha 6b5889a46e9d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
