NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 215 · C11 · Encoding / Dev · Updated Nov 2026

ASN.1 / DER Viewer

Parse DER hex into a readable ASN.1 tree in your browser.

Browser Free No sign-up
How it works
100www.dev/tools/asn1-decoder

ASN.1 tree

SEQUENCE (13 bytes)
  OBJECT IDENTIFIER (9 bytes): 1.2.840.113549.1.1.1
  NULL (0 bytes)

What it does

ASN.1 is the schema language behind X.509 certificates, CSRs and many cryptographic structures; DER is the binary encoding used on the wire. This viewer turns DER bytes into an indented tree of tags, lengths and values so you can see what a structure actually contains.

How it works

DER is a sequence of tag-length-value records. The tag says what the value is (INTEGER, OCTET STRING, OBJECT IDENTIFIER, SEQUENCE and so on), the length says how many bytes follow, and the value is the content. Nested structures are simply records inside a constructed value.

OBJECT IDENTIFIER values are dotted numbers registered in global OID trees. 2.5.4.3 is commonName, 1.2.840.113549.1.1.11 is sha256WithRSAEncryption. The viewer shows both the dotted OID and a name when it recognises one.

PEM is base64 DER wrapped in BEGIN/END lines. Decoding PEM to DER is the first step before parsing. If the input is a certificate, the top-level structure is a SEQUENCE of tbsCertificate, signatureAlgorithm and signature.

BER allows several encodings of the same value; DER requires one canonical form. A parser that accepts BER may read files that strict validators reject. For certificates, expect DER.

Parsing is not validation. A well-formed tree can still contain an invalid signature, an expired validity or a malformed extension. Use the viewer to inspect structure, then validate with a dedicated tool.

When to use it

  • Inspect an unknown DER blob from a certificate or CSR.
  • Check an OID without looking it up by hand.
  • Compare two structures that should be identical.
  • Learn how a certificate is laid out before writing a parser.

Glossary

ASN.1
Abstract Syntax Notation One, the schema language for structured data.
DER
Distinguished Encoding Rules: the canonical binary encoding used in certificates.
TLV
Tag, length, value: the record shape of DER.
OID
Object Identifier, a globally registered dotted number naming a field or algorithm.
PEM
Base64-wrapped DER with BEGIN/END markers.

Frequently asked questions

Is my data uploaded?+

No. Parsing runs in the browser. Avoid pasting private keys; certificates and CSRs are public, private keys are not.

Why do some lengths look strange?+

DER uses short and long length forms. A length byte above 127 indicates how many following bytes encode the length, which is why large structures have multi-byte headers.

Can it parse BER?+

Many BER encodings use the same TLV shape and will display, but indefinite lengths and non-canonical forms may be rejected. Certificates should be DER.

Does a parsed tree mean the certificate is valid?+

No. Structure is separate from signature, expiry and chain validation. Use an SSL checker for that.

Why is an OID shown as numbers only?+

The viewer only names OIDs in its local table. Unknown OIDs are still shown in dotted form and can be looked up in a registry.

API & MCP

No API endpoint

This tool runs entirely in your browser. It is not available over the REST API or MCP.

Shareable result

https://100www.dev/tools/asn1-decoder?v=3082010a...

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.