Developer and Text Tools

ICS Files Explained: Create, Edit and Share Calendar Events

What .ics files are, how iCalendar events and recurrence rules work, how to import calendars into Google, Outlook or Apple and avoid common time pitfalls.

Saizul Amin
Saizul Amin2 Nov 2026 · 3 min read
ICS Files Explained: Create, Edit and Share Calendar Events

ICS Files Explained: Create, Edit and Share Calendar Events

Every time you click "Add to calendar" on a website, you are probably downloading an .ics file. The format, called iCalendar and defined in RFC 5545, is understood by Google Calendar, Outlook, Apple Calendar and almost every other calendar app. This guide explains how it works and how to create your own files with the free ICS calendar editor.

What is inside an .ics file

An .ics file is plain text. A minimal event looks like this:

BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
UID:[email protected]
DTSTART:20261102T100000
DTEND:20261102T110000
SUMMARY:Team meeting
END:VEVENT
END:VCALENDAR

Each event is a VEVENT block. DTSTART and DTEND give the times, SUMMARY the title, and UID a unique identifier so apps can update the event later.

All-day events

All-day events use dates without times: DTSTART;VALUE=DATE:20261224. A subtle rule: the end date is exclusive. A holiday on 24 to 26 December ends on 27 December in the file. Many hand-made files get this wrong and lose a day.

Recurring events

The RRULE property describes repetition:

RuleMeaning
FREQ=DAILY;INTERVAL=2every other day
FREQ=WEEKLY;BYDAY=MO,THevery Monday and Thursday
FREQ=MONTHLYsame date each month
FREQ=YEARLY;COUNT=5yearly, five times
FREQ=WEEKLY;UNTIL=20270630weekly until 30 June 2027

A monthly event on the 31st skips months without a 31st, and a yearly event on 29 February appears only in leap years. That is the standard's rule, though it surprises people.

Exceptions

To cancel one occurrence of a series, add an EXDATE with that date. The rest of the series stays intact.

Time zones

Times can be:

  • UTC, ending in Z: 20261102T100000Z.
  • With a time zone: DTSTART;TZID=Europe/Berlin:20261102T100000.
  • Floating, with neither: shown at the same clock time wherever the viewer is.

Floating times suit local events such as a school timetable. For online meetings across time zones, UTC is safer.

Text rules

Commas, semicolons and backslashes in text must be escaped, and line breaks become \n. Lines longer than 75 bytes are folded onto the next line starting with a space. Good editors handle all of this for you.

Importing a file

  • Google Calendar: Settings, Import and export, choose the file and the target calendar.
  • Outlook: File, Open and export, Import/Export, or simply open the file.
  • Apple Calendar: File, Import, or double-click the file.

Importing usually copies events once. To share a calendar that updates, publish a subscription URL from your calendar service instead.

Example

A team meeting every Monday and Thursday at 10:00, ten times, is written as RRULE:FREQ=WEEKLY;BYDAY=MO,TH;COUNT=10.

Common problems and fixes

If imported events appear one hour off, the file probably used UTC or a time zone your app interpreted differently; check the time zone setting of the calendar you imported into. If all-day events end a day early, the exclusive end date was written wrongly by the program that created the file. If a recurring event does not appear in some months, look at its start date: monthly events on the 29th to 31st skip shorter months by design. Duplicate events usually come from importing the same file twice; because each event has a UID, a good editor can merge or replace them instead of doubling everything.

Sharing calendars with groups

For a club or class, send the exported file by email or post it on your website so members can import it in one step.

Limits

Complex rules such as "the second Tuesday of every month" exist in the standard but are not supported by every app.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages