ipfs
cidv1
cid
multihash
sha-256
base32
multibase
tokenuri
nft
tokenization
pre-mint
content addressing
dag-pb
raw codec

IPFS CIDv1 Computer

Computes a CIDv1 (Content Identifier version 1) for any file upload or text input in the browser using WebCrypto SHA-256. Outputs the CID string in base32 lowercase multibase encoding (RFC 4648, 'b' prefix) and displays the full multihash breakdown: function code (0x12), digest length (0x20), digest hex, CID bytes hex, and annotated byte-level breakdown. Supports raw (0x55) and dag-pb (0x70) codecs. No pinning, no upload, no network calls. Use to verify what tokenURI a file will resolve to on IPFS before minting.

Tool URL: https://ainumbers.co/tools/529-ipfs-cidv1-computer.html

post/v1/tools/compute_ipfs_cidv1

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/compute_ipfs_cidv1
  • Auth: none declared

Request body

textstring

Text content to hash (if no file provided)

codec'raw' | 'dag-pb'

Codec: raw (0x55) for unstructured bytes, dag-pb (0x70) for UnixFS

Response

Successful tool execution result

cidstring

CIDv1 string in base32 lowercase multibase (starts with 'b')

codecstring
codecCodestring
multihashFnstring
multihashFnCodestring
digestLengthinteger
digestHexstring
cidBytesHexstring
byteLengthinteger

Changes

No recorded changes to this operation across all 1 revision of this API.