Working with protected MS Office documents in ONLYOFFICE

25 June 2019 By Mary 1 1,323

Hello everyone!

In this article, we will explain how to protect a file, change or remove the password using ONLYOFFICE Desktop Editors.



ONLYOFFICE is often mentioned among the best free alternatives to Microsoft Office Suite. Trust us, ONLYOFFICE deserves it. Our developers do their best to make switching from MS Office easier thanks to our software 100% compatibility. Therefore, ONLYOFFICE provided its Desktop Editors with password protection based on the same encryption algorithm AES-256 as used by MS Office. That allows opening password protected MS Office files using ONLYOFFICE Desktop Editors.

To protect your document with a password
  • Go to the Protection tab and click the Encrypt icon.


  • Go to the File tab, open the Protection section on the left sidebar and click the Add Password button.

The Set Password window opens. Type a password and confirm it. The password is case sensitive. Use a strong password (here are some tips on how to do it). When ready, click OK. Save the file to make sure the password takes effect.


Need to change or remove your password? These processes are simple and similar, but you always have to know the original password.

Open the protected file using Desktop Editors and enter the password.

Go to the Protection tab, click the Encrypt icon, choose the Change password or Delete password option.


The same options are available in the Protect section from the File tab.



The password protection option is currently available in Desktop Editors only, to work with files stored on your computer. When you connect Desktop Editors to the cloud  and try to open a protected file, you’ll be asked for a password, but once you enter it and open the file, the current password to the file will be reset and you’ll not be able to set a new one for the file in the web storage.

To securely work with documents stored in the cloud, make use of the End-to-end encryption option, released this year as a developer preview. To read more about this technology, please refer to this article.

Try now security features in ONLYOFFICE Desktop Editors:


For more details about document protection with a password using Desktop Editors, please visit our Help Center.

As always your suggestions and comments are welcome: please, use the section below or tweet us at @only_office.

1 comment
  1. Roger CO - Reply
    November 13, 2019 at 12:29 pm

    Is there any timescale for getting full password protection support in the online version?
    At present if you open a password protected doc (created with OnlyOffice or Word offline and uploaded) the first time you open it you are asked for the password but then the password is removed.
    This is very annoying. If it can open the document why does it need to remove the password – couldn’t it just leave the password in place. Obviously that would mean that to remove the password you would have to download the doc, remove it in the desktop app, and then re-upload it, but that could be ok.
    The ideal interim solution would be to have a checkbox on the password entry dialogue to ask if you wanted to remove the password or not. No need to add the facility in the file properties tab as per the desktop version until later. If you wanted to create a passworded doc you’d have to do it online and upload it but that would be ok as a workaround…

Add a comment