ASN.1 JavaScript decoder





Drag or load file:
Definitions:

Instructions

This page contains a JavaScript generic ASN.1 parser that can decode any valid ASN.1 DER or BER structure whether Base64-encoded (raw base64, PEM armoring and begin-base64 are recognized) or Hex-encoded.

This tool can be used online at the address https://asn1js.eu/ or offline, unpacking the ZIP file in a directory and opening index-local.html in a browser.

On the left of the page will be printed a tree representing the hierarchical structure, on the right side an hex dump will be shown.
Hovering on the tree highlights ancestry (the hovered node and all its ancestors get colored) and the position of the hovered node gets highlighted in the hex dump (with header and content in a different colors).
Clicking a node in the tree will hide its sub-nodes (collapsed nodes can be noticed because they will become italic).

WARNING: starting from 2024-03-28 this website is using ES6 features (and modules), which can break it for very old browsers.
You can access last version before ES6 on githack (which still works on IE11).

Copyright

ASN.1 JavaScript decoder Copyright © 2008-2024 Lapo Luchini; released as opensource under the ISC license.

OBJECT IDENTIFIER values are recognized using data taken from Peter Gutmann's dumpasn1 program.

Links