Guides

How to export Google Calendar to Google Sheets

Updated 5 December 2026

You want your calendar as rows in a spreadsheet: to count hours, bill a client, or report on meetings.

Google Calendar's own export gives you .ics files

In Google Calendar, Settings > Import & export > Export downloads a ZIP with one .ics file per calendar. ICS is a calendar format, not a table: Google Sheets cannot open it as rows, and it includes every event you ever had, not a date range.

Option 1: Apps Script

function exportEvents() {
  var cal = CalendarApp.getDefaultCalendar();
  var events = cal.getEvents(new Date('2026-12-01'), new Date('2027-01-01'));
  var rows = [['Title', 'Start', 'End', 'Hours']];
  events.forEach(function (e) {
    rows.push([e.getTitle(), e.getStartTime(), e.getEndTime(),
      (e.getEndTime() - e.getStartTime()) / 3600000]);
  });
  var sh = SpreadsheetApp.getActiveSheet();
  sh.getRange(1, 1, rows.length, 4).setValues(rows);
}

It works for one calendar and a fixed range. You add the rest yourself: several calendars, colours, guests, all-day events, filtering, and a schedule.

Option 2: an add-on

With Calendar Pigeon, switch to Calendar → Sheet, tick the calendars, pick the dates, optionally type a keyword such as a client name, and click Export. You get one row per event (recurring events expanded) with start, end, hours, colour, guests and location, plus an optional totals tab.

Let the pigeon do it

Calendar Pigeon exports any date range of your calendars into Google Sheets with hours per event and totals by colour, title and calendar. Pro refreshes the export every day.

Get Calendar Pigeon free