Convert Merlin Project ICS to CSV

How to turn a Merlin Project ICS calendar file into CSV rows: what the conversion does, what to check in a converter, a local script option, and the limits on dates, encoding and data privacy.

The direct answer

Converting a Merlin Project ICS file to CSV is a structural conversion. The ICS file is iCalendar plain text, defined by RFC 5545, in which each scheduled item sits in a block such as VEVENT or VTODO and carries properties like SUMMARY, DTSTART, DTEND and DESCRIPTION. A converter reads each block and writes it as one CSV row, with one column per property. The result is a delimited table you can open in a spreadsheet, filter, or import into another tool.

This is not a cosmetic text effect. No Unicode character substitution, CSS styling, text reversal, glyph mirroring or bidirectional display trick is involved. Task names and notes should come out as the same ordinary characters that went in. If a converter changes the characters themselves, treat that as an error rather than a feature.

Evidence gap: this article could not confirm which export formats your version of Merlin Project offers or which fields it writes into its ICS output. Check the application's own export options first. If a direct tabular export exists, it may keep project fields that a calendar format cannot carry, such as resources, costs or dependencies.

What happens to the data during conversion

The table shows how common iCalendar properties usually map to CSV columns, and what a converter has to handle for each one. Which of these properties a Merlin Project export actually contains has not been verified here, so inspect your own file in a plain-text editor before choosing columns.

ICS property | Typical CSV column | What the converter must handle
UID | ID | Keep it unchanged so rows can be matched back to the source
SUMMARY | Title or task name | Remove iCalendar escapes such as a backslash before commas and semicolons
DTSTART | Start | Time zone (TZID parameter or a trailing Z for UTC) and date-only values for all-day items
DTEND or DUE | End or due date | VEVENT uses DTEND or DURATION; VTODO may use DUE instead
DESCRIPTION | Notes | Escaped line breaks and long lines folded across several physical lines
RRULE | Recurrence | Either expand into separate rows or keep the rule as text; the two choices give different row counts
X- properties | Custom columns | Application-specific fields that generic converters may silently drop

What to check when choosing a converter

No specific converter products, prices or feature claims were tested for this article. Use these checks to evaluate any option, whether it is a paid app, a free web page or a script.

  • Line unfolding: RFC 5545 folds long lines by starting the continuation with a space. A correct converter joins them back before reading values.
  • Unescaping: commas, semicolons, backslashes and line breaks inside values are escaped in ICS and should appear as normal text in the CSV.
  • Component coverage: confirm whether it reads VTODO as well as VEVENT. Project tasks may be exported as either.
  • Time zones and all-day items: check whether times are converted, kept as written, or labeled with their zone, and whether date-only values stay date-only.
  • Recurrence: find out whether repeating items are expanded or left as a single row.
  • CSV quoting: fields containing commas, quotes or line breaks must be quoted as described in RFC 4180, or rows will split.
  • Encoding: output should be UTF-8 so accented and non-Latin characters survive.
  • Column control: being able to choose and order columns saves cleanup later.
  • Where the processing happens: in the browser or on your machine, versus uploaded to a server.

A local option with a short script

If you prefer to keep the file on your own computer, a short Python script using the open-source icalendar library can do the conversion. The library handles unfolding and unescaping. The example below writes one row per VEVENT or VTODO, does not expand recurrence rules, and leaves cells empty for missing properties. Adjust the file names and the column list to match what your export contains; a VTODO that uses DUE instead of DTEND needs that property added to the list.

import csv
from icalendar import Calendar

with open("merlin-export.ics", "rb") as f:
    cal = Calendar.from_ical(f.read())

columns = ["UID", "SUMMARY", "DTSTART", "DTEND", "DESCRIPTION"]

with open("merlin-export.csv", "w", newline="", encoding="utf-8-sig") as out:
    writer = csv.writer(out)
    writer.writerow(columns)
    for item in cal.walk():
        if item.name not in ("VEVENT", "VTODO"):
            continue
        row = []
        for prop in columns:
            if prop not in item:
                row.append("")
            elif prop in ("DTSTART", "DTEND"):
                row.append(item.decoded(prop).isoformat())
            else:
                row.append(str(item.get(prop)))
        writer.writerow(row)

The utf-8-sig encoding adds a byte order mark at the start of the file. Some spreadsheet applications use it to detect UTF-8; if your destination tool does not want it, change the encoding to utf-8. Dates are written in ISO 8601 form, which keeps any time zone offset that the source value carried.

Limits that affect readability and reuse

A calendar format holds less than a project plan. ICS describes items with times and text, so project structure such as task hierarchy, resource assignments, dependencies and costs is likely to be absent unless the exporting application wrote it into custom properties. Whether Merlin Project does so is unconfirmed. If you need those fields, the ICS route may not be suitable.

Spreadsheets can change values on import. Opening a CSV directly often triggers automatic type detection, which may reformat dates, drop leading zeros from identifiers or shift times. Importing through a text or data import dialog, where you set column types yourself, avoids most of this. A file read as the wrong encoding shows garbled accented characters; that is a reading problem, not damage to the file, and it is fixed by choosing UTF-8 at import.

Delimiter expectations vary by locale. In US settings a comma is the usual separator. Spreadsheet software set to a locale that uses the comma as a decimal mark may expect semicolons instead. If the whole row lands in one column, check the delimiter before assuming the conversion failed. A tab-separated file is an alternative when text fields contain many commas.

Copy and paste and accessibility are generally favorable here because the output is ordinary text. Plain characters stay searchable, sortable and readable by assistive technology in a way that decorative Unicode substitutions do not. This article did not test specific screen readers or destination apps, so the behavior of a particular tool is not confirmed. Task names written in right-to-left scripts are stored in logical order in the CSV; how they display depends on the application that opens the file, and the stored text should not be reordered to fix a display issue.

Sensitive data needs a deliberate choice. Project schedules can include client names, internal deadlines and notes. A web converter that uploads the file sends that content to someone else's server, and the data handling practices of any particular service were not reviewed for this article. Read the service's own privacy and retention terms before uploading, or use a local tool or script when the schedule should not leave your computer.

Checking that the output is usable

  • Count the BEGIN:VEVENT and BEGIN:VTODO lines in the ICS file and compare the total with the number of CSV data rows, allowing for recurrence expansion if your converter does it.
  • Compare three or four items side by side, including one with a long note, one all-day item and one with punctuation in its name.
  • Check that start and end times match what Merlin Project shows, especially for items in a different time zone.
  • Open the CSV through the destination tool's import dialog rather than double-clicking, and confirm the columns line up.
  • Keep the original ICS file so you can rerun the conversion with different settings.