App Inventor Extensions

Zip/Unzip Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor community. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

Mar 24th, 2016: Initial Version 1 for App Inventor version ai2extensions7 and Companion version 2.36cdk1

Apr 20th, 2016: Version 2: password protection added

Aug 11th, 2016: Version 2a: avoid DX execution failed error: build each extension separately


Extension to zip/unzip files including password protection (AES 256 encryption).
Required permissions: android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE
Thank you Detlef for being the sponsor of this extension!
Thank you Edmark for being the sponsor of the password protection!
This extension uses the Zip4j library. Thank you Srikanth!


Returns whether Warnings should be suppressed

Specifies whether Warnings should be suppressed


Zip a directory.
Optionally use password to protect the zip file using AES 256 Encryption.

Unzip file.
Use password to unzip AES 256 password protected files.
Note: the extension is only able to unzip directories with the correct directory structure, which have been zipped in the root directory of the internal sdcard. Thank you Horst.


Event indicating that a Zip has finished.
The created zip file name will be provided in parameter zipFileName

Event indicating that an Unzip has finished.
Parameter fileList will contain the list of files, which have been extracted.

Example Use



For questions about App Inventor,
please ask in the App Inventor community.Thank you.

Terms and Conditions


Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:

Thank you! Taifun

Download TaifunZip extension (aix file)
Download Zip/Unzip test project (apk file)
Back to top of page ...

Home | Snippets | Tutorials | Extensions | Links | Search | Privacy Policy | Contact