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

Result of
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=3000

Not checked: needs your own link. Google Slides has no public sample we can load.

Test your link

Steps

How to embed Google Slides

  1. Open the presentation in Google Slides.
  2. At the top, clickFilethenSharethenPublish to web
  3. In the window, click Embed.
  4. Choose the presentation size and how fast the slides change.
  5. Click Publish.
  6. 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&amp;loop=false&amp;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

Profile updated

Know before you embed.

Free, no sign-up, nothing stored. Paste a URL and get a verdict, a live preview, and the fix.