Recover access to an OpenDocument file

An ODT document, ODS spreadsheet, or ODP presentation can be encrypted with a password, or open normally while limiting changes. Start with what you can see: a password prompt before the contents appear needs a different solution from a protected sheet or section.

This guide is for files you own or are authorized to use. The steps use LibreOffice. Its OpenDocument format reference identifies ODT as text, ODS as spreadsheet, and ODP as presentation. Keep an untouched copy before changing protection or saving a replacement.

1. Identify the protection

  • The file asks for a password before you can read it. A file saved with LibreOffice's password option is encrypted. LibreOffice's protection guidance requires that password to open it.
  • The contents are visible, but you cannot change a sheet, section, or tracked changes. This is editing protection. Use the matching controls below; removing a sheet restriction does not decrypt an unopened file.
  • The prompt mentions an OpenPGP key. Follow the key section below. The file may use a recipient's cryptographic key instead of a shared document password.

A read-only file can also reflect sharing permissions or a storage problem. Read the exact message and ask the owner for editing access when that is what is missing.

2. Remove a file-open password you know

For a password-encrypted file, LibreOffice documents this supported removal procedure:

  1. Open the file with its current password

    Confirm you have the right document and that you are allowed to save an unencrypted copy.

  2. Save a separate copy without password protection

    Choose File → Save As, use a different filename, keep the appropriate ODT, ODS, or ODP format, and clear Save with password before saving. The Save As dialog can look different when LibreOffice uses your operating system's file picker.

  3. Close and reopen the new copy

    Check that it opens without the password and that its content, formulas, and layout are intact. Store the unencrypted copy where only the intended people can access it.

This procedure requires opening the encrypted original. Renaming the file, changing its extension, or saving a copy you cannot open is not a password reset.

3. If you forgot the file-open password

Search your password manager and secure project records, including the message that delivered the file. Check that you have the password for this particular revision. If someone sent the document, ask them for its password or an authorized replacement copy.

Look for an accessible earlier draft in your email, a shared folder, or a backup. Compare the content and date before relying on it; an older document may be incomplete. A cloud account reset does not recreate a separately chosen file password.

Recovery may not be possible.

LibreOffice's encryption explanation says a file saved with a password needs that password for decryption. If you cannot find it or another accessible copy, the contents may remain unavailable. LostMyPass provides guidance and does not accept document uploads or offer a file-unlocking service.

4. If the file opens but editing is restricted

ODS: protected Calc sheets or spreadsheet structure

Select the affected sheet. In the menu bar, choose Tools → Protect Sheet to turn off sheet protection, or Tools → Protect Spreadsheet Structure for that separate restriction. Enter the protection password if requested. These are LibreOffice's documented unprotect controls. If you do not know a required password, ask the author for it or for an editable copy.

ODT: protected Writer sections or tracked changes

For a section, use Format → Sections, select the section, and clear its Protect setting, supplying its password when asked. Writer's protection reference distinguishes section and table controls from encryption. For protected change tracking, use Edit → Track Changes → Protect and the correct password, as described in the general protection reference.

Do not assume that Save As removes every editing restriction. Identify which control was set and preserve any revisions or protected areas the owner still needs.

5. Check backups without assuming one exists

If Always create backup copy was enabled, LibreOffice may have retained the previous saved version as a BAK file. Check the Backups location under LibreOffice's Paths settings. Its backup and AutoRecovery guide explains that an existing backup can be replaced on the next save. Copy a useful backup elsewhere before opening or changing it.

AutoRecovery is intended for crashes; it does not guarantee an unencrypted copy. Separately check any version history provided by your storage service, if it was available for this file. An older copy may still have the same password.

LibreOffice's File → Versions feature stores versions inside the document itself. It is not a way around the password needed to open that file. LibreOffice also warns that Save As does not carry that embedded version history into the new copy, so preserve the original if the history matters.

If the file uses OpenPGP

OpenPGP-encrypted documents require the appropriate recipient's private key; the password prompt may be for that key. A document password alone does not replace a missing private key. Ask the sender or your organization's administrator which recipient key was used and whether an authorized recipient can supply a new copy. Keep private keys and their passphrases private.

If the file is missing or damaged

A missing-file message, incomplete download, or corruption warning is a separate problem from a forgotten password. Preserve the original, ask the sender to resend it, or restore a separate copy from your own backups. Record the exact error and the application version when asking for support. Do not overwrite your only copy while experimenting.

Keep the file private while seeking help

You do not need to upload your document or share its password to use this guide. For sensitive work, use the owner's approved support channel and describe the prompt without sending the file to an unknown “unlock” site. Once access is restored, keep a verified backup and store any retained password securely.

Instructions checked against LibreOffice's official guidance on 11 October 2026. Menu names can vary by interface and version.