IPFS CID Version Converter
Convert, validate, and analyze IPFS Content Identifiers. Transform between CIDv0 and CIDv1 formats, decode multihash components, and generate gateway URLs.
CID Input
IPFS Gateway URLs
Frequently Asked Questions
What is a CID in IPFS?▼
A CID (Content Identifier) is a self-describing content address used in IPFS and many blockchain systems. It encodes the hash function used, the content type, and the hash itself. Unlike URLs, a CID always refers to the same content regardless of where it's stored — it's content-addressed, not location-addressed.
What is the difference between CIDv0 and CIDv1?▼
CIDv0 uses base58btc encoding and always uses SHA2-256 with dag-pb codec. They start with 'Qm'. CIDv1 is more flexible — it supports multiple base encodings (base32, base64, base58), multiple hash functions, and multiple codecs. CIDv1 in base32 starts with 'b'. NFT metadata on Filecoin/IPFS often uses CIDv1 for case-insensitive DNS compatibility.
How are NFT metadata CIDs used on Ethereum?▼
NFTs store IPFS CIDs as tokenURIs. The token contract returns a URI like `ipfs://QmXxx...` or `ipfs://bafyXxx...`. Marketplaces resolve this by querying an IPFS gateway. The CID is the content hash of the JSON metadata file, which in turn contains image CIDs. This makes NFT metadata tamper-proof.
What is a multibase prefix?▼
Multibase is a protocol for encoding binary data as text. The first character indicates the encoding: 'Q' = base58btc (CIDv0), 'b' = base32 (CIDv1), 'z' = base58btc (CIDv1), 'f' = base16 (hex). This allows CIDs and other binary data to declare their own encoding, enabling self-describing identifiers.
How do I pin content to IPFS?▼
Pinning ensures content stays available on the network. Options: (1) Pin locally with `ipfs pin add <CID>`. (2) Use Pinata, Web3.Storage, or NFT.Storage APIs for cloud pinning. (3) Use Filecoin for long-term paid storage. (4) Fleek and similar services offer IPFS+CDN hosting with automatic pinning.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
IP CIDR Calculator
Calculate IPv4 and IPv6 subnet details from CIDR notation. Get network address, broadcast, host range, subnet mask, wildcard mask, and binary representation.
Open free tool →
NFT Metadata Generator
Generate standard ERC-721 and ERC-1155 NFT metadata JSON following OpenSea metadata standard with attributes and traits.
Open free tool →
Merkle Tree Generator
Generate Merkle trees for NFT allowlists and whitelists. Get Merkle root, proofs per address, and Solidity verification code for OpenZeppelin MerkleProof.
Open free tool →
More Free Tools
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →