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 directly save your calendar event.

Embed a calendar on your website

On a computer, open Google Calendar. You can only get the code to embed in your website from a computer, not the mobile app.

In the top right, click Settings > Settings.

Open the Calendars tab.

Click the name of the calendar you want to embed.

In the Embed This Calendar section, copy the iframe code displayed.

Open your website editor, then paste this code where you want the calendar to display.

Your embedded calendar will only be visible to people you've shared it with. To allow all visitors to see your calendar, you'll need to make it public.

Customize your embedded calendar

On a computer, open Google Calendar. You can only customize your embedded calendar from a computer, not the mobile app.

In the top right, click Settings > Settings.

Open the Calendars tab.

Click the name of the calendar you want to embed.

In the Embed This Calendar section, click Customize the color, size, and other options.

Choose your options, then copy the HTML code displayed.

Open your website editor, then paste this code where you want the calendar to display.

Note: The Weather Calendar won't show when embedded on your website because this calendar changes for different locations.

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 to save your calendar event, you'll need to make your calendar public.

On a computer, open Google Calendar. You can only make changes to your calendar visibility from a computer, not the mobile app.

Open an event on your public calendar, then find the Visibility section.

Click Publish event.

In the Publish event window, copy the HTML code displayed.

Open your website editor, then paste this code where you want the event button to display.

Share this:

Aaron is a Calendar expert and author of this help page. Leave him feedback below about the page.