ASN.1 / DER / PEM Decoder
Options
What is ASN.1 / DER / PEM Decoder?
This tool decodes PEM blocks and DER-encoded ASN.1 data into readable summaries.
It is useful for certificates, CSRs, public keys, private keys, X.509 debugging, and low-level crypto inspection.
How to use ASN.1 / DER / PEM Decoder
- Paste a PEM block, Base64 DER, or hex DER into the input field.
- Choose the matching format or use Auto-detect.
- Click Decode to inspect the ASN.1 summary and any detected certificate, CSR, or key details.
- Copy the normalized PEM, Base64 DER, or hex DER if needed.
Tips
- PEM is just Base64-wrapped DER with BEGIN/END markers.
- This tool is especially useful when debugging certificates and key material.
- If auto-detect fails, explicitly choose PEM, Base64 DER, or hex DER.
- DER is binary, so Base64 and hex are the most convenient text representations.
ASN.1, DER, and PEM checks before converting certificate data
Encoding changes can make keys and certificates unreadable when labels, binary DER bytes, line wrapping, or object types are mixed up.
Identify the object type
Distinguish certificates, CSRs, public keys, private keys, PKCS#7, PKCS#8, and other containers before converting.
Preserve binary data
Treat DER as bytes, not text, and avoid newline, charset, or copy-paste changes before Base64 or PEM wrapping.
Check PEM labels
Ensure BEGIN and END labels match the contained object and that line wrapping does not remove or add characters.
Protect private keys
Never paste production private keys into shared tools, logs, tickets, or screenshots; use local trusted tooling for secrets.
Related tools
You may also find these tools useful.