Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).

share|improve this question
I want a solution to this too! Even when I click on a calendar invite in Gmail it doesn't seem to load through to Google Calendar - instead it tries to open in Outlook or whatever, – x3ja Jul 9 '10 at 3:14
@x3ja because you are clicking on the wrong thing! Check my answer to see where you should click in your gmail! – Lipis Jul 18 '10 at 22:56
@Lipis and see my reply as to why that doesn't work for me :) – x3ja Jul 19 '10 at 4:27
up vote 9 down vote accepted

I found a final solution to this! I based it 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://www.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.

share|improve this answer
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 '13 at 22:20
This solution did not word for me - Firefox still tries to open Chrome which does not handle "webcal". – DaSh Mar 7 '15 at 16:35
[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 '15 at 23: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

share|improve this answer
This is a valid answer for those using Google Chrome, but the OP is using Firefox. Is there a solution for Firefox? – Dez Dec 16 '12 at 4:34
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 '13 at 22:17
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 '13 at 17:15
What if my Chrome shows now drop down menu aka no handlers listed? – DaSh Mar 7 '15 at 16:23
@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 '15 at 7:52

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.

share|improve this answer
Looks nice, but Windows only? :( – willkil May 6 '14 at 16:19
@willkil, what platform support are you looking for? – jansokoly May 14 '14 at 12:34
I'm using OS X. – willkil May 21 '14 at 19:04
OK, give it a vote. calify.uservoice.com/forums/242713-general/suggestions/… – jansokoly May 22 '14 at 22:36
K, voted. Thanks – willkil May 27 '14 at 20:27

An interesting workaround is to send the .ics file to your gmail 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

share|improve this answer
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 '10 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 '10 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 '10 at 4:24
Adding to the Gmail calendar worked for me and it just took a few minutes to setup. Thanks for your answer. – user17414 Feb 16 '12 at 16:44
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 '12 at 20:39

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

share|improve this answer

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

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

share|improve this answer
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 '10 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. – Rebecca Chernoff Jul 18 '10 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 '10 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 '14 at 16:29

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
share|improve this answer
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 '14 at 16:36

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

share|improve this answer

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)

Hope this helps.

share|improve this answer
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 '10 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 '10 at 10:35
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 '10 at 10:47
This also requires you to store your Google username and password in plain text on the disk. – Michael Hoffman Jan 2 '12 at 16:19
@MichaelHoffman Use application-specific passwords. – Jamie Kitson Apr 23 '12 at 13:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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