Convert ICS to YAML

Turn ICS files into YAML. An array with one object per event, keyed by property name; times become ISO 8601 text with the time zone of the start under TZID, and attendees and the organizer become Name <address>.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop ICS files on the dialor turn it to pick what to do

Calendar events as YAML data.Each event becomes an entry in one YAML file.

  1. What you get

    One YAML file holding an array with one object per event. Each object is keyed by property name, so you read a field by its name.

    Times become ISO 8601 text. The time zone of the start is written under TZID.

    Attendees and the organizer are written as Name <address>.

  2. What it leaves behind

    Other parameters on properties are dropped. Alarms are dropped too, so reminders do not carry over.

    Time zone definitions are not copied. Only the TZID value for the start is kept.

  3. When it fails

    The conversion stops with input_corrupted when the file could not be parsed. Check that the source is a valid ICS file before you convert it again.

    To go the other way, use YAML to ICS.

ICS and YAML.What each format is.

The formats

From · ICS

iCalendar

iCalendar events and calendars.

Extensions
.ics .ical
MIME type
text/calendar
Kind
Text and data
To · YAML

YAML

YAML configuration and data files.

Extensions
.yaml .yml
MIME type
application/yaml
Kind
Text and data

In your code.The same ICS to YAML conversion through the API, for your app or your agent.

terminal
$ cv convert report.ics report.yaml
$ cv convert report.ics report.yaml

Questions.What people ask about ICS to YAML.

01OF 04

Yes. The output is an array with one object per event, in one file.

Each attendee is written as Name <address>. The organizer is written the same way.

No. Alarms are dropped, along with other parameters and time zone definitions.

It means the file could not be parsed, so no YAML is produced.

More conversions.Other ways in and out of ICS and YAML.