Schedulingcalendar.google.com

Can you embed Google Calendar in an iframe?

Yes, with the embed code from Integrate calendar. Make the calendar public so visitors can see the events.

Checked Test again

Live check

Two links, two results

Result of
Calendar appEmbeddable
calendar.google.com/calendar/u/0/r
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
403 Forbidden · 123 ms · HTTPS
Embed URLEmbeddable
calendar.google.com/calendar/embed?src=en.usa%23holiday%40group.v.calendar.google.com
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 133 ms · HTTPS

Steps

How to embed Google Calendar

  1. On a computer, open Google Calendar. The mobile app cannot make embed code.
  2. At the top right, clickSettingsthenSettings
  3. On the left, click the name of the calendar.
  4. Click Integrate calendar. Under Embed code, click Customize.
  5. Choose your display options. Set the width and height to 500 or more.
  6. Click Copy to clipboard. Paste the code into your page.

A calendar is not public by default.

Only people you share it with can see it. To show events to all visitors, turn on Make available to public.

Embed code

Paste this into your page

HTML
<iframe
  src="https://calendar.google.com/calendar/embed?src={calendar-id}"
  width="800"
  height="600"
  style="border: 0"
  title="{calendar title}">
</iframe>

Use the code from Customize. It keeps your display options in the URL.

URL patterns

Swap the link you have for the embed URL

  • You havePublic URL to this calendarUse in the iframehttps://calendar.google.com/calendar/embed?src={calendar-id}

Find the public URL and the embed code under Integrate calendar in the calendar settings.

Good to know

  • To make a calendar public, open its settings. Under Access permissions for events, check Make available to public.
  • To hide event details, select See only free/busy (hide details).
  • If you turn off Navigation buttons, visitors can move only with keyboard shortcuts.
  • Visitors can click Add to Google Calendar to subscribe.

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.