Decentralized Identifier (DID)

A Decentralized Identifier (DID) is a globally unique identifier, defined by a W3C standard, that its owner creates and controls with cryptographic keys instead of getting it from a central registry such as a company or government.

A DID is a text string in the form did:method:specific-identifier. The method part, such as did:key, did:web or did:ethr, says how the identifier is created and looked up. Looking up, or resolving, a DID returns a DID Document. This is a small public file listing the public keys and service endpoints linked to the identifier. Whoever holds the matching private key can prove they control the DID by signing messages. Some methods anchor DID Documents on a blockchain, but others need no blockchain at all.

DIDs are a building block of self-sovereign identity. They let people hold identity information that no single platform can revoke or lock in. They usually work alongside verifiable credentials. A university, for example, could issue a signed degree credential to a graduate's DID. The graduate keeps it in a wallet and later shows it to an employer. The employer checks the university's signature against the university's own DID Document, without contacting the university.

A common misconception is that a DID puts personal data on a public blockchain. Well-designed systems keep names, birth dates and credentials off-chain and publish only public keys and metadata. The main risk is key management: losing the private key can mean losing control of the identifier, much like losing a crypto wallet. Reusing one DID everywhere can also link a person's activity across services.

Learn more

Related terms