Converter tool

CSV to Calendar (ICS)

Turn a spreadsheet of events into an .ics file that calendar apps import, with titles, times, places and a time zone. It runs in your browser.

Preview

Output Preview

Load a CSV, match the columns, choose how to read the times, and press Build calendar.

CSV to Calendar (ICS)

Operator: Abdulla Al Fahad. How tools are built and checked

Schedules often start life in a spreadsheet: a conference programme, a term of training sessions, a shift rota, a list of client appointments. Typing each row into a calendar by hand is slow and invites mistakes in the times. Calendar apps cannot read a CSV directly in a reliable way, but almost all of them import an .ics file, the iCalendar format defined in RFC 5545.

This page turns the rows of a CSV into that file. You tell it which column is the title, which holds the start, and whether the end comes from an end column or a duration in minutes. Location and description are optional. You also state how to read the times, either as local times in a named time zone or as UTC, because a time like 09:00 on its own does not say where in the world it happens. Rows it cannot turn into an event are skipped and listed with their row numbers.

Key features

  • Column pickers for title, start, end or duration, location and description
  • Optional separate time columns when dates and times are stored apart
  • An explicit choice between local times in an IANA time zone and UTC, with no silent default
  • A zone name box that suggests the zone names this browser knows and rejects names it does not
  • All-day events from date-only cells, with the inclusive end date converted correctly
  • A stable UID for every event, built from a prefix you can edit and the row number
  • A preview of the first five events and a list of skipped rows with the reason for each
  • RFC 5545 text escaping, CRLF line endings and 75-octet line folding

Date formats, all-day events and ICS escaping

Start and end cells are read as ISO 8601: 2026-12-03T08:40, 2026-12-03 08:40, or with seconds, 2026-12-03T08:40:00. A trailing Z or an offset such as +05:30 marks an exact instant; those values are converted to UTC and written with a Z, whatever zone you picked. If the date and time sit in separate columns, choose the date column as the start and the time column as the start time; times may be 24-hour (14:05) or 12-hour (2:05 pm). Day-first dates like 03/12/2026 are not read, because they are ambiguous with month-first dates.

A start with a date and no time makes an all-day event. For all-day events the end date in your CSV is treated as the last day the event covers, so an offsite on 2026-11-20 to 2026-11-21 spans both days. In the file this is written as DTEND 2026-11-22, because RFC 5545 makes the end of a date range exclusive. With a duration column, all-day events need whole days in minutes (1440 per day).

The output is a text file ending in .ics. Every line ends in CRLF, as RFC 5545 requires. Commas, semicolons, backslashes and line breaks in titles, locations and descriptions are escaped, so "Dentist, check-up" is written as Dentist\, check-up. Lines longer than 75 bytes are folded onto continuation lines that start with a space, and a fold never cuts an accented letter or emoji in half.

How it works

On Build calendar, each row is checked in turn. A row without a title, without a start, with a start that is not a real date (2026-02-30 is refused), with an end that is missing or not after the start, or with a duration that is not a whole number of minutes, is skipped and reported. Nothing is guessed to fill a gap.

Every event gets a UID of the form prefix-row-N@csv-to-ics.local, a DTSTAMP set to the moment you built the file in UTC, a DTSTART and a DTEND. With a zone chosen, times are written as DTSTART;TZID=Europe/London:20261112T090000. With UTC chosen, they are written as 20261112T090000Z.

The file does not contain a VTIMEZONE block describing the zone's daylight-saving rules. The TZID is the IANA name, and the calendar app applies its own copy of that zone's rules when it imports the event. The common desktop and phone calendars resolve IANA names this way. RFC 5545 strictly asks for a VTIMEZONE for every TZID, so a strict validator will warn about its absence; choose UTC if you need a file that passes such a check.

Common use cases

  • An event organiser publishing a programme of talks so attendees can add every session in one import.
  • A coach turning a season's training plan, kept in a spreadsheet with dates and durations, into calendar entries.
  • A team lead sending a rota of on-call shifts to colleagues who all use different calendar apps.
  • A student converting an exam timetable exported from a school system into events with room numbers as locations.

How to use this tool

  1. Choose the CSV or press Use sample schedule to load five example rows, one of which is deliberately missing its end.
  2. Check the title and start columns the page pre-selected from your headers.
  3. Choose End date-time column or Duration in minutes and pick that column.
  4. Pick location and description columns if you have them.
  5. Choose As local times in a time zone and confirm the zone name, or choose As UTC.
  6. Press Build calendar, read the five-event preview and any skipped rows, then download the .ics file and import it into your calendar.

Example

appointments.csv, read as America/New_York

title,start,end,location
"Dentist, check-up",2026-12-03T08:40,2026-12-03T09:10,High St Dental
Quarterly planning,2026-12-07T13:00,2026-12-07T16:30,Room 4; 2nd floor
Flight home,2026-12-18 19:05,,

