ASN.1 / DER Decoder
Paste a PEM block, Base64 or hex and see its ASN.1 structure as a tree, with object identifiers named. Useful for certificates, keys and signatures.
How to read an ASN.1 structure
Paste your PEM, Base64 or hex
Paste or type it into the box, or press Try an example.
Read the tree
Each element is shown with its type and value.
Copy or download
Copy the decoded structure.
Worked example
This is what ASN.1 / DER Decoder gives for its own sample values. Open the tool above and change anything to try your own.
PEM block, Base64 or hex
MC4CAQAwBQYDK2VwBCIEIDlVNMxEnEYtVfBkP1zMzxLRovXfwwEC/Cm/MBXnOGIB
ASN.1 structure
SEQUENCE
INTEGER 0
SEQUENCE
OBJECT IDENTIFIER 1.3.101.112 (Ed25519)
OCTET STRING 0420395534cc449c462d55f0643f5ccccf12d1a2f5dfc301... (34 bytes)About ASN.1 / DER Decoder
Look inside DER-encoded data such as keys, certificates and signatures. The structure is shown as an indented tree, and well-known object identifiers are named, for example 1.2.840.113549.1.1.11 as sha256WithRSAEncryption.
FAQs
What is DER?
A binary way of writing ASN.1 data. PEM is DER in Base64 between BEGIN and END lines.
What can I paste?
A PEM block, Base64 or hex that starts with 30.
Why do some values show as hex?
Binary values such as keys and signatures have no readable form.