Format:Autodesk FBX
| Magic | Kaydara FBX Binary \0 |
|---|---|
| Extensions | .fbx |
| Endianness | little-endian |
| On this wiki | Facts · Code · Notes · Topics |
Autodesk FBX binary container (.fbx): the magic "Kaydara FBX Binary \0" and a 32-bit version number, then a tree of node records (name, typed properties, nested nodes); from version 7500 the node header fields are 64-bit instead of 32-bit.
Overview
FBX is a proprietary scene interchange format with an ASCII and a binary encoding. Engines and tools import the binary one; the open readers (assimp, ufbx) are the practical documentation. The binary file is a flat sequence of top-level node records ending with a null record and a footer.
Identification
The file starts with the text Kaydara FBX Binary (assimp compares these 18 characters), followed (Unverified: not read in the checked source) by two spaces and a NUL (21 bytes in total) and then 1A 00; the 32-bit version number (for example 7400 or 7500) sits at offset 23. A file shorter than 0x1B bytes is rejected. See Fact:Autodesk FBX/identification/Binary header and version.
Node records
Each node record is: end offset (absolute file offset where the node ends), number of properties, property list byte length, name length (1 byte), name, the properties, then nested child nodes, then a null record as sentinel if the node has children. The first three fields are uint32 for versions below 7500 and uint64 from 7500 on, so the sentinel is 13 bytes in the old layout and 25 bytes in the new one. See Fact:Autodesk FBX/struct/Node record.
Properties
Property type codes are a single ASCII letter: Y int16, C bool byte, I int32, F float, D double, L int64, S string (uint32 length), R raw bytes (uint32 length), and arrays f, d, l, i, c (and b) with a header of element count, encoding (0 raw, 1 zlib deflate) and compressed length. See Fact:Autodesk FBX/enum/Property type codes.
Code & repositories
assimp (BSD-3-Clause); the tokenizer is code/AssetLib/FBX/FBXBinaryTokenizer.cpp. Unverified: ufbx (MIT/Unlicense) implements the same layout; it was not read for this page.
- https://github.com/assimp/assimp @
f20e46b3fc1fdf9bc2675fd549d180dda06861f1· license: BSD-3-Clause (declared by the contributor for the files used; GitHub reports BSD-3-Clause (read from LICENSE; GitHub's detector did not classify it) for the repository)
Open Asset Import Library; code/AssetLib/FBX/FBXBinaryTokenizer.cpp tokenizes binary FBX
Tested on: source read, not run: source read only · checked 2026-10-19; last activity 2026-10-17; Note: the latest release ships binaries; the wiki links only the source, never the binaries