CPIO archive
CPIO is a standard Unix archiving format used to combine multiple files and directories into a single file.
Open a CPIO file online
Drop a .cpio file to see what is inside — no program to install. The file is read on our server and deleted as soon as the answer is ready.
Reading the file…
Preview
Aa Bb Cc 123
The quick brown fox jumps over the lazy dog
Съешь же ещё этих мягких французских булок
Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ — աբգդեզ
Only the first 200 entries are shown.
What is CPIO archive?
The CPIO (Copy In, Copy Out) format is a classic Unix file archive format developed as part of POSIX standards. It stores files along with their metadata such as file paths, user permissions, and timestamps. While largely superseded by TAR and ZIP in modern consumer workflows, CPIO remains vital in specific Linux environments, RPM package creation, and initramfs generation.
Advantages
- Preserves detailed Unix file permissions and metadata
- Stream-oriented architecture for efficient tape backups
- Lightweight and natively supported by POSIX-compliant systems
- Integral part of Linux kernel initramfs images
Limitations
- Less common in everyday desktop usage compared to ZIP or TAR
- Lack of native compression within the format itself
- Can be difficult for average users to extract without command-line tools
How to open CPIO archive files
Common use cases
- Creating and extracting Linux initramfs images
- Building RPM software packages for Red Hat-based distributions
- Legacy Unix tape backups and system administration
- Storing file streams in automated shell scripts