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

  • Special offer

Black Friday: up to 50% Off ONLYOFFICE cloud

Hello! To celebrate Black Friday, we are offering great discounts on our cloud service. Learn how to get them in…

6 hours ago
  • Partnership

Beginner’s guide on ONLYOFFICE-Nextcloud integration + live webinar

Hello everyone! In this post, we have gathered tips on ONLYOFFICE-Nextcloud integration which can be extremely useful for those who…

2 days ago
  • Open source
  • Open source
  • What's new
  • What's new

ONLYOFFICE Desktop Editors are now available as Flatpak

Great news everyone! The long-awaited Flatpak for our desktop editors is now available on Flathub. We are coming to more…

7 days ago
  • Integration

How to edit ownCloud documents with ONLYOFFICE on your iOS device

Hello everyone! We have recently announced that ONLYOFFICE Documents for iOS 5.0 allows connecting cloud storage services via WebDAV, and…

1 week ago
  • Events

Meet ONLYOFFICE at POSS, JRES, and re:Invent in 2019

Hello everyone! December seems to be quite a busy time for ONLYOFFICE. We will travel to the US and France…

2 weeks ago

New ways to ONLYOFFICE: AWS instances

Being on a mission to bring innovative office apps to everyone, we added ONLYOFFICE Enterprise Edition to AWS Marketplace. This…

2 weeks ago

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

our privacy policy