Docs & officedocs.google.com/presentation
Can you embed Google Slides in an iframe?
Yes. Use File, Share, Publish to web to embed the deck as a slide player. Google documents only the published copy for embeds.
Checked Test again
Live check
What the main page sends
Edit linkEmbeddable
docs.google.com/presentation/d/1EAYk18WDjIG-zp_0vLm3CsfQh_i8eXc67Jo2O9C6Vuc/edit- X-Frame-Options
- Not sent
- CSP frame-ancestors
- Not sent
- Response
- 200 OK · 514 ms · HTTPS
Published linkNot checked
docs.google.com/presentation/d/e/{published-id}/embed?start=false&loop=false&delayms=3000Not checked: needs your own link. Google Slides has no public sample we can load.
Test your linkSteps
How to embed Google Slides
- Open the presentation in Google Slides.
- At the top, clickFilethenSharethenPublish to web
- In the window, click Embed.
- Choose the presentation size and how fast the slides change.
- Click Publish.
- Copy the HTML in the text box. Paste it into your page.
Publishing makes the presentation visible to the audience you choose.
Check the slides for private data before you publish. Stop publishing to remove access.
Embed code
Paste this into your page
HTML
<iframe
src="https://docs.google.com/presentation/d/e/{published-id}/embed?start=false&loop=false&delayms=3000"
width="{width}"
height="{height}"
style="border: 0"
allowfullscreen
title="{presentation title}">
</iframe>Use the src from the embed code that Google gives you. Your size and speed choices are in it.
URL patterns
Swap the link you have for the embed URL
- You have…/presentation/d/{deck-id}/editUse in the iframe…/presentation/d/e/{published-id}/embed
You cannot make the published link from the edit link. Get it from Publish to web.
Good to know
- Visitors see a view-only version or a full-screen presentation. They cannot edit it.
- You cannot turn off automatic updates in Google Slides. Changes republish on their own.
- In work or school accounts, the administrator can turn off publishing.
- To stop, open File, Share, Publish to web, then Published content & settings, then Stop publishing.
Sources
- Google Docs Editors Help · Make Google Docs, Sheets, Slides & Forms publicsupport.google.com/docs/answer/183965
- Google Slides API · Node.js quickstart (sample presentation)developers.google.com/workspace/slides/api/quickstart/nodejs
- iframecheck live check · main page
Profile updated