No upload, no server
Open the binary certificate,
read the structure tag by tag
Paste PEM, Base64 or Hex and the decoder walks the DER/BER bytes down to exact offsets, drawing a tree. Clicking a node highlights its tag, length and value in the hex dump; OIDs resolve to names; X.509, PKCS#8, SPKI and ECDSA signatures are laid out field by field. Zero input sent to a server (advertising and affiliate widgets excepted).
- DER · BER · PEM
- Tag/length/value tree
- Two-way hex highlight
- 80+ OIDs
- X.509 · PKCS#8 · SPKI
- Zero input sent
Input
Paste -----BEGIN ...----- PEM, Base64, or hex with spaces and colons. The format is detected automatically.
ASN.1 tree
Select a node to highlight its tag, length and value bytes in the hex dump. Press the caret to fold its children.
Hex dump
Sixteen bytes per row, hex offset on the left and ASCII on the right. Click a byte to select its node.
Node detail
- Select a node in the tree.
- —
Structure
Recognised fields appear here.
OID dictionary
Export
Export the current tree and structure as Markdown or JSON.
If you pasted a real private key, do not share the exported file. This tool sends nothing, but the file stays.
Every decode happens in this browser. The bytes you paste are never stored.
How to use it
- 01Paste the bytes
Drop in a certificate PEM, a public or private key, a DER signature, or a hex dump. PEM headers, spaces, colons and line breaks are normalised and the format is detected automatically.
- 02Move between tree and dump
Select a node and the hex dump splits its bytes into tag, length and value colours. Click any byte in the dump and the innermost node containing it is selected, with its ancestors expanded.
- 03Read the structure and OIDs
The tool tells you whether you are looking at X.509, PKCS#8 or SPKI and lists the fields people actually check: serial number, subject, SANs, curve, r and s. Export the tree as Markdown or JSON.
What the workbench holds
DER/BER parser
Handles every tag class (Universal, Application, Context, Private), constructed and primitive forms, short, long and BER indefinite lengths. Each node carries exact byte offsets for its tag, length and value.
Two-way highlight
Choosing a tree node paints its tag, length and value bytes in the dump. Clicking a dump byte selects the innermost node that contains it and reveals its ancestors.
80+ OID dictionary
Built in: X.509 extensions, PKCS#8 and PKCS#1, ECDSA and EdDSA, RSA, hashes, name attributes and curve OIDs. OID nodes show both the dotted number and the name, and the dictionary is searchable.
Structure interpreter
Recognises X.509 certificates, SubjectPublicKeyInfo, PKCS#8 PrivateKeyInfo, PKCS#1 RSAPrivateKey, ECPrivateKey, ECDSA signatures, AlgorithmIdentifier and distinguished names, and lays out their fields.
ECDSA r‖s conversion
Shows r and s as decimal and hex, then builds the fixed-width r‖s concatenation for 32, 48 or 66-byte curves, so the difference between DER and raw encoding is visible.
Local export
Exports the current tree as a Markdown table and JSON, including offsets and the structure interpretation. Exporting makes no network request either.
Why the input never leaves
A certificate or key file mixes information that is meant to be public with information that must never be published. This tool is built so that no input is sent anywhere.
No upload
Input is handled only in browser memory. Open the network tab in developer tools while pasting a certificate and you will see zero input sent to a server.
No storage
Pasted bytes are not stored. A reload clears them; the only things kept are your theme and language choice.
No API
Parsing and interpretation are not processed on a server. The site is static HTML and JavaScript, with no JSON data files either.
Frequently asked
Is the certificate or key I paste transmitted?
No. Format detection, byte decoding, DER/BER parsing, OID resolution, structure analysis and export all run in this page's JavaScript. Apart from advertising and affiliate widgets, zero input is sent to a server.
Is it safe to paste a private key?
Nothing is transmitted, but pasting a private key into any web page is better avoided. Use the synthetic sample preset to explore the structure, and handle production keys in an offline environment. Take extra care while screen sharing.
How do DER and BER differ?
BER is the basic set of encoding rules for ASN.1 values; DER is a subset that fixes one representation for lengths and values. DER never uses indefinite length, encodes BOOLEAN true as 0xFF, and carries no unused bits in a BIT STRING. This tool reads both and labels indefinite lengths as BER.
Does it check whether the certificate signature is valid?
No. This is a structure decoder. It does not verify signatures, chain trust or whether the certificate is currently within its validity window; use a dedicated verifier for that.
Are PEM and Base64 the same?
PEM is Base64 body text wrapped in BEGIN/END headers. People also call bare Base64 of DER bytes PEM, but this tool treats a header as PEM and headerless text as Base64.
Why do hex offsets matter?
Most ASN.1 failures start where a length calculation goes wrong. Knowing the exact byte range of every tag, length and value lets you point at a truncated file or a bad length instead of guessing.
ASN.1 guides
All guidesDER, BER and PEM encoding, X.509 layout, key formats, ECDSA signatures and OID reference: the points where real work gets stuck.
Open a certificate now
Load the synthetic certificate sample to fill the tree and the structure panel at once. You never need a real certificate.