traceparent Decoder

Fields
version: 00trace-id: 4bf92f3577b34da6a3ce929d0e0e4736parent-id / span-id: 00f067aa0ba902b7trace-flags: 01 (0b00000001)sampled: on (01)
Decoded locally in your browser by splitting the header into its four fields. Nothing is generated or sent anywhere — your traceparent stays only on this page.

Read a traceparent header's fields

A W3C Trace Context traceparent has the form version-traceid-parentid-traceflags, such as 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01. The version is 2 hex characters (only 00 is supported here), the trace-id is 32 hex characters identifying the whole trace, the parent-id (also called span-id) is 16 hex characters identifying the caller's span, and the trace-flags is a 2-hex-character bitfield. The most-used flag is sampled (bit 0, flags & 0x01): 01 means the trace was recorded, 00 means it was not. The spec mandates lowercase hex and forbids an all-zero trace-id or parent-id; this decoder accepts either case but rejects those invalid values.

Privacy and limitations

This decoder runs entirely in your browser and makes no network calls. It reads a single version-00 traceparent value only — it does not parse the tracestate header, batch input, or interpret future trace-context versions. To create a traceparent, use the generator at /traceparent.