Lots of web sites have an option to export events as an ICS file that can then be imported into a desktop or web-based calendar (for example if you're invited to a Facebook event there will be an export button that gives you an ICS file).

By default in Firefox 3.5 on Vista I'm only offered three options here "Open with Windows Calendar", "Open with Other" or "Save File", so what I'd do is save the file onto my PC, and then log into Google Calendar and import that ICS file.

What I'd like is to have an "Open with Google Calendar" or "Import to Google Calendar" type option when I click the Export link.

I know that you can configure Firefox to send mailto: links to Gmail, and I've got the Operator extension installed that will detect hCalendar microformat entries embedded in the text and offer to import them to Google Calendar, but I can't work out how to configure either of these to do what I need.

Preferably I'd do this without installing any additional software, and in a way that will work with a Google Apps account (but if someone can point toward a solution for normal Google Calendar's that would be a good start).


11 Answers 11


I based my solution to this off of the code to add Gmail as a mailto: handler, and adapted using information taken from Google Chrome's preferences file:

javascript:window.navigator.registerProtocolHandler("webcal","https://calendar.google.com/calendar/render?cid=%s","Google Calendar");

To use it, just go to Google Calendar, open Firefox's Web Console (Ctrl+Shift+K), and paste it into the code box.

  • 17
    That's a great solution for importing calendar feeds, however I still haven't found a convenient way to add single events to Google calendar from an ICS file via a URL. Any solution for this?
    – kynan
    Jun 11, 2013 at 22:20
  • 1
    This solution did not word for me - Firefox still tries to open Chrome which does not handle "webcal".
    – DaSh
    Mar 7, 2015 at 16:35
  • 8
    [19:28:59.586] Permission denied to add https://www.google.com/calendar/render?cid=%s as a content or protocol handler
    – endolith
    Oct 15, 2015 at 23:29
  • The error message goes away when I change the domain to calendar.google.com (to match the domain shown in the address bar). However, Gmail still does not handle .ics content after doing that.
    – Eric J.
    Aug 13, 2018 at 17:51
  • 1
    @endolith for security reasons you need to run registerProtocolHandler on domain you want to register… in this case navigate to google.com, open console and then paste&run code.
    – iiic
    Nov 7, 2019 at 12:07

I have had the same need for quite some time. And because I couldn't find anything suitable, I've built my own app.

It's called Calify. http://www.califyapp.com

