Most people send Excel files as attachments. It holds up right until the recipient opens the wrong version, edits a stale copy, or never opens the thing at all.
Publishing the spreadsheet to the web takes all three of those headaches off the table at once. The data lives in one place, renders straight in the browser, and stays current without a single email thread chasing it.
There are a handful of methods that actually work, and they’re not interchangeable. The OneDrive and Excel Online iframe embed. SharePoint for internal or enterprise publishing. Google Sheets when you want a free route. And HTML export or third-party tools like Zoho Sheet and Rows.com for the cases none of those cover. Which one fits depends entirely on your setup, and that’s most of what’s below.
Table of Contents
What Does It Mean to Publish an Excel Spreadsheet on the Web?
It means creating a live, browser-viewable version of the file. People see and interact with the data right in their browser, with nothing to download and no copy of Excel installed.
This isn’t the same as sharing a file link. Sharing hands someone the actual .xlsx file. Publishing renders the workbook in a browser, usually as a read-only embedded view.
Microsoft Excel has somewhere around 1.1 to 1.5 billion users worldwide (ScottMax, 2023), and a big chunk of them are still firing spreadsheets off as email attachments. Publishing is the cleaner move when the goal is to show data on a website, an internal portal, or a shared dashboard.
Publishing vs. sharing: the core difference
When you share, the recipient gets the file. They can download it, open it in Excel, and edit it if the permissions allow.
When you publish, the recipient sees a rendered view in their browser. No download, no Excel needed, and the workbook stays on your server or cloud storage.
That gap matters for data integrity. A shared file can be copied and changed. A published embed can’t.
What OneDrive does in this process
OneDrive is the backbone of Excel web publishing inside the Microsoft world. The file lives in OneDrive (or SharePoint), and Microsoft’s servers do the rendering.
When you generate an iframe embed code from Excel Online, that code points back to your OneDrive-hosted file, and the viewer’s browser loads the spreadsheet directly from Microsoft’s infrastructure. So you’re not hosting anything extra on your end.
The part people miss is that the file has to stay in OneDrive for the embed to keep working. Move it or delete it and the published view breaks completely.
Excel Online vs. desktop Excel for publishing
| Feature | Excel Online | Desktop Excel |
|---|---|---|
| Generate iframe embed code | Yes File › Share › Embed |
No |
| Save as HTML (.htm) | No | Yes File › Export |
| Live sync after edits | Yes OneDrive auto-sync |
Only after re-saving to OneDrive |
| Requires subscription | Free Microsoft account | Microsoft 365 or one-time purchase |
Desktop Excel has the one trick Excel Online doesn’t: exporting the workbook as a static HTML file. You can host that file anywhere, but it won’t update on its own when the source spreadsheet changes.
What Are the Ways to Publish an Excel Spreadsheet on the Web?
Four methods cover the field: an Excel Online embed through OneDrive, a SharePoint publish, a conversion to Google Sheets, and the third-party tools like Rows.com or Zoho Sheet.
None of them is right for every situation. The call hinges on who your audience is, whether they have Microsoft accounts, and how much interactivity the published view actually needs.
Publishing via OneDrive and Excel Online
This is the one for personal use, small teams, and public websites where viewers don’t need a Microsoft account. The flow runs like this: upload the .xlsx file to OneDrive, open it in Excel Online, head to File > Share > Embed to generate an iframe code, then paste that iframe into any website, CMS, or HTML page.
The published workbook renders in the browser, and viewers get a read-only spreadsheet with no download prompt. A free Microsoft account is enough to do it.
Publishing via SharePoint
This route needs a Microsoft 365 Business or Enterprise plan, though SharePoint Online comes bundled into most Microsoft 365 plans at no extra cost (Microsoft, 2024).
SharePoint layers in permission controls that OneDrive on its own doesn’t offer. You can lock the published view down to internal users, specific groups, or external guests with controlled access.
The Excel Web Part in SharePoint also lets visitors filter and sort the data right in the browser, which is a level of interactivity a standard OneDrive iframe embed just doesn’t give you.
Converting to Google Sheets for web publishing
Google Sheets is the most practical pick when your viewers don’t have Microsoft accounts, or when you want a clean, mobile-friendly embed.
You import the .xlsx file into Google Sheets, then go to File > Share > Publish to web to generate a public link or iframe code.
Updates push to the published view in real time, and nobody needs a Microsoft account to see the output. The trade-off is that the file now lives in Google’s ecosystem instead of Microsoft’s.
Using third-party tools for advanced web publishing
Tools like Rows.com, Zoho Sheet, Datawrapper, and Flourish take Excel imports and publish the data as styled, interactive web tables or charts.
They’re worth a look when the standard Excel Online iframe looks too rough for a public-facing page. The visual output is cleaner, and some of these offer branded embed options.
The catch is that they break the direct sync between your Excel file and the published view. Every update means a manual re-import.
The best way to publish an Excel sheet on the web is with WordPress and wpDataTables
wpDataTables is the go-to WordPress plugin for tables and charts, and it’s genuinely the cleanest way to get Excel data onto a WordPress page. No clunky workarounds, no copy-pasting into HTML tables manually.
Here’s how easy it is to import Excel into WordPress:
Two ways to import Excel with wpDataTables
Before getting into the steps, there’s an important choice to make upfront. wpDataTables handles Excel in two different ways, and each has a different use case.
Option 1: Link the table to your Excel file. The plugin reads your .XLS or .XLSX file on every page load. Update the file and the table updates automatically. The trade-off is that these tables aren’t editable within WordPress, and if your file is large (think 2,000+ rows), page load times will suffer. There’s a caching option introduced in wpDataTables 5.0 that helps with this.
Option 2: Import the data into WordPress. The plugin reads your file once and stores the data directly in the database. You can then edit the table structure and data freely inside WordPress. The downside is that the table won’t stay in sync with the source file after that initial import.
Most people doing a one-time publish go with Option 1. If you need front-end editing or want the data to live independently in WordPress, Option 2 is the better call.
How to publish an Excel file with wpDataTables (step by step)
Prepare your Excel file
Your file should be in .XLS or .XLSX format. It doesn’t have to be made in Microsoft Excel specifically. LibreOffice, OpenOffice, Google Sheets exported as .xlsx — all fine.
One thing to keep in mind: formulas and merged cells are not supported. Also, once the table is created, avoid changing column names, order, or count in the original file. If you do, the table breaks and you’ll need to recreate it.
Create the table in WordPress
Go to wpDataTables > Create a Table in your WordPress admin.
- For a linked table (Option 1), click “Create a table linked to an existing data source.”
- For an imported/editable table (Option 2), click “Create a table by importing data from data source.”
Upload the file
Click Browse to open the WordPress Media Library. Upload your .XLS or .XLSX file, then click “Use selected file.”
If your file is hosted externally (Dropbox, for example), you can use the “URL from any domain” option instead. Just make sure the file is publicly accessible. For Dropbox links specifically, change &dl=0 to &dl=1 at the end of the share URL so the plugin can actually download the file.
Configure columns and save
After uploading, wpDataTables reads the column structure automatically. You can then:
- Rename columns
- Change data types (string, integer, date, URL, email, etc.)
- Set default filter values
- Reorder columns by dragging
- Skip columns you don’t need
Click “Save Changes” when done.
Insert the table into your page or post
Copy the generated shortcode and paste it wherever you want the table to appear. If you’re using Gutenberg, Elementor, Divi, or WPBakery, there are dedicated integrations that let you insert the table without touching any code.
What about Google Sheets?
wpDataTables supports Google Spreadsheets too. Go to File > Share > Publish to web in Google Sheets, select “Entire document,” publish it, and copy the generated link (it’ll include “2PACX” in the URL). Paste that into wpDataTables when prompted. That’s it.
If your spreadsheet uses formulas, check the dedicated tutorial for Google Sheets with formulas – there are a few extra steps.
For the full walkthrough, check the documentation page for importing data from Excel, CSV, or Google Spreadsheets.
How Do You Publish an Excel File Using OneDrive and Excel Online?
The OneDrive embed is the path most people take to publish a spreadsheet on the web. It runs under five minutes and works on a free Microsoft account.
By 2025, Microsoft 365 had nearly 345 million paid subscribers worldwide (SQ Magazine, 2025), which means OneDrive is already baked into the workflow for a sizeable share of Excel users.
Step-by-step: from upload to iframe
Start by uploading your .xlsx file to OneDrive, either at onedrive.live.com or through the OneDrive desktop app. From there:
- Open the file in Excel Online by clicking it in OneDrive
- Go to File > Share > Embed
- Use the preview panel to configure what the embed shows
- Copy the generated iframe code
- Paste the code into your website’s HTML or CMS editor
The iframe code looks something like this: <iframe width="402" height="346" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?..."></iframe>
Embed customization options
The preview panel gives you a few levers. You can pick which worksheet tab to display, since the embed only shows one sheet at a time. You can restrict the visible area to a named range instead of the whole sheet, which is handy when the workbook holds raw data you’d rather not expose. You can toggle the row numbers, column letters, and gridlines off for a cleaner look. And you can allow or disable the sorting and filtering controls for the viewer.
Permissions: the step most people skip
The file has to be set to publicly viewable before the embed works for outside visitors. If the sharing permission sits on “Specific people” or “People in your organization,” external viewers hit a login prompt instead of the spreadsheet.
To sort it, right-click the file in OneDrive, choose Share, and change the link setting to “Anyone with the link can view.”
Test the embed in a private browser window before you publish. That confirms the public view works without anyone needing a Microsoft account login.
One limitation worth knowing upfront
Edits made in the Excel desktop app don’t show up in the published embed until the file saves back to OneDrive and the sync finishes. Edit offline, forget to sync, and the live view stays out of date. Working directly in Excel Online sidesteps the whole problem.
How Do You Publish an Excel Spreadsheet via SharePoint?
SharePoint publishing hands teams control over who sees the spreadsheet and how they interact with it. It’s the right path when the published workbook is for an internal audience, or when viewer permissions need careful management.
SharePoint Online comes with Microsoft 365 Business Basic ($6/user/month), Business Standard ($12.50/user/month), and every enterprise plan (Microsoft, 2024), so most organizations won’t need a separate SharePoint license.
Uploading to a SharePoint document library
Everything starts in a SharePoint document library, which behaves like a shared folder with permission controls built in. Head to your SharePoint site, open the document library where the file belongs, and upload the .xlsx file through the Upload button or by dragging it in. Then open the file in Excel Online straight from SharePoint.
From there the embed process is the same as OneDrive: File > Share > Embed generates the iframe code.
SharePoint permissions vs. OneDrive permissions
| Setting | OneDrive | SharePoint |
|---|---|---|
| Public access (no login) | Yes | Yes, with admin approval |
| Internal users only | Yes | Yes default for most org sites |
| External guest access | Limited | Yes guest link or policy |
| Group-based access | No | Yes using SharePoint groups |
| Link expiration | No | Yes |
Using the Excel Web Part on a SharePoint page
SharePoint modern pages include a built-in file viewer web part that can show Excel files directly on a page, with no separate iframe code to generate.
To add it, edit the SharePoint page, click the plus (+) to add a web part, search for “File viewer,” and pick the Excel file from the document library.
Inside the Excel Web Part, viewers can sort columns, apply filters, and scroll through the data. Pivot table slicers work in this view too, which the standard OneDrive iframe doesn’t support.
External sharing and guest access
SharePoint external sharing has to be switched on at the tenant level by an admin before any guest links function. Once it’s on, you can share a specific file or page with external users through a guest access link.
That link can carry an expiration date, which OneDrive personal accounts don’t offer. For organizations in regulated industries, this controls exactly how long outside parties can view the data.
How Do You Embed an Excel Spreadsheet into a Website?
Embedding drops the spreadsheet straight inside a webpage, so visitors see it without leaving the site or clicking any external links. The iframe element handles this in every modern browser.
Mobile pulled 62.54% of global website traffic in Q4 2024 (Statista), and the default OneDrive embed code ships with a hardcoded pixel width that doesn’t resize on smaller screens. That’s a problem worth fixing before you go live.
The iframe embed code: what each part means
The embed code that Excel Online or OneDrive spits out looks like this:
<iframe width="700" height="400" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?..."></iframe>
The width and height are fixed pixel dimensions, so change them to match your page layout. frameborder="0" drops the visible border around the iframe. scrolling="no" turns off the scroll bars inside the iframe, though OneDrive sometimes ignores this setting no matter what you specify (My Online Training Hub, 2025). And src is the URL pointing at your OneDrive-hosted file, which you should leave exactly as it is.
Embedding in WordPress
WordPress blocks you from pasting iframe code directly into the visual editor by default, and there are two ways around it.
The first is to switch to the Code Editor (the three-dot menu in Gutenberg, then Code Editor) and paste the iframe straight into an HTML block. The second is to add a Custom HTML block, paste the iframe there, and save, which works in both the classic editor and Gutenberg.
Don’t paste the iframe into a Paragraph block. WordPress strips iframe tags out of Paragraph blocks for security reasons.
Embedding in raw HTML pages
On static HTML sites or pages hosted somewhere like Netlify or GitHub Pages, paste the iframe code anywhere inside the <body> tag where you want the spreadsheet to land.
To make the embed responsive, wrap it in a container div and use CSS:
.excel-embed-wrapper {
position: relative;
width: 100%;
overflow: auto;
}
.excel-embed-wrapper iframe {
width: 100%;
min-width: 400px;
}
This lets the iframe scroll horizontally on small screens instead of overflowing and wrecking the page layout.
What viewers see when permissions are wrong
A blank white iframe or a Microsoft login page means the file’s sharing permission is blocking public access. The iframe itself loads fine, but the content inside refuses to render without authentication.
Fix it by going back to OneDrive, changing the file’s share setting to “Anyone with the link,” and reloading the page. You don’t need a fresh embed code after changing the permission.
How Do You Publish an Excel File as a Web Page (HTML Export)?
Excel’s built-in HTML export turns a workbook into a static .htm file you can host on any web server. This one works with no OneDrive, no SharePoint, and no Microsoft cloud service at all.
What you get is a snapshot, and it doesn’t update when the source Excel file changes. Every time the data moves, you export again and re-upload.
How to export from Excel desktop
Open the workbook in Excel desktop on Windows, go to File > Save As, then change the file type to “Web Page (.htm, .html).”
Excel offers two export options. “Entire Workbook” exports all sheets as a multi-page HTML file with tab navigation. “Selection: Sheet” exports only the active sheet as a single HTML file.
Click Save, and Excel generates the .htm file plus a companion folder holding images, CSS, and supporting files. Both the .htm file and the folder have to be uploaded together. Upload only the .htm file and the layout breaks.
What the exported HTML actually looks like
The honest answer is, not great. The HTML Excel produces is old-style, table-heavy markup with inline styles. It keeps cell formatting, fonts, and basic conditional formatting, but it doesn’t render charts reliably and looks dated next to a properly styled web table.
For archiving or internal documentation, that’s fine. For a public-facing page where appearance matters, the OneDrive embed or a tool like embedding Excel data directly in HTML with a dedicated table plugin gives you cleaner results.
Hosting the HTML file
On a static host like Netlify or GitHub Pages, upload the .htm file and the companion folder through the hosting dashboard or a Git commit, and the file gets a public URL right away. On traditional web hosting through cPanel or FTP, upload both the .htm file and the companion folder to the same directory on your server, then reach the file at yourdomain.com/filename.htm.
No database, no CMS, no server-side processing. The file is plain HTML.
How Do You Keep a Published Excel Spreadsheet Up to Date?
A published spreadsheet showing stale data is worse than no published spreadsheet at all. How you keep it current depends entirely on which publishing approach you used.
By 2025, 91% of companies planned to use cloud-based collaboration tools to support teamwork across locations (HireBorderless, 2025). Live-updating data is a baseline expectation for most teams now, not a perk.
OneDrive auto-sync: how it actually works
When the source .xlsx file lives in OneDrive and you edit it in Excel Online, changes save automatically, and the published iframe embed reflects them the next time someone loads the page.
The wrinkle with desktop Excel is that offline edits don’t push to the embed until the file syncs back to OneDrive. Open the file from a local copy rather than directly from OneDrive and that sync doesn’t happen on its own.
The safest habit is to always open and edit the file directly in OneDrive or through the OneDrive sync folder on your computer, and to steer clear of saving local copies.
SharePoint versioning and live updates
Files stored in SharePoint document libraries update the published view with no re-publishing step. Save the file in SharePoint and the embed reflects the new version.
SharePoint also keeps version history by default. If an update introduces errors, you can restore a previous version from the document library without breaking the published embed URL.
Google Sheets: the fastest update path
Google Sheets pushes changes to the published web view within minutes of saving, with no manual step. That makes it the most reliable choice for spreadsheets that change repeatedly through the day.
The trade-off is leaving the Microsoft ecosystem. Importing an .xlsx file into Google Sheets sometimes shifts the formatting, and complex formulas don’t always transfer cleanly.
HTML export: manual every time
The static HTML export has no auto-update at all. Every data change means re-exporting from Excel desktop and re-uploading the .htm file to the server.
For data that changes daily or more, that’s not practical. For quarterly reports or static reference documents, it’s perfectly workable.
| Method | Update trigger | Manual step needed |
|---|---|---|
| OneDrive + Excel Online | Auto on save | None |
| SharePoint | Auto on save | None |
| Google Sheets | Auto within minutes | None |
| HTML export | Never | Re-export and re-upload |
| Third-party tools (Rows.com, Zoho Sheet) | Manual re-import | Yes, every update |
How Do You Control Who Can See a Published Excel Spreadsheet?
Access control is the part most people skip when they publish spreadsheet data. Get the share settings wrong and you either block legitimate viewers or expose data to anyone holding the link.
A 2024 Cisco study found that 94% of organizations confirmed their customers would no longer do business with them if they believed their data wasn’t adequately protected (Countly, 2024). Publishing a spreadsheet full of personal data with zero access control creates real compliance exposure.
OneDrive sharing settings: the three levels
“Anyone with the link” is fully public, with no Microsoft account required to view, and it’s the setting for public-facing websites where the data isn’t sensitive. “People in your organization” restricts the view to people with a Microsoft account inside your company’s tenant, so anyone not logged in gets a login prompt rather than the spreadsheet. “Specific people” needs the viewer to have a Microsoft account and be named on the share list, which is the tightest option but a lot of upkeep for a large audience.
What happens when permission blocks a viewer
The iframe loads but shows a blank white box or a Microsoft sign-in page. The embed code itself isn’t broken. The file’s permission is what’s blocking the render for that viewer.
Always test the embed in a private browser window before publishing. That mimics what an anonymous visitor sees and catches the permission errors before they go live.
SharePoint: expiration dates and guest access
SharePoint adds two controls that personal OneDrive accounts don’t offer: link expiration dates and guest-specific access policies. You can set an expiry date on any share link from the SharePoint file properties panel. External guest access has to be enabled at the tenant level by an admin first. And guest links can be scoped to view-only with no download option.
For regulated industries, link expiration doubles as a useful audit-trail control. It makes sure external parties lose access automatically instead of you relying on manual revocation.
GDPR and personal data in published spreadsheets
The rule to hold onto is simple. If the spreadsheet contains names, email addresses, financial data, or any personally identifiable information, it can’t be set to “Anyone with the link” without legal risk.
GDPR enforcement handed out 1.2 billion euros in fines during 2024, and the pressure keeps building (SecurePrivacy, 2025). Publishing personal data without proper access control violates Article 5 of the regulation.
The practical fix is to strip the personal data out of the published version and keep the full dataset in a non-public file. Publish only the aggregated or anonymized view.
What Are the Limitations of Publishing Excel Spreadsheets on the Web?
Publishing an Excel workbook to the web doesn’t give viewers the full Excel experience. Several features stop working the moment the file becomes a browser-rendered view.
Excel Online already has documented gaps against desktop Excel. The missing pieces include VBA macros, complex PivotTables, and some chart types (PracticeTestGeeks, 2025), and the published embed inherits every one of those restrictions.
Macros and VBA: completely non-functional
VBA macros don’t run in Excel Online or any browser-based embed, which Microsoft’s own documentation confirms (Microsoft Support, 2024).
The workbook opens without corrupting the VBA code, but none of the macro functionality executes. Any spreadsheet leaning on button-triggered automation, form submissions, or scripted formatting won’t behave the way you expect in the published view.
Teams moving macro-heavy workbooks to the web have to rebuild the logic with Office Scripts (which need a Microsoft 365 paid plan) or rebuild the workflows outside Excel altogether.
Chart rendering and conditional formatting
The basic chart types, bar, line, column, pie, render correctly in the browser embed. The trouble starts with 3D charts, advanced sparklines, and some custom chart configurations.
Conditional formatting can’t be applied or edited in Excel Online, though rules you set in desktop Excel do remain visible in the published view. New rules added after publishing won’t appear unless the file is re-exported.
File size and load performance
Large workbooks crawl in iframe embeds. OneDrive-hosted files above roughly 10 MB show noticeable delays, or fail to render outright in some browsers on slower connections.
The practical ceiling for a responsive embed is around 5 MB for a workbook meant for public web display. Files with thousands of rows, multiple sheets, and embedded images blow past that fast.
If the workbook’s big, think about publishing only a summary sheet that pulls the key figures from the full dataset, and keeping the raw data file separate and non-public.
Pivot tables and slicers
| Feature | Excel Online embed | SharePoint Web Part |
|---|---|---|
| View pivot table | Yes | Yes |
| Refresh pivot table | No | No |
| Use slicers | Limited | Yes |
| Add new pivot fields | No | No |
| Edit slicer settings | No | No |
Pivot tables are view-only in the OneDrive embed. Slicers work in SharePoint’s Excel Web Part but not in a standard iframe embed. Neither method lets you add new pivot fields or refresh data from an external source.
How Do Third-Party Tools Compare for Publishing Excel Data on the Web?
The Microsoft ecosystem isn’t the only road. Several third-party tools take Excel imports and publish the data as styled, interactive web tables or charts, with cleaner output than the default OneDrive iframe.
Rows.com, Zoho Sheet, Airtable, Datawrapper, and Flourish each cover a different use case. The shared catch is that none of them keep a live sync back to the original .xlsx file, which is the main trade-off against the OneDrive method. Airtable, in particular, also serves as one of the more flexible customer management tools for businesses that need to organize contacts alongside spreadsheet-style data.
| Tool | Best use case | Excel import | Live sync |
|---|---|---|---|
| Rows.com | AI-assisted data tables, shareable reports | Yes (.xlsx) | No |
| Zoho Sheet | Full spreadsheet replacement, SOC 2 certified | Yes (.xlsx, .xls) | No |
| Datawrapper | Charts and data visualizations for editorial / newsroom | CSV / paste | No |
| Flourish | Animated and interactive data stories | CSV / paste | No |
| Airtable | Database-style views, project tracking | Yes (.xlsx via import) | No |
Rows.com: AI-assisted data publishing
Rows.com pitches itself as an AI-powered spreadsheet that pairs a traditional grid with data integration and sharing features. Teams at HP and AWS have used it to build shareable data reports (Rows.com, 2024).
What sets it apart from the OneDrive embed is the output. You get a styled, branded page rather than a raw Excel iframe, so viewers see a clean table without Excel’s grid chrome.
The downside is the manual loop. Every time the source data changes, you re-import the .xlsx file by hand. There’s no automatic pull from OneDrive.
Zoho Sheet: the closest Excel replacement
Zoho Sheet imports .xlsx, .xls, and .xlsm files with strong format compatibility. It publishes spreadsheets as web pages and generates embed code for sites (Toosio, 2026).
Its security credentials run stronger than most: SOC 2 Type II certified, GDPR-compliant, AES-256 encryption at rest. For teams with compliance requirements who still want a web-published spreadsheet, Zoho Sheet covers both sides.
It’s free for personal use, and the Zoho Workplace plan starts at roughly $3 per user per month (Guideflow, 2026).
Datawrapper and Flourish: for visualization, not raw data
Neither of these is a spreadsheet. Both are purpose-built for turning data into charts, maps, and interactive visualizations for the web.
Datawrapper is widely used by newsrooms, The New York Times and The Economist among them, for publishing chart embeds, with data brought in via CSV paste or a file upload from Excel. Flourish handles animated visualizations and data stories. If the goal is to publish Excel data as a visual chart or graph rather than a table, these two run circles around any Excel embed method.
How Do You Publish an Excel Spreadsheet on the Web Without Microsoft 365?
A Microsoft 365 subscription isn’t a requirement. Three routes work without any paid Microsoft plan: the free Excel Online at Office.com, Google Sheets, and LibreOffice Calc with HTML export.
Microsoft 365 holds roughly 30% of the global office software market (Microsoft 365 Statistics, 2024). The other 70% is a lot of people who need non-Microsoft publishing options.
Free Excel Online at Office.com
A free Microsoft account (outlook.com or hotmail.com) gets you Excel Online and 5 GB of OneDrive storage, which is enough to upload, open, and generate an embed code for an Excel file.
On a free account you get Excel Online with basic editing, OneDrive file storage and sharing, iframe embed code generation through File > Share > Embed, and public sharing with the “Anyone with the link” permission. What you give up versus a paid plan is SharePoint access, the Excel Web Part, expiry dates on share links, and some of the embed customization options.
Google Sheets: the most practical free alternative
Google Sheets takes .xlsx imports and publishes straight to the web with no paid account. It’s the most widely used free alternative for teams outside the Microsoft ecosystem (TechRepublic, 2025). Once you’ve imported your workbook, each Google Sheets document can be published as an embeddable webpage or shared through a public link.
The publish flow runs File > Share > Publish to web. Pick a specific sheet or the whole workbook, then choose “Embed” for an iframe code or “Link” for a public URL. Updates push to the published view automatically after each save.
Google Sheets also lets you visualize the Google Sheets data directly, adding charts and graphs to the published output without any third-party tool.
LibreOffice Calc: no account, no subscription
LibreOffice Calc is free, open-source, and runs entirely offline. It exports spreadsheets to HTML through File > Export > HTML Document, producing a static .htm file you can host on any web server (LibreOffice Documentation, 2022).
No Microsoft account, no Google account, no cloud service in the loop. The output is plain HTML that works on any hosting platform, GitHub Pages or a basic cPanel server included.
The limitation matches desktop Excel’s HTML export: the output is static, so every data change needs a new export and re-upload. For reference documents and reports that don’t change often, it’s perfectly functional and costs nothing.
Quick comparison: publishing without Microsoft 365
| Option | Cost | Auto-updates | Account needed |
|---|---|---|---|
| Free Excel Online (Office.com) | Free | Yes OneDrive sync |
Free Microsoft account |
| Google Sheets | Free | Yes auto-push |
Free Google account |
| LibreOffice Calc + HTML export | Free | No | None |
| Zoho Sheet | Free (up to 5 users) | No (manual re-import) | Free Zoho account |
FAQ on How To Publish An Excel Spreadsheet On The Web
Can I publish an Excel spreadsheet on the web for free?
Yes. A free Microsoft account gets you Excel Online and OneDrive, which is enough to generate an iframe embed code and publish a workbook publicly. Google Sheets is another zero-cost option with no Microsoft account required.
Does the published Excel spreadsheet update automatically?
It depends on the method. The OneDrive embed syncs automatically when you save changes in Excel Online. The HTML export method doesn’t, so you have to re-export and re-upload the file every time the data changes.
Do viewers need a Microsoft account to see the published spreadsheet?
Not if you set the file permission to “Anyone with the link can view” in OneDrive. If the sharing setting is restricted to your organization or specific people, external viewers will see a login prompt instead of the spreadsheet.
Can I embed an Excel spreadsheet directly into a WordPress page?
Yes. Add a Custom HTML block in the Gutenberg editor and paste the iframe code from OneDrive or Excel Online. Don’t paste it into a Paragraph block, since WordPress strips iframe tags from Paragraph blocks for security reasons.
Will macros and VBA work in a published Excel spreadsheet?
No. VBA macros don’t run in Excel Online or any browser-based embed. The workbook opens without corrupting the macro code, but none of the automation executes. You need the Excel desktop app to run macros.
What is the file size limit for publishing an Excel workbook online?
There’s no hard published limit, but workbooks above roughly 10 MB load slowly or fail to render in iframe embeds on slower connections. For responsive web display, keep the published file under 5 MB where you can.
Can I publish only a specific sheet or cell range from my workbook?
Yes. The Excel Online embed panel lets you choose a specific worksheet tab or a named range to display. That way you can hide raw data sheets and show only the view you want the public to see.
Is it possible to publish an Excel spreadsheet without OneDrive or SharePoint?
Yes. Export the workbook as an HTML file via File > Save As in Excel desktop, then host the .htm file on any web server. LibreOffice Calc offers the same HTML export for users without a Microsoft subscription.
Can I restrict who sees my published Excel spreadsheet?
Yes. OneDrive gives you three access levels: public, organization-only, and specific people. SharePoint adds guest access policies and link expiration dates, giving more control for internal portals and compliance-sensitive data.
What are the best alternatives to the OneDrive embed for publishing Excel data on the web?
Google Sheets publish-to-web is the most practical free alternative. For styled output, Rows.com and Zoho Sheet both take .xlsx imports and generate cleaner embeds. Datawrapper works best when you’re publishing Excel data as charts.
Conclusion
This conclusion is for an article presenting the full range of options for publishing an Excel workbook as a live, browser-viewable web page.
The right method depends on your setup. OneDrive auto-sync covers most use cases with minimal effort. SharePoint adds the permission controls that regulated environments need.
For public-facing sites, the iframe embed code works across WordPress, raw HTML, and most CMS platforms.
No Microsoft 365 subscription? Google Sheets publish-to-web and Zoho Sheet both handle .xlsx imports and generate clean, publicly accessible workbook views at no cost.
Whatever path you choose, test the published spreadsheet in a private browser window before going live. One skipped permission setting is all it takes to show viewers a blank iframe instead of your data.
Btw, check out these raw file converters that can be of much help.



