Add a Google calendar to your website

You can add an interactive version of your calendar to your website, and add buttons for your website visitors to save your calendar events.

Embed a calendar on your website

  1. On a computer, open Google Calendar. You can only get the code to embed in your website from a computer, not the Google Calendar app.
  2. In the top right, click Settings Settings and then Settings.
  3. On the left side of the screen, click the name of the calendar you want to embed.
  4. In the "Integrate calendar" section, copy the iframe code displayed.
  5. Under the embed code, click Customize.
  6. Choose your options, then copy the HTML code displayed.

    Tips:

    • Select dimensions where the width and height are each at least 500.
    • If you turn off "Navigation buttons," people who view your calendar on your website can only use keyboard shortcuts to navigate.

To subscribe to your embedded calendar, visitors can click Add to Google Calendar at the bottom left of the calendar. Your embedded calendar is only visible to people you've shared it with. To allow all visitors to find your calendar, make your calendar public.

Let site visitors save a calendar event

You can add a Google Calendar button to your website so visitors can quickly save your event on their own Google Calendars. To let anyone save your calendar event, you'll need to make your calendar public.

  1. On a computer, open Google Calendar. You can only make changes to your calendar visibility from a computer, not the mobile app.
  2. On a public calendar, create or edit an event.
  3. Click More actions and then Publish event
  4. In the "Publish event" window, copy the HTML code displayed.
  5. Open your website editor, then paste this code where you want the event button to display.

Related resource

Use keyboard shortcuts in Google Calendar

Search
Clear search
Close search
Google apps
Main menu
16708376682982035098
true
Search Help Center
true
true
true