The installer registers the app as the default program for handling *.ics files, so it works for both opening e-mail attachments and downloading event detail exports from webpages. It does not store your account details in any way. All the authentication happens in the browser.
And beside Google Calendar, it also supports Yahoo! Calendar and Outlook.com Calendar.
And it's free. Enjoy.

  • 2
    Looks nice, but Windows only? :(
    – willkil
    May 6, 2014 at 16:19
  • 4
    I'm using OS X.
    – willkil
    May 21, 2014 at 19:04
  • 2
    OK, give it a vote. calify.uservoice.com/forums/242713-general/suggestions/…
    – jansokoly
    May 22, 2014 at 22:36
  • Great but doesn't seem to work with a lot of .ics files. And the icalvalid.cloudapp.net link doesn't work :-( Can this be open sourced?
    – Schneider
    Mar 28, 2017 at 2:14
  • 1
    Site is down (22 May 2019)
    – Tyilo
    May 22, 2019 at 17:29

If you are using Google Chrome then you can make Google Calendar your handler for ICS files:

  1. Click the Chrome menu on the browser toolbar.
  2. Select SettingsShow advanced settings (at the bottom of the screen)
  3. In the Privacy section, click Content settings (you'll need to scroll down)
  4. Click on Manage handlers... and associate webcal with "Google Calendar"

Or you can put this in the Omnibar: chrome://settings/handlers

  • 6
    This is a valid answer for those using Google Chrome, but the OP is using Firefox. Is there a solution for Firefox? Dec 16, 2012 at 4:34
  • 2
    Technically that's not entirely correct: you don't make Google Calendar the handler for ICS files, but for the webcal protocol.
    – kynan
    Jun 11, 2013 at 22:17
  • 11
    I don't see a way to add a handler from that dialog box. Just a list of handlers (which is blank) and a Done button. I see the same thing on Chrome 32.0.1700.19 beta and Chrome 33.0.1707.0 dev
    – studgeek
    Nov 21, 2013 at 17:15
  • 3
    @DaSh open Google Calendar, click the grey icon next to the bookmark "star" icon, OK it and you should see it appear.
    – Federer
    Aug 28, 2015 at 7:52
  • 2
    There is no manage handler option under chrome://settings/handlers, there is just a toggle
    – boardtc
    May 21, 2019 at 15:52

An interesting workaround is to send the .ics file to your Gmail address and then just click the "Add to calendar". (Don't forget that you can easily drag and drop files into your Gmail as attachments.)

Especially if you want that mainly for Facebook events then you don't even have to download the file, because you have the option to send it to yourself.

alt text

and the e-mail that I received look like this: alt text

  • 2
    I don't get a link with "Add to calendar" in gmail. This has always puzzled me. I see a special icon showing a calendar in the message preview, but I can only download the .ics file, not add to calender... So this solution doesn't work for me :(
    – x3ja
    Jul 18, 2010 at 21:16
  • @x3ja I updated the answer to show you the link.. at least in my version looks like this.. what language you are using in your GMail?
    – Lipis
    Jul 18, 2010 at 22:07
  • Weird - I don't get that at all - it just looks like a normal message for me except the little icon alongside the basic message details. I'm using Google Apps version of Gmail and it's in US English (so I get the cutting edge features). I've been confused about this since Google announced the feature... doesn't work for me! :(
    – x3ja
    Jul 19, 2010 at 4:24
  • 1
    Adding to the Gmail calendar worked for me and it just took a few minutes to setup. Thanks for your answer.
    – user17414
    Feb 16, 2012 at 16:44
  • 1
    I sometimes get the "Add to Calendar" link, but sometimes (eg when I create the event myself in Outlook) don't.
    – Noel Yap
    Sep 24, 2012 at 20:39

Workaround for Windows 10: use the Calendar app

  1. add your Google calendar to the Windows Calendar app (Start -> Calendar -> Settings -> Manage accounts -> add account)

  2. make sure .ics files are opened with the Calendar app (Settings -> Choose a default app by file type -> .ics -> Choose an app -> Calendar)

Now, when an .ics file is downloaded from a web site, you can just double click it and Calendar app adds the event to the Google Calendar. Yeah!

  • The best solution for a Win10 machine. In the first run, it asks for an account. I didn't know that you could use a Google Account. Now it associates GCalendar and Gmail, synching them to your desktop.
    – neves
    Apr 2, 2020 at 18:02
  • 2
    The permissions required seem a bit excessive, does Windows need rights to delete my mail and contacts to perform this function? Excessive Permissions Screenshot
    – David Cobb
    Jan 20, 2021 at 21:16

If you follow these steps, then you will get the job done:

  • go to Google Calendar settings
  • go to 'calendar'
  • 'import calendar'
  • import the .ics file
  • now tick the sync option under 'email account management' on your blackberry
  • 1
    Read through all the other answers and tried a few that seemed like they would work, but this was the only one that worked for me.
    – willkil
    May 6, 2014 at 16:36
  • 5
    Although working, very cumbersome to do this for every meeting invitation ;)
    – GerardJP
    Feb 10, 2021 at 10:30
  • 2
    There's nothing "automatic" about this. Apr 28, 2021 at 22:17

Just announced from the Gmail team:

Easily add events from attachments in Gmail into Google Calendar

Now when you receive an attachment with calendar events in .ics format, you can add these events to your Google Calendar right from Gmail with just one click. No more downloading and manually importing!

Plus, events created in Google Calendar will link back to the original email, making it easy to find that booking confirmation email when you need it.

screen shot


If you are after an in-browser way of doing this then for Chrome use the Add to Google Calendar extension. It even highlights your question.

Look what it does to your question http://s3.amazonaws.com/twitpic/photos/full/131858700.png?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&Expires=1279474285&Signature=KWah6fmAtPs5nvGVWLwtsf9U13A%3D

On Firefox your best bet is add.2.cal, although .ics support is flaky; from the site:

add.2.cal recognizes common sites (e.g. Facebook and Evite) and will pre-fill calendar details for you

  • I tried the Add to Google Calendar extension on a MacOS but it's not doing it automatically for the facebook events. It downloads the file... can someone try it on Windows?
    – Lipis
    Jul 18, 2010 at 14:31
  • It doesn't work for Facebook, I remember seeing this question and trying this. All the extension does is look for "ics" in the link. Notice how it is activated on the link for the question but there's no .ics file? Facebook doesn't have a link with "ics" so the extension doesn't work. Jul 18, 2010 at 14:58
  • add.2.cal is the opposite side of the extreme though - it works with Facebook but fails on ics detection. Personally just use the semantic web microformats toolbar and hack in anything that is required (like Google Calendar/Outlook support).
    – Metalshark
    Jul 18, 2010 at 14:59
  • Didn't work on a local *.ics file for me. According to documentation, should look for *.ics links in a page, but when I browse to the folder, I don't see how to import the event. Like @Lipis, chrome wants to download the file
    – willkil
    May 6, 2014 at 16:29
  • The links are broken to both the Chrome extension and the Firefox extension.
    – Flimm
    Nov 11, 2021 at 7:39

Send yourself an email with the .ics file attached. Gmail will give you the option to add it to your calendar. Click the hyperlink in the email to add the event to your calendar.

Email ics file to yourself


For anyone fine with just importing it the manual way, and don't want to install extra software or email themselves the file, you can actually do this in the Google Calendar web app.

Steps pulled from this Google support response explaining the appropriate method: https://support.google.com/calendar/thread/3231927?hl=en&msgid=3236002

  • Open Google Calendar.
  • In the top right, click Settings settings-cog > Settings.
  • Click Import & Export.
  • Click Select file from your computer and select the file you exported. The file should end in "ics" or "csv".
  • Choose which calendar to add the imported events to. By default, events will be imported into your primary calendar.
  • Click Import.



The GCal ICS importer might do the trick;


Installation and use
1. Configure the application to use your GCal account
2. Configure Windows to use this aplication to handle .ics files

(from http://gcalicsimporter.codeplex.com/documentation)

  • 1
    It's close but I was hoping for something entirely within the browser (such as a browser add-in, or configuration change), locally installing a full .Net based local app isn't very portable. After all this is Web Apps, not SuperUser ;-)
    – GAThrawn
    Jul 14, 2010 at 15:22
  • For browser based solutions I did come across this; userscripts.org/scripts/show/7994 That might prove useful, even as a starting point. Original info also here; web.archive.org/web/20080614075446/http://nootech.net/site/code/… Hope this proves useful, if not, best of luck finding a solution.
    – Whitingx
    Jul 15, 2010 at 10:35
  • 1
    I tried this application, but when I ran it with an ics file, it added an event to my calendar on the current day (not the day of the invite) at a random time... shame, it's close. Not going to give the bounty to this one even if it is the only suggestion.
    – x3ja
    Jul 17, 2010 at 10:47
  • This also requires you to store your Google username and password in plain text on the disk. Jan 2, 2012 at 16:19
  • @MichaelHoffman Use application-specific passwords. Apr 23, 2012 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.