On this page7 sections
In short
Excel Online is secure against outsiders: Microsoft stores workbooks in OneDrive or SharePoint, encrypted in transit and at rest with keys it manages by default. It isn't end-to-end encrypted. Microsoft says sheet protection isn't a security feature, Python in Excel runs on your referenced cells in Microsoft's cloud, and Copilot can use any workbook you can open. Foxcolab Sheets encrypts every cell in your browser and calculates every formula on your device.
Key takeaways
- Excel for the web saves workbooks to OneDrive or SharePoint, encrypted in transit and at rest with keys Microsoft manages by default.
- Microsoft says worksheet protection "isn't intended as a security feature." It stops edits to locked cells, not people reading them.
- Python in Excel runs your code in containers on the Microsoft Cloud and reads workbook data through the xl() function.
- Copilot surfaces any workbook a user can view, and eDiscovery can search, hold and export workbooks in OneDrive and SharePoint.
- Double Key Encryption keeps Microsoft out, but those workbooks can't be opened in Excel for the web or co-authored.
- Foxcolab Sheets encrypts values, formulas, sheet names and titles on your device and calculates every formula there too.
Last reviewed 4 December 2026 by Foxcolab Team
Is Excel Online secure? Against outsiders, yes. Excel for the web, the browser version most people call Excel Online, saves workbooks to OneDrive or SharePoint, where Microsoft encrypts them in transit and at rest. What it doesn't do is keep Microsoft out. Microsoft manages the keys by default, and several Excel features work because Microsoft's systems read your numbers: Copilot, Python in Excel and eDiscovery among them. The protection people reach for inside a workbook, Protect Sheet, stops edits rather than readers. Foxcolab Sheets encrypts every cell in your browser and calculates every formula on your device.
Everything about Microsoft below comes from Microsoft Learn and Microsoft Support pages as of December 2026, with each page's date where it shows one.
Excel Online security at a glance#
| Question | What Microsoft documents |
|---|---|
| Where do workbooks live? | OneDrive or SharePoint |
| Are they encrypted? | In transit and at rest, with keys Microsoft manages by default |
| Is Excel end-to-end encrypted? | No. Double Key Encryption is the closest option |
| Does Protect Sheet secure the data? | No. Microsoft says it "isn't intended as a security feature" |
| Where does Python in Excel run? | In containers on the Microsoft Cloud |
| Can Copilot use workbooks? | Any workbook the user has permission to view |
| Can your organization search workbooks? | Yes, with eDiscovery |
Where workbooks live, and who holds the keys#
A workbook you open in the browser is a file in OneDrive or a SharePoint site. Microsoft's service encryption page, updated May 14, 2026, says "By default, Microsoft manages all cryptographic keys including the root keys for service encryption," and that default covers SharePoint Online and OneDrive for Business. That protects your workbooks from a stolen disk. It doesn't stop Microsoft's services from opening them, which is what search, Copilot and eDiscovery depend on.
In a work account, Microsoft's eDiscovery overview, dated June 29, 2026, lets people with eDiscovery roles search OneDrive and SharePoint, hold content and export it, and its premium features decrypt label-protected documents as they collect them. Is Microsoft Word secure? covers personal accounts and sensitivity labels in more depth, and they work the same way for workbooks.
Protect Sheet stops edits, not readers#
The setting most people trust in Excel is the one Microsoft says not to trust for privacy. Its Protect a worksheet page says: "Worksheet level protection isn't intended as a security feature. It simply prevents users from modifying locked cells within the worksheet." Microsoft's protection and security overview adds: "You should not assume that just because you protect a workbook or worksheet with a password that it is secure."
Here's how that goes wrong. A finance lead shares a team budget with every manager, keeps salaries on a protected tab and feels safe. Every manager who can open the workbook can open the salaries, because protection controls typing, not reading.
Excel's real file password lives in the desktop app, under File → Info → Protect Workbook → Encrypt with Password, and Microsoft's file protection help warns that "Microsoft cannot retrieve forgotten passwords." It also takes the file out of reach of Microsoft's labeling: SharePoint and OneDrive "can't read or apply sensitivity labels when the document is password-protected," according to Microsoft's labeling setup page.
Three habits fix most spreadsheet leaks:
- Keep pay, HR and client figures in their own workbook, never on a hidden or protected tab.
- Share that workbook only with the people who need every number in it.
- Treat sheet protection as a guard against accidental edits.
Python in Excel and Copilot: where your numbers are read#
Python in Excel. Microsoft's data security page says it "runs the Python code used by Excel in a secure container on the Microsoft Cloud," and that code reaches your data "through the references via the built-in xl() function." Microsoft says "Data isn't persisted in the Microsoft Cloud" and "Once a container is used, it's destroyed." That's careful handling, and it still means the cells a Python formula references are processed on Microsoft's servers rather than on your computer.
Copilot. Microsoft's Copilot privacy page says Copilot "only surfaces organizational data to which individual users have at least view permissions," and that prompts, responses and data reached through Microsoft Graph don't train its foundation models. Microsoft stores each prompt and response from apps including Excel, and admins can view them with Content search or Microsoft Purview. A salary sheet shared with the whole company years ago becomes one question away for everyone in it.
Labels and Double Key Encryption for workbooks#
A sensitivity label can encrypt a workbook for named people. Once an admin turns on label support in SharePoint and OneDrive, those services process the encrypted contents so search and co-authoring keep working. In Excel for the web, "printing, downloading, exporting, and creating a copy aren't supported" for encrypted files, and "screen captures aren't prevented," per the labeling setup page, dated December 1, 2026.
Double Key Encryption, on a page dated October 27, 2026, is how an organization keeps Microsoft out. Microsoft says that data "isn't accessible at rest to Microsoft 365 services including Copilot." It also says such files "can't be opened in Office for the web," and that co-authoring and AutoSave aren't supported. A finance team that locks Microsoft out this way goes back to one person editing a workbook at a time, in the Windows desktop app.
How Foxcolab Sheets keeps the numbers private#
Foxcolab Sheets is end-to-end encrypted on every plan, Free included. Cell values, formulas, formatting, sheet names, the title, comments, pictures, charts and every saved version are encrypted in your browser before they're stored. Every formula, chart and pivot table is calculated on your device and on the devices of the people you share with, so Foxcolab's servers never need to read a cell, and they can't. Sheets has no AI features, so nothing reads your figures to suggest or summarize them.
| Excel for the web | Excel with Double Key Encryption | Foxcolab Sheets | |
|---|---|---|---|
| Encrypted on your device | No | Yes, in the Windows app | Yes, in the browser |
| Provider's services read cells | Yes: Copilot, Python, search, eDiscovery | No | No |
| Where formulas run | Excel, plus Microsoft's cloud for Python | The Windows desktop app | Your device |
| Editing together in the browser | Yes | No | Yes |
| Who gets it | Every Microsoft account | Organizations that run their own key service | Every Foxcolab account, Free included |
Sharing keeps the encryption intact:
Open Share
In the spreadsheet, click Share. The dialog confirms End-to-end encrypted. Only people with access can open this spreadsheet.
Invite by role
Enter an email address and choose Editor, Commenter or Viewer. Your browser locks the spreadsheet's key for that person alone.
Set an end date
Under People with access, open the role menu to set Access expires, or choose Remove access. Sheets then puts a new key in place, so a removed person can't read anything added afterwards.
Use a link when you need one
Under Links, click Create a link, pick Invite link or Public view link, set when it Expires, add a Password (optional) and click Create & copy link.
Switch off Viewers can download, print and copy to hide those options from viewers and commenters. Protected sheets and ranges in Foxcolab Sheets stop accidental edits, and the encryption, not the protection, is what keeps outsiders out, so give Viewer or Commenter to anyone who shouldn't change a number. In an organization, whoever holds the organization recovery key can reset any member's password and keep their spreadsheets readable, so keep it with as few people as possible.
Your workbooks move across in two steps. In Foxcolab Sheets, click New → Import a file… and pick an .xlsx, .xls or .csv file: it's read on your device and stored encrypted. When an auditor needs an Excel copy, File → Download → Microsoft Excel (.xlsx) makes one. Share a spreadsheet in Sheets and Create and import spreadsheets cover the details, and the best Excel alternatives compares other tools.
Keep your numbers to yourself#
Foxcolab Sheets comes with every Foxcolab account, alongside end-to-end encrypted Drive, Docs and Notes, and mail from one Foxcolab user to another is end-to-end encrypted too. Create a free account and import one workbook, or see plans for more storage. For a finance or HR team moving off Microsoft 365, start with Foxcolab for enterprise or talk to sales.
Frequently asked questions
Is Excel Online end-to-end encrypted?
No. Excel for the web saves workbooks to OneDrive or SharePoint, where Microsoft encrypts them in transit and at rest and manages the keys by default. Double Key Encryption keeps Microsoft's services out, and Microsoft says files protected with it can't be opened in Office for the web.
Does password protecting a sheet in Excel keep data private?
No. Microsoft says worksheet level protection isn't intended as a security feature and only prevents changes to locked cells. Anyone who can open the workbook can still read it. Keep sensitive figures in a separate workbook shared only with the people who need them.
Does Python in Excel send my data to Microsoft?
Yes, the cells your Python code references. Microsoft says Python in Excel runs the code in a secure container on the Microsoft Cloud, reads workbook data through the xl() function, doesn't persist data in the cloud and destroys each container after use.
How do I move an Excel workbook to Foxcolab Sheets?
In Foxcolab Sheets, click New, choose Import a file… and pick the .xlsx file. It's read on your device and stored encrypted. To hand someone an Excel file later, use File, then Download, then Microsoft Excel (.xlsx).

Written by
Foxcolab TeamThe people building Foxcolab, a private workspace for email, files, documents, meetings and team chat.
More from FoxcolabWas this article helpful?
One click, no account needed.