How to Embed a Local Dash App in PowerPoint
Question details
The user wants to embed a locally hosted Dash application (running at 127.0.0.1) into a PowerPoint presentation using the Web Viewer.

- Product
- Microsoft PowerPoint
- Device & OS
- not provided
- Scenario
- Attempting to display a local Python Dash web app inside a presentation slide using the Web Viewer add-in.
- Observed behavior
- The PowerPoint Web Viewer add-in fails to load or display the locally hosted application, as it generally does not support localhost addresses.
Ensure your Dash application is running correctly in a standard web browser and that you have an active internet connection if you plan to deploy it to a public server.
Deploy the Dash App to a Public Web Server
Since PowerPoint Web Viewer requires publicly accessible HTTPS URLs, hosting your Dash app online is the most reliable solution for embedding.
PowerPoint's Web Viewer is designed to embed secure, public websites. It blocks local network addresses (like localhost or 127.0.0.1) for security reasons. Deploying your app to a web server bypasses this restriction.
Select a hosting service that supports Python applications, such as Heroku, AWS, Render, or PythonAnywhere.
Follow your chosen platform's documentation to upload your code and deploy the Dash application so it is publicly accessible over the internet.
Once the deployment is successful, copy the live, secure HTTPS URL of your active Dash application.
Open your PowerPoint presentation, insert the Web Viewer add-in from the Add-ins menu, and paste the public HTTPS URL into the viewer's address bar to load the app.

Export the Dash App as a Standalone HTML File
If you cannot host the app online, exporting your Dash or Plotly visualizations as a standalone HTML file allows you to link to them locally.
Try WPS Office for Your Presentation Needs
If you frequently encounter add-in limitations or compatibility restrictions with Microsoft PowerPoint, consider trying WPS Presentation. It is a highly compatible, feature-rich, and lightweight alternative that excels in handling everyday office tasks.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open WPS Presentation: Launch WPS Presentation from the main dashboard.
- 3. Load your presentation: Open your existing .pptx file and continue editing with full compatibility and extensive built-in tools.

Frequently Asked Questions
Why does PowerPoint Web Viewer block localhost addresses?
PowerPoint Web Viewer relies on strict security protocols that restrict access to local network addresses (such as 127.0.0.1 or localhost). This prevents malicious web content from accessing unauthorized local files or services running on your computer.
Can I use an iframe tag to embed my local Dash app in PowerPoint?
No, PowerPoint does not natively support standard HTML iframe tags directly on a slide. You must use specific add-ins like Web Viewer, which still require public HTTPS URLs rather than localhost addresses.
Does my Dash app need to have HTTPS for the PowerPoint Web Viewer?
Yes. The PowerPoint Web Viewer strictly requires secure HTTPS URLs. Standard HTTP URLs, including local network addresses, are generally blocked by the viewer for security and privacy reasons.




