Skip to main content
Version: 2.0.0

Introduction to CAR Files in IPFS

What Is A CAR File

A CAR file (Content Addressable aRchives) is a type of compressed archive file that might contain multiple files. It can be used to store content addressable objects in the form of IPLD block data as a sequence of bytes; typically in a file with a .car filename extension.

Key Features

Content Addressing

At the core of the CAR file format is the concept of content addressing. Each file within a CAR file is uniquely identified by a cryptographic hash derived from its content. This not only ensures data integrity but also facilitates efficient and reliable content retrieval, regardless of the file's physical location.

Efficient Packaging

CAR files are designed for optimal packaging of content, enabling the bundling of multiple files and directories into a single archive. This streamlines the process of sharing and distributing data across the IPFS network, promoting resource efficiency and reducing redundancy.

Use Cases

Data Migration and Preservation

CAR files are particularly well-suited for data migration and preservation tasks. Their ability to encapsulate content with content-addressed identifiers ensures that data remains intact and retrievable over time, making them valuable for long-term archival purposes.

Efficient Content Distribution

The packaging efficiency of CAR files makes them an ideal choice for efficient content distribution. Whether you're sharing a collection of files or an entire dataset, CAR files simplify the process, offering a streamlined solution for decentralized data exchange.

CAR v1 Specification

For more details regarding the specifications of the CAR v1 implementation, check the official link here.