mdoc & mDL Verifier

100% Client-Side
Privacy: 100% Client-Side. Your data never leaves this browser tab. Processing uses Web APIs and client-side libraries only.

Decode and verify ISO/IEC 18013-5 mdocs such as mobile driving licences: issuer signature, certificate chain to an IACA root, MSO validity and element digests. Generate sample mDLs.

Verify an ISO/IEC 18013-5 mdoc such as a mobile driving licence: decode a DeviceResponse, Document or IssuerSigned (the OpenID4VCI mso_mdoc format), check the issuer's signature with its document signer certificate, the chain to an IACA root you trust, the MSO's validity and the digest of every disclosed element. Nothing leaves this browser.

What is an mdoc?

An mdoc is a credential in the ISO/IEC 18013-5 format, best known as the mobile driving licence (mDL). It is CBOR: each data element (family_name, birth_date, age_over_18 …) is a separate signed item with a random salt, and the issuer signs a Mobile Security Object (MSO) holding a digest of every item, so the holder can disclose only some of them.

The MSO is signed with COSE_Sign1 by a document signer certificate, which chains to the issuing authority's IACA root. A verifier checks that signature and chain, the MSO's validity period, and that each disclosed element hashes to the digest in the MSO.

How to use this tool

  1. Paste a DeviceResponse, Document or IssuerSigned structure as hex, Base64 or Base64URL.
  2. Optionally paste the IACA root certificate you trust, then click Verify.
  3. Or click Generate a sample mDL to see a valid one, or the changed-element sample to see a digest failure.

Frequently asked questions

Is device authentication checked?

No. deviceSigned is bound to the presentation's SessionTranscript (from the proximity or online flow), which a pasted response doesn't carry, so this tool checks the issuer's data only and says so.

Which formats are accepted?

A DeviceResponse (documents array), a single Document, or a bare IssuerSigned, which is how OpenID4VCI delivers mso_mdoc credentials.

Is my mDL uploaded?

No. Decoding, hashing and signature checks run in your browser with WebCrypto; nothing is sent to stbox.