Skip to content

IPFS

IPFS distributes content through verifiable CID identifiers. Content integrity, persistence and access are distinct properties requiring providers, pinning and a recovery strategy. A CID lets consumers verify a representation of the file, while applications retain recoverable copies and decide which data can be published. IPFS does not encrypt files automatically.

Written by Isaac GonzálezUpdated October 30, 2026

Key takeaways

  • IPFS (InterPlanetary File System) locates files by their content, not their location.
  • A CID identifies and verifies a content representation.
  • Persistence depends on providers retaining and serving files.
  • IPFS neither automatically encrypts content nor guarantees eternal availability.

What is IPFS?

IPFS (InterPlanetary File System) is a peer-to-peer protocol for publishing, locating and retrieving files by their content rather than their location. Each file or directory gets an identifier derived from its data, the CID, so whoever downloads it can check they received exactly what they asked for, whichever node served it. A CID verifies the data, but it does not establish who published it or whether its content is true.

The idea came from Juan Benet, who set out to combine Git’s linked data structure with BitTorrent’s peer-to-peer exchange. He founded Protocol Labs in May 2014 to support the project, published the whitepaper in July that year, and the first alpha of the reference implementation, now called Kubo, shipped in 2015. Protocol Labs also built Filecoin as a complementary incentive layer: IPFS works without a token, and Filecoin adds a market for paid storage.

It is mainly used for NFT metadata and images, documents referenced from smart contracts, decentralized application frontends and public data distribution. Because different chunking and encoding options can produce different CIDs for the same file, content preparation needs to be reproducible when the identifier is part of a business process.

How it works

IPFS splits the work into three functions: representing and addressing data, finding which nodes hold it, and transferring it. For addressing, the CID combines the hash of the data with its codec. Large files are chunked with UnixFS and linked in a Merkle directed acyclic graph (Merkle DAG), so any change to a block produces a new CID for the whole set.

To find content, nodes query a Kademlia distributed hash table (DHT), which runs on libp2p and indicates which peers store each CID. An implementation can also delegate that lookup to another service through an HTTP API. Peer-to-peer transfer uses Bitswap, and HTTP gateways let browsers and applications that do not implement IPFS download the content.

Adding a file to a node does not require other nodes to keep it. Cached copies are temporary and local garbage collection removes them unless they are pinned. Availability depends on accessible providers retaining and serving the data, which is why a product distinguishes content integrity, storage persistence and access-path availability.

What IPFS offers

Its main contribution is a verifiable reference that does not depend on a specific server. For an NFT collection or the documents of a tokenized asset, a team prepares the directory of images, metadata or documents, obtains its CID and records the reference in the contract. The IPFS documentation recommends storing ipfs:// URIs in metadata rather than gateway URLs: the reference is not tied to one provider, and the application generates the HTTP link in its presentation layer.

The same applies to a decentralized application: its static build is published on IPFS and resolved through a gateway or an ENS name. Changing the content requires a new reference unless the application uses a mutable naming mechanism. Before issuance, the team checks internal links, file types and access from the intended interfaces.

Operations keep recoverable copies, check pins periodically and test access from more than one infrastructure, whether self-run nodes with IPFS Cluster or a remote pinning service. These checks catch incomplete content or an unreachable provider. Recording a reference on-chain does not remove the need to maintain the files that give it meaning.

Limitations and selection criteria

IPFS does not encrypt files automatically. Publishing personal or confidential documents requires deciding whether they should be exposed and how encryption, keys and access are managed. Nor is there a general guarantee that every copy can be deleted once third parties have obtained the content.

Public gateways, such as those the IPFS Foundation provides, are a public utility that is resource-intensive for their operators, and the documentation itself suggests that an application with sustained use run its own gateway. Path-style gateways do not isolate origins and should not be used to host web applications.

The choice against conventional storage depends on whether the product needs verifiable addressing and distribution across providers. Filecoin and other systems add incentives or storage contracts, but they do not make every reference eternally available. The budget covers storage, replication, gateways and recovery tests for as long as the product needs them.

Also known as

  • InterPlanetary File System
  • IPFS Protocol
  • CID storage
Development at Metlabs

How we approach a project with IPFS

Development capabilities and use cases to assess how IPFS fits your product.

What we build with IPFS at Metlabs

  • Verifiable metadata

    File and metadata preparation, pinning, integrity checks and access checks.

  • Decentralized frontends

    Static dApp builds hosted on IPFS, reachable via gateway or ENS.

  • Use case

    NFT collection with immutable metadata

    Image and metadata directory with a recorded CID, recoverable copies and availability monitoring.

  • Use case

    Tokenized asset documents

    Verifiable references to public documents; sensitive-data exposure is assessed separately.

FAQs

Frequently asked questions

An IPFS gateway is a standardized HTTP API that fetches CID-addressed content from IPFS nodes and providers and serves it to browsers and applications without native support. It makes access easier but adds its own availability and policies, so the canonical reference should be the ipfs:// URI rather than the gateway URL.

Pinning marks content so that a node’s garbage collection does not remove it; without it, cached copies are temporary. It is done with self-run nodes, for example with IPFS Cluster, or through a remote pinning service. It is good practice to pin the same CID with more than one provider and check it periodically.

Need to integrate IPFS?

We analyze your case, pick the right stack and ship a production-ready solution.

Tell us about your project

As featured in

CointelegraphInvesting.comEl EspañolEmprendedoresEl ObservadorCriptoNoticias