What is an .ics file?
An .ics file is a calendar file in the iCalendar standard. What is inside, how to import it into Google Calendar, iPhone and Outlook, and import vs subscribe.

In short
- An .ics file is a plain-text calendar file in the iCalendar format (RFC 5545). It can hold one event or thousands, such as a year of shifts.
- Almost every calendar app reads it: Google Calendar, Apple Calendar on iPhone and Mac, and Outlook.
- Importing copies the events once. Subscribing to an .ics link keeps the calendar updated from the source.
- To import into Google Calendar, use a computer: Settings → Import & export → select the file → choose the calendar.
An .ics file is a calendar file. It holds one or more events (dates, times, titles, locations) in a standard text format called iCalendar, defined by the IETF in RFC 5545. The standard registers the media type text/calendar and the file extension .ics. Because the format is shared, a file made by one app opens in almost any other.
You meet .ics files as email attachments (“Add to calendar”), as downloads from booking sites, and as exports from scheduling tools, for example a year of work shifts.
What is inside
An .ics file is plain text. These are the first two events of a real file exported from the PlanPrint shift calendar, for crew A on a DuPont rotation:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//PlanPrint//Shift Calendar//EN
X-WR-CALNAME:DuPont - Crew A
BEGIN:VEVENT
UID:20270101-dupont-A@planprint
DTSTART:20270101T190000
DTEND:20270102T070000
SUMMARY:Night shift
END:VEVENT
BEGIN:VEVENT
UID:20270102-dupont-A@planprint
DTSTART:20270102T190000
DTEND:20270103T070000
SUMMARY:Night shift
END:VEVENT
END:VCALENDAR
(A few lines that are not needed to understand it are left out.)
VCALENDARwraps the whole file; eachVEVENTis one event.DTSTARTandDTENDare the start and end: January 1, 2027, 19:00 to January 2, 07:00. Without a time zone they are “floating” times: 7 pm wherever you are, which is right for shifts.UIDis a unique ID, so importing the same event again can be recognized.SUMMARYis the title shown in your calendar.
Other lines you may see
The shift file uses only the basics. Files from booking sites and email invitations often contain more of the properties RFC 5545 defines:
| Line | What it holds |
|---|---|
LOCATION |
Where the event is: an address or a room |
DESCRIPTION |
Longer notes, sometimes with a link |
DTSTART;TZID=America/Chicago:… |
A start time tied to a time zone, so it moves correctly when you travel |
RRULE |
A repeat rule, for example RRULE:FREQ=WEEKLY;BYDAY=MO,WE for every Monday and Wednesday |
BEGIN:VALARM … END:VALARM |
A reminder attached to the event |
ORGANIZER, ATTENDEE |
Who sent an invitation and who is invited |
METHOD:REQUEST |
Marks the file as a meeting invitation that expects a reply |
A repeat rule is perfect for “every Monday”. A rotating shift pattern such as DuPont mixes day shifts, night shifts and breaks of different lengths over 28 days, so a shift export simply lists every shift as its own event. That is why a year of shifts is a few hundred events rather than one rule.
How to open or import an .ics file
Google Calendar (on a computer): open Google Calendar on the web, go to Settings → Import & export, choose Select file from your computer, pick the calendar to add the events to, and click Import. Google’s help notes that importing works on a computer, not in the mobile app. Tip: create a separate calendar first (for example “Shifts”), so you can hide or delete all imported events at once.
iPhone and iPad: tap the .ics attachment in Mail and choose Add All to add the events to a calendar. For a long-running schedule, subscribing to a link (below) is more reliable than passing files around.
Mac: double-click the file, or in Calendar choose File → Import.
Outlook: in Outlook on the web or Outlook.com, open Calendar → Add calendar → Upload from file, choose the file and the calendar. The Outlook desktop apps also have an import option; Microsoft’s help page covers each version.
Import vs. subscribe
| Import an .ics file | Subscribe to an .ics link | |
|---|---|---|
| What you get | A copy of the events | A live calendar that refreshes from the source |
| Updates | None: changes at the source do not reach you | Automatic, at the app’s refresh interval |
| Good for | One-off events, a fixed year of shifts | Schedules that change or run for years |
| How | Upload or open the file | Paste the URL: Google “From URL”, iPhone “Add Subscription Calendar”, Outlook “Subscribe from web” |
A subscribed calendar is read-only in your app; change it at the source. Apps refresh subscriptions on their own schedule, which can take hours.
Is it safe to open an .ics file?
An .ics file is plain text: it describes events and cannot run programs on its own. The risk is the content, not the format. Events can carry links in their description or location, and unsolicited invitations are a known way to put spam links into people’s calendars. Treat an .ics attachment from an unknown sender like any other email from a stranger: do not add it, and do not click links in it. Files from your employer, an airline or a booking you made are routine.
When the file opens in the wrong app
Your computer opens .ics files with whichever app is set as the default for that type. If a double-click opens the wrong program, or nothing at all:
- Import from inside the calendar app instead of double-clicking. Every major calendar has an import option, described above.
- On Windows, right-click the file → Open with → choose the app, and tick “Always use this app” if you want to change the default.
- On a Mac, select the file → File → Get Info → Open with → choose Calendar → Change All.
How to make an .ics file
You rarely need to write one by hand. Most calendar apps export a calendar as .ics: Google Calendar under Import & export → Export, Apple Calendar under File → Export. Booking and scheduling tools usually have an “Add to calendar” or “.ics” button. For shift work, the shift schedule calendar builds the file from your rotation, crew and shift times.
Shifts as .ics
A rotation runs for years, so a calendar file is the easiest way to keep it with you. The shift schedule calendar exports a year of your crew’s shifts as a free .ics file, with start and end times you can set. With Shift Calendar Pro you get a subscription link instead, which keeps running into the next years without a new download. Step-by-step screens for each app are in how to add a shift schedule to your calendar.
Frequently asked questions
Is an .ics file safe to open?
An .ics file is text, not a program. The usual risk is unwanted events or links in them, so only import files from senders you trust, and check the event list before importing.
Why does Google Calendar not import my .ics file on my phone?
Google Calendar imports files only on a computer, in the web version. On a phone, open Google Calendar on a computer once, import the file, and the events then appear on the phone.
Can I edit an .ics file?
Yes, in a text editor, but small mistakes break it. It is easier to change events in your calendar app after importing, or to create the file again with the right settings.
What is the difference between .ics and .ical?
Both are iCalendar files. The standard registers the .ics extension for calendar data; some apps also use .ical or .icalendar for the same format.
Sources
- RFC 5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar), IETF, RFC Editor
- Import events to Google Calendar, Google Calendar Help
- Subscribe to someone's Google Calendar (Use a link to add a public calendar), Google Calendar Help
- Use multiple calendars on iPhone (subscribe to a calendar), Apple Support, iPhone User Guide
- Import or subscribe to a calendar in Outlook.com or Outlook on the web, Microsoft Support
Photos are AI-generated illustrations; diagrams and tool screenshots are made from the PlanPrint tools. Something out of date or wrong? Tell us and we will correct it.


