Working with protected MS Office documents in ONLYOFFICE

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.


View Comments

  • 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...

Recent Posts

  • Open source
  • Partnership

FOSDEM 2020: ONLYOFFICE highlights

Shortly after CS3, we visited another event meaningful for European open-source community: FOSDEM 2020 in Brussels. Read more in this…

6 days ago

ONLYOFFICE at CS3 Workshop 2020: our summary

Last week, the ONLYOFFICE team went to a notable event for the global scientific community: Workshop on Cloud Services for…

1 week ago
  • Events
  • Events
  • Events
  • What's new

Meet ONLYOFFICE at MWC Barcelona 2020

Hi everybody! We are going to wrap up our series of winter business trips with attending MWC Barcelona this February.…

2 weeks ago

ONLYOFFICE partners with CEO-Vision: the symbiosis of online editors and the digital workplace GoFast

ONLYOFFICE is proud to announce its official partnership with CEO-Vision. The agreement was signed on the margins of the Paris…

3 weeks ago
  • Integration

How to configure reverse proxy for Nextcloud and ONLYOFFICE editors

Hi everyone! Most of the ways to integrate ONLYOFFICE with Nextcloud are described in our API documentation, but some cases…

3 weeks ago

ONLYOFFICE is referenced to the UGAP

Great news, everyone! ONLYOFFICE was exclusively chosen by UGAP, the French central public purchasing office, to meet the needs of…

3 weeks ago

This website uses cookies. By continuing to browse the website you agree to our privacy policy.

our privacy policy