HomeAll toolsErlang ETF Decoder

Erlang ETF Decoder

Decode Erlang External Term Format in your browser: common scalars, tuples, lists, maps, binaries, bitstrings and zlib-compressed terms with byte spans.

Data is processed only in your browser
Erlang ETF is decoded locally in your browser: inputs and files are never uploaded or added to the address bar automatically. This inspector examines external-term bytes only; it does not connect to Erlang nodes, reconstruct live state or claim to recover distribution sessions. Share links contain the original input, so share only non-sensitive data.
15 B · 1 items · 0 errors · 0 warnings
ETF encoded bytes
Parse statusETF v131 · 15/15 B
CompleteAll top-level terms were consumed. Binary, bitstring, bignum, float, tuple and map JSON wrappers preserve type and precision.
Item overview
Item #1 typed JSONSMALL_TUPLE_EXT · [1, 15)
{
  "$tuple": [
    "ok",
    {
      "$binary": "aGk="
    }
  ]
}
Decoded tree · byte ranges
SMALL_TUPLE_EXTtuple(2)
ATOM_EXT[0]ok
BINARY_EXT[1]2 B 6869
Original file bytes · linked both ways
00008368026400026f6b6d000000026869·h·d··okm····hi

How to use

Erlang ETF Decoder decodes Erlang External Term Format online — the exact byte format produced by term_to_binary/1,2 and consumed by binary_to_term/1 (Elixir uses the same format via :erlang.term_to_binary/1). It reads data beginning with version byte 131 and restores integers, bignums, atoms, floats, binaries, bitstrings, strings, tuples, lists and maps into a tree. For a zlib-compressed term it inflates locally, checks the declared size and parses the inner term; original-file offsets and decompressed logical offsets are shown separately.

How to use: paste hex or Base64, or upload a binary file up to 2 MB. Consecutive top-level terms are supported, with samples, diagnostic jumps, typed JSON export, per-item byte download and share links. Unknown tags and advanced terms outside the supported set remain tagged raw data or produce an explicit error instead of being silently discarded.

Safety and boundaries: the tool never executes Erlang code, loads modules or adds input atoms to the node’s atom table. It does not reconstruct BEAM distribution handshakes, connection sessions or cross-packet fragmentation state. The input is an ETF term, not a PCAP, TLS or TCP container. Everything runs locally in your browser; share links contain the original content (up to 6,000 bytes), so share only non-sensitive data.

Frequently asked questions

Can it decode term_to_binary / binary_to_term output?

Yes. ETF is exactly the byte format returned by Erlang’s term_to_binary/1,2 and read by binary_to_term/1; Elixir’s :erlang.term_to_binary/1 produces the same format. Paste the bytes as hex or Base64 to decode them — the tool only parses bytes and never executes Erlang code.

Which Erlang External Term Format tags are supported?

Version byte 131 plus common integer, bignum, atom, float, binary, bitstring, string, tuple, list, map and zlib-compressed terms. Unknown or advanced tags are preserved conservatively or reported, never guessed into another structure.

Can it recover atom and function names?

Common atom tags are displayed by name, but input atoms are never added to the node’s atom table and no code is executed or loaded. Functions, PIDs, ports and references are shown as wire structures, not as fully reconstructed runtime objects.

How are zlib-compressed terms handled?

When the ETF compressed tag is present, the tool inflates it locally, checks the declared uncompressed size and parses the inner term. Compressed-file offsets and decompressed logical offsets are labelled separately.

Does it support BEAM distribution sessions or packet captures?

No. The input must be ETF term bytes, not a complete BEAM distribution handshake, TLS, TCP or PCAP container. The tool does not reconstruct sessions or fragmentation state across packets.

Is my data uploaded?

No. Decoding, diagnostics, copy and export all run in this browser. A share link contains the original content (up to 6,000 bytes), so use it only for non-sensitive data.

See all questions

Go deeper

Related tools