Share & publish

How to Embed a PowerPoint Presentation in a Website

Turn the deck into a single HTML file, put it on your site, and show it with one line of code. Your visitors don't need PowerPoint, and you don't need a Microsoft or Google account.

PBy the PPT to HTML team·Updated 19 Nov 2026·6 min read
Quick answer

Convert your .pptx into a web presentation with PPT to HTML, upload the .html file to your website, and add an <iframe> that points to it. The slides keep their animations and work on phones.

Three ways to embed a presentation

They differ in where your file lives and what your visitors see around the slides.

Host the HTML yourselfPowerPoint for the webGoogle Slides
Account neededNoneMicrosoft account, file in OneDriveGoogle account
Where the file livesOn your own websiteOneDriveGoogle Drive
What visitors seeYour slides and nothing elseMicrosoft's viewer around your slidesGoogle's viewer around your slides
Best forFull control, no third partyDecks you already keep in OneDriveDecks you already edit in Google Slides

This guide covers the first way. If you'd rather use one of the others: in PowerPoint for the web, choose File › Share › Embed; in Google Slides, choose File › Share › Publish to web, then Embed.

1Convert the PowerPoint to a web presentation

  1. Open PPT to HTML and drop your .pptx file onto the page.
  2. Check the preview. If the notes mention a font that isn't embedded, embed it in PowerPoint and convert again.
  3. Under Download as, choose Web presentation, then click Download HTML.

You get one .html file with everything inside it: slides, pictures, fonts and animations. Nothing is uploaded while you convert.

Pick Web presentation for embedding. Editable HTML is for pages where the slides should become part of the text.
Convert your deck nowFree, no sign-up. Your file stays on your device. Open PPT to HTML

2Upload the file to your website

Put the file anywhere your site can serve it. A folder called slides keeps things tidy.

  1. Open your host's file manager, or connect with an FTP app.
  2. Create a folder called slides and upload q3-review.html into it.
  3. Open https://yoursite.com/slides/q3-review.html in a browser to check that the slides play.
Anyone with the address can open it Once the file is online, people can view and save it. Don't embed slides with confidential information.

3Add the iframe to your page

Paste this where the slides should appear, and change the address to your file:

HTML
<iframe
  src="/slides/q3-review.html"
  title="Q3 Review slides"
  style="width: 100%; aspect-ratio: 16 / 9; border: 0;"
  allowfullscreen
  loading="lazy"></iframe>
  • aspect-ratio: 16 / 9 keeps the slides in shape at any width. For older 4:3 decks, use 4 / 3.
  • allowfullscreen lets visitors use the full-screen button.
  • loading="lazy" waits until the slides scroll into view, so your page loads faster.
  • title is what screen readers announce.
Using a site builder? Paste the code into the block for custom code or embeds (WordPress calls it Custom HTML). A normal text block may remove the iframe.
The result: your slides inside your own page, with arrows, swipe and full screen.

Want search engines to read the slides?

An iframe shows the slides, but search engines treat them as a separate page. If the slide text should count as part of your article, download Editable HTML instead and paste its contents into your page. You lose the animations, but every heading and paragraph becomes normal text on your page.

If something doesn't look right

The frame is emptyOpen the file's address on its own. If that doesn't load either, the file isn't where the src points. If the file is on a different website from your page, that website may block framing; host it on the same site or on GitHub Pages.
The slides are cut off or have barsThe iframe's shape doesn't match the deck. Use 16 / 9 for widescreen decks and 4 / 3 for older ones.
The full-screen button does nothingAdd allowfullscreen to the iframe.
The fonts look differentThe font wasn't embedded in the .pptx. Embed it in PowerPoint, then convert again.

FAQ

Do visitors need PowerPoint?

No. The slides play in any modern browser, on computers and phones.

Will animations and transitions work?

Yes. Web presentations keep slide transitions and most animations. Visitors click, swipe or use the arrow keys to move through them.

Is the embed responsive?

Yes. With width: 100% and aspect-ratio, the slides fill the width of your page and keep their shape on any screen.

Can I embed slides in an email?

No. Email apps don't run iframes. Attach the .html file, or send a link to where it's hosted.

Can people download my slides?

Yes. Anyone who can see the embed can open the file's address and save it. Only embed decks you're happy to share.

Ready to put your slides online?Convert the .pptx in your browser, then follow the three steps above. Convert PPT to HTML