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

  • 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

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://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.

| improve this answer | |
  • 10
    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
  • 1
    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
  • 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 '15 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 '18 at 17:51
  • @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 '19 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.

| improve this answer | |

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

| improve this answer | |
  • 4
    This is a valid answer for those using Google Chrome, but the OP is using Firefox. Is there a solution for Firefox? – Rebecca Dessonville Dec 16 '12 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 '13 at 22:17
  • 8
    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
  • 2
    @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

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

| improve this answer | |

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

| improve this answer | |
  • 1
    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
  • 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 '12 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 '12 at 20:39

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

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

| 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

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!

| improve this answer | |
  • 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 at 18:02

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

| improve this answer | |

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.


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

| improve this answer | |
  • 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 '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
  • 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 '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 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.