{
  "slug": "content-identifier",
  "term": "Content Identifier (CID)",
  "aliases": [
    "CID",
    "IPFS CID"
  ],
  "definition": "A Content Identifier (CID) is a typed content address that combines a content hash with information identifying the encoded data's format.",
  "note": "Binary CIDv1 consists of version, codec and multihash fields. The multihash identifies the hash algorithm and digest length. A multibase prefix appears only in a text representation, so different base strings can represent the same binary CID. [cid-spec]\n\nCIDv0 has implicit version and dag-pb codec. Its binary form is a 34-byte multihash: the bytes 0x12 and 0x20 identify SHA-256 and a 32-byte digest, followed by that digest. It does not carry the explicit CIDv1 fields. [cid-spec]\n\nA file imported into IPFS may become a graph of chunks. Its root CID identifies the encoded root block, not generally the digest of the original whole file. Changing chunking or graph construction can change the root for identical file bytes; for a single raw block, its digest component can equal the whole-file hash, but the complete CID still carries identifying metadata. [ipfs-address]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    {
      "text": "A CID's existence does not prove that a reachable node still stores the data or all graph dependencies.",
      "citationIds": [
        "ipfs-persistence"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-18",
  "related": [
    "content-addressed-storage",
    "content-defined-chunking",
    "cryptographic-hash",
    "merkle-tree"
  ],
  "citations": [
    {
      "id": "cid-spec",
      "title": "IPFS CID specification: binary fields, string representations and CIDv0",
      "url": "https://specs.ipfs.tech/cid/",
      "accessed": "2026-11-18"
    },
    {
      "id": "ipfs-address",
      "title": "IPFS documentation: content addressing, root blocks and import parameters",
      "url": "https://docs.ipfs.tech/concepts/content-addressing/",
      "accessed": "2026-11-18"
    },
    {
      "id": "ipfs-persistence",
      "title": "IPFS documentation: persistence, garbage collection and pinning",
      "url": "https://docs.ipfs.tech/concepts/persistence/",
      "accessed": "2026-11-18"
    }
  ],
  "provenance": [
    "CID format details checked against the maintained IPFS specification dated 26 June 2026. Content authentication also requires a trusted expected identifier; naming alone does not establish its origin."
  ]
}
