
Protect Excel Files Online
Use our free online Excel files locker to safeguard sensitive financial data without installing any software. With just a few clicks you can set a strong password, encrypt the workbook, and generate a secure download link. The password is embedded directly in the file and never stored on our servers, ensuring complete privacy.
How to Put Password on Excel Files
- Upload your XLS or XLSX file using the drag‑and‑drop area.
- Enter the desired password in the secure field.
- Click the “Lock” button to encrypt the workbook.
- Download the protected file or copy the shareable link for later access.
No additional dependencies are required—simply open a modern browser, upload the file, and let our encrypted server handle the protection. All uploaded files are automatically deleted after 24 hours, guaranteeing temporary storage and maximum security.
Developer’s Guide: Password Protect Excel Files
This section explains how to programmatically add passwords to Excel (XLS, XLSX) workbooks using Conholdate.Total libraries. Automating protection saves time and ensures consistent security across large data sets. The API supports multiple protection levels, allowing you to tailor access control to your exact needs.
Protection types available in Conholdate.Total:
- ALL – Prevent any modifications.
- CONTENTS – Disallow data entry.
- OBJECTS – Block changes to drawing objects.
- SCENARIOS – Restrict scenario editing.
- STRUCTURE – Stop changes to workbook structure.
- WINDOWS – Prevent window layout changes.
- NONE – No protection applied.
You can apply any of these options when encrypting an Excel file.
Below are code examples for C# and Java developers.
Set Password on Excel File using C#
Follow these steps to add a password to an Excel file with C#:
- Install Conholdate.Total for .NET via NuGet.
- Use the sample code to load, protect, and save the workbook.
Java Tutorial: Password Protect Excel Spreadsheets
To set a password for an Excel workbook in Java:
- Add Conholdate.Total for Java to your project dependencies.
- Implement the provided snippet to encrypt the file.
FAQs
How to put passwords on Excel files?
Just upload the Excel file, specify the password and press the “Lock” button. Once done, you will get the option to copy the link of the protected Excel file or download it to your device.
What browser should be used to lock Excel files?
We support all the latest browsers, such as Chrome, Safari, Opera, Firefox, Edge, and Tor. You can use any modern browser to lock an Excel document.
Are there any restrictions for a password?
No, there are no restrictions. You can use any symbol for a password.
Does the Locker store passwords anywhere?
No, we don’t store your passwords. The password is added to the document directly.
What will you do with uploaded files?
After 24 hours, the submitted files will be automatically deleted. However, the files will be kept safe and secure.
How can I create my Excel locker app?
You can use our standalone .NET or Java libraries.
Can I get a license to evaluate the library?
You can acquire a free temporary license to test the API without evaluation limitations.
Ask a Question
You can let us know your questions or queries on our forum.
