logo
search
Office Settings & Configuration

Can You Package a Static Website in a PowerPoint Add-in?

Chanuka GeekiyanageChanuka Geekiyanage Sep 29, 2026 869 views

Question details

The user wants to know if it is possible to bundle static web files like HTML, CSS, JavaScript, and WebAssembly directly into a PowerPoint Add-in locally, avoiding the need for an external web host.

Can You Package a Static Website in a PowerPoint Add-in?
Product
Microsoft PowerPoint
Device & OS
not provided
Scenario
Developing and deploying a modern PowerPoint Office Add-in.
Observed behavior
Modern Office Add-ins rely on web technologies, raising questions about whether they can be fully self-contained offline packages similar to traditional VBA projects.
Before you start

Ensure you have access to an HTTPS-enabled web hosting service, as modern Office Add-ins strictly require a secure web server to load client-side files.

Solution 1Recommended

Host the Static Files on an HTTPS Web Server

Office Add-ins cannot be packaged as self-contained local files; they must be hosted externally and linked via the XML manifest.

Unlike older VBA macros which embed directly into the document, modern Office Add-ins (built with Office.js) operate as independent web apps running in a browser control. They require all HTML, CSS, JavaScript, and WebAssembly files to be served from an external server.

To deploy your add-in, you must host your static website on a secure HTTPS server and point your add-in's manifest file to that location.

1
Prepare your static web files

Develop and finalize your client-side files, including your HTML, CSS, JavaScript, and any WebAssembly (WASM) components.

2
Choose a secure hosting provider

Select a static web hosting service that supports HTTPS. Free options like GitHub Pages, Azure Static Web Apps, or Cloudflare Pages work perfectly for static sites.

3
Deploy your files

Upload your website files to the chosen hosting provider and verify that they are accessible via a secure HTTPS URL.

4
Update the Add-in manifest

Open your add-in's XML manifest file and locate the <SourceLocation> tag. Update the DefaultValue attribute to point to the new HTTPS URL of your hosted web application.

Host the Static Files on an HTTPS Web Server
VBA Alternative: If you strictly require a completely self-contained, offline deployment without any web hosting, you will need to use traditional VBA (Visual Basic for Applications) instead of modern Office.js Add-ins, keeping in mind that VBA lacks modern web integration capabilities.
Free Microsoft Office alternative

Looking for a Lightweight, Highly Compatible Presentation Tool?

While dealing with add-in deployments and configurations, having a seamless, lightweight Office alternative can boost your productivity. WPS Office offers robust presentation software that is fast, free, and incredibly easy to use.

  1. 1. Download and Install: Visit the WPS Official website to download the free installer, then run it to install the suite on your device.
  2. 2. Open WPS Presentation: Launch the application and select Presentation to start a new slideshow or open an existing file.
  3. 3. Work Seamlessly: Drag and drop your existing .pptx files directly into WPS Presentation without losing any original formatting or layouts.
100% compatibility with Microsoft PowerPoint (.pptx) formatsLightweight installation that opens complex presentations in secondsFamiliar, easy-to-navigate tabbed user interfaceCompletely free to use with rich built-in templates and tools
QA img-9

Frequently Asked Questions

Can I use a local file path (file://) in my Office Add-in manifest?

No. Modern Office Add-ins mandate a secure HTTPS connection. The SourceLocation in your manifest must point to an https:// URL, meaning local file paths will not work for deploying or running the add-in.

Why does VBA allow local bundling but Office.js does not?

VBA scripts are natively embedded directly into the binary or XML structure of the document file (e.g., .pptm). Modern Office Add-ins, however, are essentially web applications loaded inside a secure web view container provided by the Office host, requiring standard web hosting protocols.

Where can I host my static Office Add-in files for free?

You can host static files (HTML, CSS, JS, WASM) securely for free using services like GitHub Pages, Cloudflare Pages, Netlify, or the free tier of Azure Static Web Apps, all of which provide the required HTTPS encryption out of the box.

How do I distribute my modern Office Add-in once the files are hosted?

Once your web files are hosted on an HTTPS server, you distribute the lightweight XML manifest file to your users. They can sideload this manifest locally, or administrators can deploy it centrally via the Microsoft 365 admin center.