Tested tool guide
Tested browser tools
Checked August 15, 2026
What ASN.1 / DER Decoder does, with a checked example
This tool parses a pasted hex or base64 string of DER or BER encoded bytes and walks it tag by tag, printing the ASN.1 tag class, tag number, constructed-or-primitive flag, length, and decoded value at each nesting level. It renders the result as an indented tree, so a certificate's outer SEQUENCE, its SET OF name entries, and its OCTET STRING extensions become visible layers instead of a flat hex dump. The detail people get wrong: BER permits indefinite-length encoding (an 0x80 length octet, closed later by two zero bytes), which DER forbids, so BER structures using it can look truncated or malformed against a decoder expecting DER's definite-length rule.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
SEQUENCE (30), length 6
INTEGER (02), length 1, value 5
INTEGER (02), length 1, value 10
0x30 0x06 opens a SEQUENCE with 6 content bytes; those bytes split into two INTEGER TLVs, 02 01 05 (value 5) and 02 01 0A (value 10), which together consume exactly the 6 declared bytes.