Unprotect Excel

Unlock an Excel File Locked for Editing

Last verified · Free · No upload · No password needed

“Locked for editing” has five different causes, and only some of them are protection. Work out which one you have, then remove sheet or structure protection from your own file here.

Drop your Excel file here, or click to choose .xlsx or .xlsm
  • ✓ Sheet and structure locks
  • ✓ Processed in your browser
  • ✓ Original file untouched

Use this only on files you own or have permission to edit.

Find the cause first

“Locked for editing” covers several unrelated situations. Working out which one you have saves time, because four of the five have nothing to do with protection.

What you seeCauseFix
Cells will not accept typingSheet protectionThis tool
Cannot add, rename or delete sheetsWorkbook structure protectionThis tool, structure option ticked
Yellow bar: Protected ViewFile downloaded from the internetClick Enable Editing
“In use by another user” or “locked by”File open in another window or on a shareClose the other copy
Opens read-only, will not saveRead-only file attribute, or read-only recommendedClear the file attribute, or save a copy
Password prompt before anything appearsFile encryptionNot removable without the password

How to remove the protection

  1. Add the file. Drop the .xlsx or .xlsm above, or click to choose it. It is processed in your browser and never uploaded.
  2. Leave structure protection ticked if you also need to add, rename or delete sheets.
  3. Download the unlocked copy, which ends in “-unlocked”. Your original is untouched.
  4. Open it in Excel and edit as normal.

If it is still read-only afterwards

Protection and the read-only file attribute are separate. On Windows, right-click the file, choose Properties, and clear Read-only on the General tab. If the workbook offers “read-only recommended” every time it opens, saving a copy with this tool applied removes that recommendation, because it is stored as workbook protection.

Frequently asked questions

Why does Excel say the file is locked for editing?

The most common reason is that the file is already open in another window, on this computer or on a shared drive. Excel creates a lock file next to it while the workbook is open. Close the other copy, or open the file read-only and save a new version.

What is the difference between read-only and protected?

Read-only means Excel will not save changes to that file, usually because it is open elsewhere or marked as read-only on disk. Protected means the file opens normally but the cells or sheets are locked against editing. This tool fixes the second one.

Can I unlock a file that asks for a password when opening?

No. A password prompt before the workbook appears means the file is encrypted, and the contents cannot be read without that password. This tool detects that case and tells you instead of failing.

Does unlocking remove the read-only recommendation?

Yes, when the recommendation is stored as workbook protection. If the file is read-only because of its Windows file attributes or because someone else has it open, change that separately.