Android devices don’t always allow you to open every file type you download or receive in your email. The same applies to compressing a file or group of files. Depending on what the file is, this may be a big inconvenience. Some file managers let you compress or decompress zip files, but what happens if there is a rar or 7z file you need to open? ZArchiver lets you compress and extract files on Android, even if your file manager won’t.
Compressing a File on Android
The process of making a compressed folder is pretty easy actually. Install and open ZArchiver, then follow the steps below.
Create an Archive
- Give ZArchiver access to manage all files. This is necessary to compress files on your device.
- Navigate to the folder you want to create an archive or compressed version of. By default, parent folders are shown. You’ll need to navigate to your subfolders before creating an archive.
- Tap the menu in the top-right corner of the window that lists all of the settings to create compressed folders in Android. You can also tap the green “+” icon at the bottom right and select the “Archive” option.
- Click “Create” to choose whether to create a new folder or archive.
- You’ll have the chance to choose the compression format next. To create a new compressed archive, select “Archive.” If you want to create a new folder to compress later, select “New Folder” and skip to the “New Folder Compression” section below.
- Select your settings. Like many desktop apps, you can choose the settings for the archive: add a password, choose the level of compression, or choose to split the archive into multiple volumes.
- You can add the files more easily if you are in the correct folder or subfolder beforehand. You can create a new folder and move all of the files there if needed. Tap the files to highlight them and tap the green checkmark at the bottom to add them to the archive.
- Wait for the archive to compress your files. The level of compression depends on the compression type you chose and the type of files you’re compressing.
New Folder Compression
If you’re creating a new folder from the “Create” menu, you’ll need to move or copy the files you want to be compressed. Follow the steps listed below:
- Navigate to the files you want to compress. This can also be entire folders.
- Long-tap the folder or file and select either “Cut” or “Copy.” If you choose “Cut,” this will delete the file from the original location.
- Navigate to your new folder and open it, then tap the green clipboard icon in the bottom right. Repeat this process to add more files/folders.
- Back out of the new folder once you’ve added all the files you want.
- Long-tap the folder and select “Compress to *.zip,” “Compress to *.7z,” or “Compress.” The latter option gives you the same compression setting options as creating an archive in the above section. You can also compress any existing folder in this same way.
Extract Files on Android
The decompress process is just as simple when you want to extract files on Android. When there is a file emailed to you or otherwise downloaded to your Android device, you have a few different options. The first option is to view the contents of the compressed archive.
- Open ZArchiver and use the file manager to find the archive.
- Tap the archive to be presented with a few options, one of which will be “View.” You will see the folders and files in the compressed archive.
- Extract a single file by navigating to it while using the “View” option.
- Tap the file and select “Extract,” then select your desired location and tap the green extract button at the bottom right.
- If you want to extract all files in the archive, there are other options. You can choose “Extract here,” which will empty the contents into the main folder. You can select “Extract to ./<Archive name>/” to create a new folder and extract all of the files into it. Finally, you can select “Extract” and choose a location.
- Tap the green extract button at the bottom right after selecting your desired location.
This is a list showing all of the compatible file types you can compress, view, and decompress. If you notice, there are many not-so-commonly-accessible files on an Android.
- Create archive: 7z (7zip), zip, bzip2 (bz2), gzip (gz), XZ, lz4, tar, zst (zstd)
- Decompress archive types: 7z (7zip), zip, rar, rar5, bzip2, gzip, XZ, iso, tar, arj, cab, lzh, lha, lzma, xar, tgz, tbz, Z, deb, rpm, zipx, mtz, chm, dmg, cpio, cramfs, img (fat, ntfs, ubf), wim, ecm, lzip, zst (zstd), egg, alz
- View contents: 7z (7zip), zip, rar, rar5, bzip2, gzip, XZ, iso, tar, arj, cab, lzh, lha, lzma, xar, tgz, tbz, Z, deb, rpm, zipx, mtz, chm, dmg, cpio, cramfs, img (fat, ntfs, ubf), wim, ecm, lzip, zst (zstd), egg, alz
Are there any other options?
If you’re working mainly with PDF files, try these PDF compression tools for mobile devices, Windows, Linux, and macOS.
Frequently Asked Questions
Is there a difference between creating an archive and compressing an existing folder/file?
Not really. Both allow you to compress files/folders using the settings you choose. The main difference is that if you long-tap an existing folder, you’ll only be able to compress that particular folder.
With the “Create -> New Archive” option, you can select multiple folders to compress into a single archive. For example, if you have a dozen folders in a directory and want to compress five of those folders into a single archive, you’ll have the option to select multiple folders.
In short, creating a new archive gives you more flexibility with what you can add. However, all the folders/files must be in the same directory. You can navigate to sub-folders during the selection process.
Why are files being deleted when I create a compressed file?
There is a checkbox to automatically delete source files after compression. By default, this shouldn’t be checked. When you create a new archive or choose the “Compress” option, ensure that the check box that says “Delete source files after compression” isn’t checked.
You can also turn this off globally by doing the following:
- Open the menu at the top right.
- Select “Settings.”
- Choose “General.”
- Toggle off “Delete after compression.”
Why aren't my compressed files/folders smaller?
The default compression option is “Normal.” The percentage that files are compressed varies greatly on the file type. Documents and books will compress much more than videos, photos, and music.
If you need a higher level of compression, opt for “Maximum” or “Ultra.”
Image credit: Wesley Tingey via Unsplash
Our latest tutorials delivered straight to your inbox