ASN.1 Decoder
Decode PEM, hex or base64 DER data — certificates, keys, CRLs — into an interactive ASN.1 tree with OID names, hex view and byte highlighting, fully in your browser.
How to Use ASN.1 Decoder
This ASN.1 decoder turns DER-encoded data — X.509 certificates, private keys, CRLs, OCSP responses — into an interactive tree you can explore. Paste PEM text, hex or base64, or upload a file; the input format is detected automatically (PEM first). The tree shows every tag with its byte offset, length and a value preview, common OIDs get friendly names, and clicking a node highlights its exact byte range in the hex view. Everything runs locally in your browser.
- Paste your data into the input box, press Load example to try a sample certificate, or use Upload file for .der/.pem/.crt/.key files.
- Click Decode. The tool tries PEM, hex and base64 interpretations until one parses as DER, then shows the detected format and byte count.
- Browse the ASN.1 tree: each line has the tag name (SEQUENCE, INTEGER, OID…), the @offset · size and a preview. Values shown in [brackets] are context-specific tags.
- Click the chevron next to a node to fold or unfold its children; use Expand all / Collapse all for the whole tree, or Copy tree to get a plain-text version.
- Click any node to highlight its bytes in the hex view — header bytes (tag + length) and content bytes are styled differently — and check OID rows for names like commonName or sha256WithRSAEncryption.
If decoding fails, the PEM block is usually truncated: make sure you copied from -----BEGIN to -----END inclusive. Encrypted private keys decode down to the encryption algorithm OID, but the inner bytes stay opaque without the passphrase.
Related Tools
- X.509 Certificate Decoder Free online X.509 certificate decoder. Paste a PEM or base64 DER certificate to inspect subject, issuer, validity, SANs, key type and fingerprints. 100% local — certificates never leave your browser.
- CSR Generator Generate a free CSR (Certificate Signing Request) and RSA private key online. Fill in your domain and company details, add multi-domain SANs and download PEM files - key generation stays local in your browser.
- Hash Generator Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text instantly in your browser
- JWT Decoder Free online JWT decoder. Decode JSON Web Tokens instantly to view header, payload and signature. No registration required.
- File Hash Checker Calculate and verify MD5, SHA-1, SHA-256, SHA-512 file hashes locally
- Chmod Calculator Free online chmod calculator to visualize and calculate Linux file permissions with checkboxes. Instantly convert between numeric (755, 644) and symbolic notation (rwxr-xr-x). Supports special permissions like setuid, setgid, sticky bit.
- ASCII Table Complete ASCII character encoding reference with decimal, hexadecimal, octal, binary codes, HTML entities, and character descriptions. Search and filter instantly.
- Hex Viewer View file contents in hex dump format with search, offset navigation, and virtual scrolling