Structured Data
AMF Decoder
Decode one AMF0 or AMF3 value from hex, Base64, or a local file to JSON in your browser. Rejects truncated data and unsupported AMF types.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
The decoder reads one AMF0 or AMF3 value. Choose the version from the source protocol.
The result is JSON without AMF type markers. JSON strings retain quotation marks.
- Inspect one JSON-compatible AMF value from a local binary file.
Sources: Adobe AMF0 specification; Adobe AMF3 specification; ISO/ASTM Additive Manufacturing File Format specification
Select AMF0 or AMF3
- Choose Hex, Base64, or File under Input format.
- Paste encoded bytes or select a binary file.
- Select AMF version, then run the decoder.
Decode an AMF3 array
Input: 09 07 01 06 0b 48 65 6c 6c 6f 04 2a 03
Settings: Input format Hex; AMF version AMF3 (the defaults). Run working sample applies these settings and runs the decoder.
Result: [ "Hello", 42, true ]
These bytes follow the Adobe AMF3 specification. They contain a dense array with an inline string, integer, and boolean.
Supported values and rejected references
- References, typed objects, and AMF3 associative arrays are unsupported.
- The decoder rejects trailing bytes. Extract one value from a message envelope first.
- Hex text inside a file is not binary AMF. Paste that text in Hex mode instead.