---
title: "IPFS (InterPlanetary File System) — definition | Nuri Glossary"
description: "Content-addressed storage where files are found by their hash rather than by server location."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/ipfs"
---

# IPFS (InterPlanetary File System)

Content-addressed storage where files are found by their hash rather than by server location.

## Basically

IPFS is a way to store and share files across many connected computers. It finds each file by its content, not by its location on the web.

## Key Takeaways

- IPFS identifies files by their content hash, called a CID, rather than by a server location. The same file always produces the same address wherever it is stored, which forms the foundation of decentralised storage.
- Content on IPFS is not permanent by default. Nodes only keep data they are actively using or have explicitly pinned, so files eventually disappear through garbage collection without pinning, either on your own node or through a service like Pinata.
- Crypto projects rely heavily on IPFS for NFT metadata storage, censorship-resistant DeFi frontends, DAO document hosting, and ENS content resolution. It is a key piece of Web3 infrastructure.

## What Is IPFS?

IPFS (InterPlanetary File System) is a peer-to-peer protocol designed to make the web more decentralised, resilient, and efficient. Instead of fetching a file from a specific server using a URL like https://example.com/image.png, you request it by its content hash, a unique fingerprint derived from the file's actual data. Any node with a copy can serve it, and you can verify the data by recomputing the hash yourself.
Juan Benet and Protocol Labs created the protocol, with the first specification published in 2015. IPFS combines ideas from peer-to-peer systems like BitTorrent and distributed data structures like Merkle trees into a general-purpose content-addressed storage layer. As of 2026, the public IPFS network includes over 250,000 nodes and handles hundreds of millions of gateway requests per week.

## How It Works

IPFS replaces location-based addressing with content addressing. Rather than asking 'which server has this file?', you ask 'who has the file with this hash?'. The shift changes how data is stored, retrieved, and verified.

## Content Identifiers (CIDs)

Every piece of data on IPFS gets a Content Identifier, or CID. A CID is generated by hashing the file's data with a cryptographic hash function, SHA-256 by default, and encoding the result alongside metadata about the hash algorithm and codec used. The CID format uses multiformats, making it self-describing so any client can determine how to decode and verify the data from the CID alone.
The CID comes from the content, so changing even a single byte produces an entirely different identifier. The result guarantees data integrity: if you request a CID and receive data that hashes to that CID, you know the data has not been tampered with.

## Chunking and Merkle DAGs

Large files are split into smaller blocks, typically 256 KB each. Each block gets its own CID, and the blocks are organised into a Merkle Directed Acyclic Graph (Merkle DAG), whose root CID represents the entire file. The structure enables parallel downloads from multiple peers, deduplication of identical blocks across files, and efficient verification using Merkle proofs.
IPFS uses a data format called UnixFS to represent files and directories within the Merkle DAG. UnixFS maps the block-level DAG structure to familiar filesystem concepts like filenames, directories, and file metadata.

## Peer Discovery and Retrieval

A node retrieves content by using its CID. It follows these steps:

## IPNS: Mutable Naming

Content addressing means any change to a file produces a new CID, so IPFS provides the InterPlanetary Name System (IPNS). IPNS creates a mutable pointer tied to a cryptographic key pair, which can be updated to reference different CIDs over time. The system works like a domain name that can point to different IP addresses: the IPNS name stays the same while the underlying content changes.

## The Pinning Model

A common misconception about IPFS is that uploading a file makes it permanently available. IPFS nodes only keep data they are actively using or have explicitly marked for retention through a process called pinning. Unpinned data is eventually removed through garbage collection to free up disk space.
Content persistence on IPFS requires at least one node to pin the data. Individual users running their own nodes must keep the node online. Applications that need reliable availability can use pinning services, which provide always-on infrastructure.

## Pinning Services

Several commercial services offer IPFS pinning. They ensure content remains available even when the original uploader goes offline:

## Pinning Services

Several commercial services offer IPFS pinning. They keep content available even when the original uploader goes offline:
These services standardise around the IPFS Pinning Service API, which allows applications to manage pins programmatically. Relying on a single pinning provider reintroduces some centralisation, so critical applications often pin to multiple providers simultaneously.

## IPFS vs. Arweave vs. Traditional CDNs

