Edit Word and Excel Files from a ZIP or RAR Archive on Android
Question details
The user needs to edit Word and Excel files stored in a password-protected archive on Android and save the changes.

- Product
- Microsoft Word and Excel for Android
- Device & OS
- Android
- Scenario
- Opening Office files from a password-protected ZIP or RAR archive for editing.
- Observed behavior
- Files opened directly from the archive appear read-only, and changes cannot be saved directly back into the archive.
Have the archive password ready and choose an Android archive app that can extract the archive and create or update an archive in your preferred format. Extracted files are separate from the protected archive and may not be encrypted.
Extract the Office files, edit them, and update the archive
Use this workaround when an archive app cannot save changes made by an external Office editor back into the archive.
Some Android archive apps open a temporary copy of a file and cannot detect or write back changes made in an Office app. Reinstalling Office is unlikely to resolve that archive-handling limitation.
Open the ZIP or RAR file in your archive app, enter its password, and use Extract to place the Word and Excel files in a folder on your device.
Open each extracted file in Word, Excel, or a compatible Office app. Make your changes and use Save or Save As to save them to the extracted folder.
Return to the archive app and use its Add or Compress action to add the saved files to the existing archive or create a new one. If replacing files, confirm the replacement when prompted.
If creating a protected archive, select the app's password or encryption option and enter a password. Open the resulting archive and check that the updated files are present.

Edit extracted Word and Excel files with WPS Office
Use WPS Office for Android to edit and save extracted documents and spreadsheets, then use an archive app to add the saved files back to an archive. Directly saving changes inside an archive is not guaranteed.
- 1. Extract the archive: In your Android archive app, open the ZIP or RAR file, enter its password, and select Extract.
- 2. Open a file in WPS: In WPS Office, use Open or Files to browse to the extracted folder and select the Word or Excel file.
- 3. Edit and save: Make your changes in WPS Office, then use Save or Save As to save the file on your device.
- 4. Repack the files: Return to your archive app and use Add or Compress to update or create an archive with the saved files. Set a password if the app and chosen format support it.

Frequently Asked Questions
Why does a file opened from an archive appear read-only?
The archive app may give the Office app a temporary or read-only copy and may not be able to write changes back. Extract the file first, then open it from the extracted folder.
Can I save a Word or Excel file directly back into a ZIP on Android?
It depends on whether the archive app supports updating files edited by an external app. If direct saving does not work, extract and save the file, then use the archive app's Add or Compress action.
Will extracting a password-protected archive keep the extracted files encrypted?
Not necessarily. Extracted files are separate from the archive and may be accessible without its password. Use your archive app's encryption or password option when creating a protected replacement archive.
Can every Android archive app update a password-protected RAR file?
No. Archive formats and encryption features vary by app. Check its Add or Compress options for support, or create a new protected archive in a format the app supports.




