Skip to the converter

XZ to BZ2 converter, without the upload.

Turn XZ compressed files into BZ2. It is converted in your browser, so the file never leaves your device.

Drop XZ files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert XZ to BZ2

  1. Add your XZ compressed files

    Drop XZ files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. BZ2 is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the BZ2, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The XZ to BZ2 converter is part of this page and runs inside your browser. Your compressed files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

XZ to BZ2: what to expect

XZ holds one file only, compresses slowly and is less widely supported than ZIP. BZ2 makes smaller files than gzip. XZ is at home in software distribution where download size matters; BZ2 is the usual choice for compressing one file or a TAR archive on Unix systems.

A password-protected archive is refused, since its contents cannot be read without the password. A .xz file holds one file and no folders; that file is unpacked as it is and then repacked in the new format.

XZ vs BZ2

XZ

XZ file

XZ squeezes a single file with the LZMA2 algorithm, producing noticeably smaller files than gzip at the cost of more time and memory when compressing. Linux kernel sources and many distribution packages are shipped as .tar.xz.

Opens in Linux, 7-Zip and most archive utilities

XZ converter
BZ2

Bzip2 file

bzip2 compresses a single file with the Burrows-Wheeler transform, giving smaller files than gzip but slower. It was the default for source tarballs before XZ took over, and .bz2 files are still common in scientific data.

Opens in Linux, macOS Terminal, 7-Zip and most archive utilities

BZ2 converter
XZ compared with BZ2
XZXZ fileBZ2Bzip2 file
Stands forXZbzip2
TypeCompressed fileCompressed file
CompressionLossless (LZMA2)Lossless (Burrows-Wheeler)
Introduced2009, by Lasse Collin (XZ Utils)1996, by Julian Seward
Opens inLinux, 7-Zip and most archive utilitiesLinux, macOS Terminal, 7-Zip and most archive utilities
Best forSoftware distribution where download size mattersCompressing one file or a TAR archive on Unix systems
File extension.xz.bz2, .bzip2

Questions

Are my compressed files uploaded anywhere?

No. The XZ to BZ2 conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting XZ to BZ2?

No. The files inside are repackaged unchanged.

Can I convert several XZ files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert XZ to BZ2 on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the XZ file, press Convert and save the BZ2. There is nothing to install.

Is there a file size limit?

Yes. An archive can be up to 500 MB, unpack to at most 1 GB and hold up to 50,000 files; beyond those limits the page says so. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.

Convert to BZ2 from…