← ALL EXPERIMENTS
EXCEL INTEGRITY / OWNED TEST FILES

How to unprotect an Excel sheet: what changed in our integrity test?

A workbook opening successfully is not enough to show that a worksheet-unprotect operation preserved its contents. In our controlled XLSX test, two worksheet XML parts changed and the other twelve package parts remained byte-for-byte identical. The workbook structure lock deliberately remained in place.

What we put in the test workbook

The fictional workbook has an Inputs sheet and a Summary sheet. It contains numeric values, formulas, a cross-sheet reference, currency formats, colored headings, a merged range, frozen panes, a column width, a bar chart, a validation rule and conditional formatting. Both sheets have editing protection, and the workbook also has a structure lock.

We chose this combination because “I can type in a cell now” does not answer whether a chart, formula or workbook feature survived. It also lets us check a common ambiguity: removing worksheet editing protection does not necessarily remove the structure password.

Download worksheet-and-structure.xlsx and the result worksheet-unprotected-result.xlsx. The public sample password is LabDemo42!.

The result: two changed parts, twelve untouched parts

CheckObserved result
ZIP package members14
Unchanged members, byte-for-byte12
Changed membersxl/worksheets/sheet1.xml, xl/worksheets/sheet2.xml
Worksheet protection after processingRemoved from both worksheets
Workbook structure protection after processingStill locked

The only permitted edit in our test was removal of the worksheet protection element. For each changed XML part, the result exactly matched the original bytes with that element removed. All other package members, including the chart part, were compared directly without opening and re-saving them through a spreadsheet library.

We also parsed both files with openpyxl to check these logical features:

Logical checkResult
sheet namesPassed
values and formulasPassed
cell stylesPassed
merged rangesPassed
chartsPassed
data validationPassed
conditional formattingPassed
structure still lockedPassed
worksheet protection removedPassed

Why byte comparison matters

An XLSX workbook is a package of related files. A tool that reads the workbook into an object model and writes a new workbook can produce a functioning result while changing or omitting unsupported features. Our test deliberately distinguishes the narrow operation from a general conversion.

The byte comparison is stronger than a screenshot for showing that an untouched chart XML part remained unchanged. It is weaker than a complete compatibility certification: a part can be preserved while a particular application still interprets it differently. The two claims should not be mixed.

Formula strings were preserved. We did not recalculate formulas or assert that cached formula results were current. The test checks a chart and several workbook features, not every possible Excel feature.

How to repeat the test on a file you own

  1. Keep the original workbook and work on a copy.
  2. Identify whether the restriction is on a worksheet, the workbook structure, or opening the file.
  3. Record the original package member list and content fingerprints.
  4. After authorized processing, compare the member list and explain every changed part.
  5. Open the result in the application you actually use, and check the features that matter to your work.

If the workbook is digitally signed, protected by organizational rights management, macro-enabled or depends on uncommon extensions, do not extrapolate from this sample. Our sample is .xlsx and contains no VBA. We also did not claim a visual desktop Excel inspection; the published check is a package-level and openpyxl parse test.

What this means for “unprotect sheet Excel online” searches

A useful result is an editable copy whose changed scope is explained. It does not have to be a recovered original password. A credible provider should identify which of those outcomes it is offering and avoid saying that a worksheet operation also decrypts a password-encrypted file.

If you cannot open the file at all, begin with our Excel password-type diagnosis. If you can already open it, ask what is preserved, what changes, and whether the returned file was validated. Those questions are more informative than a blanket “100% safe” claim.

Sources and further checks

Scope and editorial independence

We operate a recovery service alongside this laboratory. The tests use generated public fixtures, not customer data. Measurements describe the specified software, hardware and samples on the test date. No success rate, ranking position or recovery guarantee is inferred.

Continue your diagnosis