What Is a BZ2 File?

How to open, edit, & convert BZ2 files

A file with the BZ2 file extension is a BZIP2 Compressed file. They're normally used only on Unix-based systems for software distribution.

BZ2 is often the compression used for popular file containers that don't support compression (like TAR files), so they may have a name like data.tar.bz2. Others that are holding compressed PNG image files, for example, might be named something similar like image.png.bz2.

A CPU that supports multi-threading can benefit from the upgraded PBZIP2 file compressor.

How to Open a BZ2 File

BZ2 files can be opened with most popular compression/decompression programs. Of them, PeaZip is probably my favorite because it fully support BZ2 files. This means it can open BZ2 files as well as compress files using the BZIP2 compression method to make a BZ2 file.

BZ2 file open in PeaZip

BZ2 archives can contain only one file, so if you're wanting to put multiple files into one BZ2 file, you have to wrap them in another archive format such as TAR.

Apple's Archive Utility can open BZ2 files on a Mac for free, as can The Unarchiver. Some other BZ2 openers for macOS include Incredible Bee's Archiver and Corel's WinZip, though neither are free to use past the trial.

Another option, which works on all operating systems, is to use the B1 Online Archiver website. It can open BZ2 files online in your web browser so that you don't have to download software to decompress the archive.

You can use the free RAR app from RARLAB to open BZ2 files on an Android device. iOS users can install Zip Browser to open BZ2 files on an iPhone or iPad.

Linux systems can extract the contents of a BZ2 archive without any external software. Use this command in a terminal, but replace file.bz2 with your own BZ2 file:

bzip2 -dk file.bz2

This command will keep the original archive file on your computer. Use the command bzip2 -d file.bz2 to have the original deleted after the extraction.

Files that are stored in a TAR file, but compressed with BZIP2, can be extracted with this command (again, replacing file.tar.bz2 according to the name of your own file):

tar xvjf file.tar.bz2

If you find that an application on your PC does try to open the BZ2 file but it's the wrong application or if you would rather have another installed program open BZ2 files, see our How to Change the Default Program for a Specific File Extension guide for making that change in Windows.

How to Convert a BZ2 File

The easiest way to convert a BZ2 file to another archive format is to use one of the options from this list of Free File Converters for Occasionally Used Formats.

FileZigZag is one example of a free file converter that runs in your browser to convert BZ2 to GZ, ZIP, TAR, GZIP, TBZ, TGZ, 7Z, and other similar formats. Just upload the BZ2 file to that website and choose which format to convert it to. You then have to download the converted file back to your computer before you can use it.

BZ2 conversion at FileZigZag

AnyToISO can be used to convert TAR.BZ2 files to ISO.

Since BZ2 files are archives, it means they're not in a "regular" format like PDF, MP4, TXT, CSV, etc. This means that you can't convert a BZ2 file to one of those formats (i.e., you can't convert BZ2 to TXT).

However, if you have a BZ2 file that contains one of those files, you can easily convert one to a new format by just extracting it out of the BZ2 file first, with a file extractor like PeaZip. Finally, you can use a file converter on the TXT file (or whatever file type you're working with) to save it to a new format.

If you're looking to do the reverse, and compress something like a BSP (Quake Engine Game Map) file to a BZ2 file, you can use the same file compression tool (like PeaZip). If you need help, TF2Maps.net has a great tutorial on compressing BSP to BZ2.

Was this page helpful?