appointments.ics (row 3 skipped: the end date is empty)

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Convert CSV//CSV to ICS//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
UID:appointments-row-1@csv-to-ics.local
DTSTAMP:20261112T101500Z
DTSTART;TZID=America/New_York:20261203T084000
DTEND;TZID=America/New_York:20261203T091000
SUMMARY:Dentist\, check-up
LOCATION:High St Dental
END:VEVENT
BEGIN:VEVENT
UID:appointments-row-2@csv-to-ics.local
DTSTAMP:20261112T101500Z
DTSTART;TZID=America/New_York:20261207T130000
DTEND;TZID=America/New_York:20261207T163000
SUMMARY:Quarterly planning
LOCATION:Room 4\; 2nd floor
END:VEVENT
END:VCALENDAR

Tips for best results

  • Import into a new, separate calendar first. If something looks wrong you can delete that calendar in one go instead of hunting down dozens of events.
  • Keep the event ID prefix the same when you fix a typo and import the list again. Calendars that honour UIDs update the existing events instead of creating duplicates.
  • Use a different prefix for a different list. Two files that both use the default prefix and both have a row 3 would give those events the same UID.
  • Pick the zone where the events physically happen, not the zone you are in, when you are planning a trip or a remote event.

Edge cases to watch

Durations are added to the wall-clock time. An event that starts at 01:30 on the night clocks go back and lasts 60 minutes is written as ending at 02:30 local time, which a calendar shows as a two-hour event across the change. Use explicit end times for events that cross a daylight-saving switch.

Mixing kinds of time in one row is refused when a zone is chosen: a start of 2026-12-03T08:40Z with an end of 2026-12-03T09:10 cannot be compared safely, so the row is skipped rather than guessed. Make both cells local or both carry an offset.

Recurring events are not created. A weekly meeting needs one row per occurrence; the file has no RRULE lines.

Reminders, attendees, colours and busy or free status are not written. Calendar apps add their own default reminder on import, or none, depending on their settings.

Some apps treat an .ics file as a one-off import and others subscribe to it. This page only produces the file; it does not host a feed URL that updates when the CSV changes.

Common errors and how to fix them

Row 5: the end date is empty.
Fill in an end for that row, or switch to Duration in minutes if your CSV has a length column instead.
Row 2: the start "12/03/2026 08:40" is not a date or time this tool reads.
Reformat the column as YYYY-MM-DD HH:MM in your spreadsheet before exporting. Slash dates are refused because 12/03 can mean either March or December.
The zone name box says the name is not recognised.
Use the full IANA name from the suggestions, such as America/New_York. Abbreviations like EST or BST are not zone names and are refused.
Events appear one or more hours off after import.
The times were read in the wrong zone. Rebuild with the zone where the events take place, or with UTC if the source times were recorded in UTC.

Best practices

  • Check the five-event preview against the source spreadsheet before downloading; it shows the times in the zone you picked.
  • Keep titles short and put detail in a description column, since many calendar views truncate long titles.
  • Keep the CSV as the master copy and regenerate the .ics file from it when plans change.

Why the page makes you choose a time zone

RFC 5545 allows floating times, written with neither a zone nor a Z, which each calendar shows at the same clock time wherever the viewer is. That suits a reminder to take medicine at 08:00, but for a meeting it means colleagues in different zones see different moments. Calendar apps also handle floating times inconsistently on import.

So this page does not write floating times. You either name the zone, and the file holds each start and end as a local time tagged with that IANA zone name, or you confirm that the times are UTC, and they carry a Z. For zoned times, the calendar app that imports the file works out the actual moment from its own copy of that zone's rules; the file itself carries no offset or daylight-saving table.

How the UID keeps re-imports tidy

A UID is the identifier a calendar uses to recognise an event it has seen before. Because this page builds it from your prefix and the row number, the same CSV gives the same UIDs every time. Correct a room number, rebuild, import again, and calendars that match on UID replace the old event.

The flip side is that the UID follows the row position. If you insert a new row near the top of the CSV, every event below it shifts by one and inherits its neighbour's UID. Add new events at the bottom of the list, or change the prefix and import into a fresh calendar.

Frequently asked questions

Which calendar apps can open the file?

Any app that imports iCalendar files, which includes the calendars built into desktop and phone operating systems and the main web calendars. Most offer an Import option in their settings, or open the file when you double-click it.

Can each row have its own time zone?

No. One zone applies to every event in the file. To mix zones, give the times in the CSV an explicit offset such as +01:00; those rows are converted to UTC and land at the correct instant.

Why is the DTSTAMP different every time I build the file?

DTSTAMP records when the file was made, which RFC 5545 requires. It changes on each build; the UID, start and end do not.

Can I make all-day events?

Yes. Leave the time out of the start cell, as in 2026-11-20, and do not choose a start time column. The end cell should also be a date only, giving the last day the event covers.