Convert ICS to JSON

Turn ICS files into JSON. 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 plain JSON data.Each event becomes one object in a single array, ready for code to read.

  1. What you get

    One JSON file that holds an array. Each event in the ICS file becomes one object, and its keys are the property names from the event.

    Times become ISO 8601 text. The time zone of the start is stored under TZID, so you can tell where an event was set.

    Attendees and the organizer are written as Name <address>, which puts the person and the email in one string.

  2. What it leaves behind

    Parameters other than those above are dropped. Alarms are dropped, so reminders set on an event do not appear in the JSON. Time zone definitions are dropped too, and only the TZID name of the start is kept.

    If you need a calendar file again, JSON to ICS goes the other way.

  3. When it fails

    The conversion stops with input_corrupted when the file could not be parsed. Check that the file is a complete iCalendar file and not a cut-off copy.

ICS and JSON.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 · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

terminal
$ cv convert report.ics report.json
$ cv convert report.ics report.json

Questions.What people ask about ICS to JSON.

01OF 04

One file. All events from the calendar are in a single array, with one object per event.

As ISO 8601 text. The time zone of the start is kept under TZID.

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

Each attendee and the organizer become Name <address>, in one piece of text.

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