IPFS is one of several storage approaches. Comparing them shows where IPFS fits:
IPFS works well when you need verifiable, content-addressed data with flexible storage economics. Arweave is better when permanence is non-negotiable, such as for legal archives and historical records. Traditional CDNs remain superior for latency-sensitive applications where censorship resistance is not a requirement.

## NFT Metadata Storage

When an NFT is minted, the on-chain smart contract typically stores only a URI pointing to the token's metadata, including its name, description, and image. A URI pointing to a centralised server lets the server operator alter or delete the NFT's content, while storing metadata on IPFS means the CID in the contract cryptographically guarantees its integrity. Major platforms including OpenSea, Rarible, and Zora support IPFS-hosted metadata, and over 115 million NFTs reference IPFS CIDs for their assets.

## Censorship-Resistant DeFi Frontends

DeFi protocols like Uniswap, Aave, and Curve host their web frontends on IPFS. Even if a domain registrar or hosting provider takes down the primary website, you can access the frontend through any IPFS gateway or by resolving the CID directly. The separation between the on-chain protocol, which cannot be censored, and the off-chain frontend, which traditionally could be, is a critical resilience measure for decentralised applications.

## ENS Content Resolution

The Ethereum Name Service allows users to set a contenthash record on their ENS name that points to an IPFS CID. When someone navigates to yourname.eth using an ENS-aware browser like Brave or MetaMask's built-in browser, the browser resolves the ENS name, retrieves the contenthash, and loads the site from IPFS. The result is a fully decentralised website: the name is on Ethereum, the content is on IPFS, and no single server can take it down.

## DAO Document Storage

DAOs use IPFS to store governance proposals, voting records, and organisational documents. Snapshot, a widely used off-chain governance platform, stores vote data on IPFS. Because the CID verifies integrity, anyone can independently confirm that governance records have not been altered after the fact.

## Smart Contract Metadata

The Solidity compiler embeds IPFS CIDs in compiled smart contract bytecode, pointing to the contract's source code metadata. Verification services like Sourcify use these CIDs to match deployed bytecode with its original source, enabling trustless contract verification on the blockchain.

## Data Availability Is Not Guaranteed

IPFS does not guarantee that content remains available. If every node storing a CID goes offline or garbage-collects that data, the content becomes unretrievable even though the CID still exists. Applications where data loss is unacceptable need pinning strategies and redundancy across multiple providers.

## Gateway Centralization

Most users access IPFS content through HTTP gateways like ipfs.io or dweb.link rather than running their own node. A small number of organisations operate these gateways, creating potential censorship chokepoints and single points of failure that undermine the protocol's decentralisation goals.

## Performance Variability

Content retrieval speed on IPFS depends on how many peers store the data, their geographic distribution, and network conditions. First-time retrieval of rarely accessed content can be significantly slower than a traditional CDN. Caching and popular content benefit from the network effect, where more nodes store and serve popular CIDs, but long-tail content can suffer from high latency.

## Immutability Tradeoffs

Content addressing means that once illegal, harmful, or private data is uploaded and its CID is known, it cannot be 'deleted' from the network because any node operator can choose to pin it. Individual gateway operators can blocklist specific CIDs, but the underlying peer-to-peer network has no global content removal mechanism.

## Pinning Costs

Unlike Arweave's one-time payment model, IPFS pinning requires ongoing fees. Projects storing large datasets or high volumes of NFT metadata can see these costs accumulate. If a project runs out of funding or a pinning service shuts down, content availability is at risk unless the data is migrated to another provider.

## Why It Matters

IPFS has become foundational infrastructure for the crypto ecosystem. It provides the off-chain data layer that complements on-chain logic: NFTs need somewhere to store their images, DeFi protocols need censorship-resistant frontends, and DAOs need tamper-proof document archives. Without content-addressed storage, many of the guarantees that decentralised applications promise would break down at the data layer.
For Bitcoin-native applications, content addressing aligns with the same verification principles that underpin the UTXO model: do not trust, verify. Just as a Bitcoin node validates every transaction against consensus rules, an IPFS client verifies every block against its CID. For a deeper look at how decentralised data infrastructure intersects with blockchain applications, see our research on decentralised physical infrastructure networks.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
