Skip to content

bergfruehling/XLSunprotect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XLSunprotect

XLSunprotect is a commandline tool written in go to remove the workbook and worksheet protection from Excel files (.xlsx). It is powered by excelize.

Powered by go, it is compiled and statically linked to a single binary. It does not have any dependencies (Python, JRE, bash, ...). Just distribute the .exe file.

  • The results are written to <filename>_unprotected.xlsx in the same folder
  • The original file remains unchanged

Download

Windows Linux

Compile

If you want to compile on your own, install Go. The repository contains the go-module information. All you need is to run

go build

Use

You can use the tool from the commandline:

> unprotect.exe test.xlsx
===================== 💾 test.xlsx 💾 =====================
ℹ️ Removing protection from test.xlsx
ℹ️ Unprotecting Tabelle1 ...
ℹ️ Unprotecting Sheet1 ...
ℹ️ Removing workbook protection...
✅ Done --> Output in test_unprotected.xlsx

[Press any key to close...]

When you want to unprotect multiple files, simply add their filenames as additional parameters.

You can also drag-and-drop Excel-files to the binary.

License (MIT)

Copyright 2021-2024 Henning Carstens

Use of this source code is governed by the MIT license that can be found in the LICENSE file.

About

Unprotect Excel files with a single exe without dependencies. Written in Go.

Topics

Resources

License

Stars

Watchers

Forks

Languages