Merge, filter, shift and export .ics calendars

ICS Calendar Editor

Combine several calendar files, drop duplicates, cut to a date range or keyword, move times or change their time zone, tidy categories, and save a clean .ics or a CSV with each repeat rule spelled out.

Calendar files

Up to 20 files of 10.0 MB each. Events and their time zones are kept; to-dos and journal entries are not.

Drop .ics files here or click to choose

Several files at once are fine

Duplicates

Filter

Dates are compared with each event's own start date as written, so no zone guesswork is involved.

Time

Time adjustment

Categories

Actions run top to bottom on every event left after the filter. Names are matched ignoring case.

Result

Add calendar files to see the merged result.

ICS Calendar Editor

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

Subscribing to the same shared calendar from two accounts, or importing an old export on top of a new one, leaves every meeting listed twice. Deleting them one at a time in a calendar app is slow. This page reads the .ics files directly, decides which events are the same, and writes one file.

It also covers the other chores that come with moving calendars: a file exported two hours off, a trip's events that should read in the destination's time, or a category that has to be renamed across 300 entries.

Key features

  • Up to 20 files of 10 MB each and 50,000 events in all, with the calendars' own VTIMEZONE definitions kept and unused ones dropped
  • Duplicates removed by UID with RECURRENCE-ID (keeping the highest SEQUENCE, then the latest LAST-MODIFIED), by start time and title, or by both
  • A filter by date range (repeating events are expanded to see whether any occurrence falls inside) and by keywords that keep or drop events, matched in title, description, location and categories
  • A fixed shift of up to 48 hours, or a conversion of one-off events to UTC or any IANA zone, with a VTIMEZONE written for the zones the result uses
  • Category actions: add, remove, rename or clear, matched without regard to case
  • Output as an .ics folded at 75 octets with commas, semicolons, backslashes and line breaks escaped, or as a CSV with each repeat rule summarised in English

How events are matched, moved and written

A calendar file is a list of VEVENT blocks, each with a UID that is meant to be unique forever. When the same meeting arrives from two sources the UID usually matches, but a copy pasted into a second calendar often gets a new UID, which is why the page can also compare start time and title. The title comparison ignores case and extra spaces, and the start comparison uses the real instant when the zone is known, so 09:00 in Paris and 08:00 UTC count as the same moment.

A TZID parameter names a zone, and the file may carry a VTIMEZONE block that defines it. When the file carries a VTIMEZONE block for a TZID, its offsets are used. Otherwise IANA names such as Europe/Paris and the Windows names that Outlook writes (Eastern Standard Time and about 25 others) are resolved from the browser's time-zone data. Outlook describes each zone from the year 1601 with a yearly rule, so the page expands those rules from the year before the event rather than from the start, which keeps a July 2026 event in Eastern Standard Time at UTC-4 instead of UTC-5. Times without a zone are floating and are read as written.

Four kinds of start are handled: a date with VALUE=DATE for an all-day event, a local time with a TZID, a UTC time ending in Z, and a floating time with no zone. All-day events are never moved by a shift or a conversion, and their DTEND stays exclusive, as the format defines.

How it works

Each file is checked for NUL bytes and a BEGIN:VCALENDAR line, lines are unfolded, a file made by joining several .ics files has the events of every calendar merged, and properties are kept exactly as written, still escaped, so everything the page does not edit round-trips. Events are VEVENT blocks; to-dos and journal entries are counted and reported as not carried over.

Repeating events are expanded for the date filter with DAILY, WEEKLY, MONTHLY and YEARLY rules, including INTERVAL, COUNT, UNTIL, BYDAY with positions such as 2TU or -1FR, BYMONTHDAY and BYMONTH, and EXDATE and RDATE are honoured. A rule that uses BYSETPOS, BYWEEKNO, BYYEARDAY, BYHOUR or finer than daily steps is not expanded; the event is kept as it is and the result notes that it was not expanded.

A shift adds the minutes to DTSTART, DTEND, RECURRENCE-ID, EXDATE, RDATE and the UNTIL of a rule, so a series moves as a whole. A conversion changes a one-off event's DTSTART and DTEND by turning the wall-clock time into an instant and back; an event in a repeating series is left in its own zone, because moving only some of a series between zones with different daylight-saving dates would split it.

For an IANA zone without a VTIMEZONE in the files, the page scans the years the events cover, finds each offset change to the minute, and writes one STANDARD or DAYLIGHT block per change, so the file is self-contained.

Common use cases

  • A team lead merges the shared project calendar and a personal export, removes 41 duplicates, and keeps only events whose title contains 'review' for a quarterly report.
  • A traveller converts a 12-event itinerary written in UTC to Asia/Tokyo before printing it, leaving the weekly recurring reminders in their home zone.
  • A parent merges a school term calendar and a football club feed, keeps only events whose location contains 'Field 2', and sends the matching ones to the grandparents as a single .ics.
  • A school administrator renames the category 'Y7' to 'Year 7' on a term calendar of 180 events and exports a CSV for the staff handbook.

How to use this tool

  1. Drop one or more .ics files onto the page, or press Load an example.
  2. Choose how to remove duplicates and, if needed, set the date range or keywords.
  3. Pick a time option and any category actions.
  4. Check the counts and the preview table, then download the .ics or the CSV.

Example

Load an example: work.ics (3 events) and personal.ics (3 events), duplicates by UID then time and title, convert to America/New_York

work.ics has a fortnightly Team standup in Paris, Lunch with Ana on 20 Nov at 12:00 Paris and Dentist on 3 Dec; personal.ics has a newer Dentist entry with SEQUENCE 2, a copy of the standup named 'team STANDUP' and Flight LH123 at 14:30 UTC on 18 Nov.

Result

6 events read, 2 duplicates removed (the older Dentist entry and the standup copy), 4 written. The lunch becomes 06:00 and the flight 09:30 in America/New_York; the standup series stays in Europe/Paris. VTIMEZONE blocks are generated for both zones. Filtering the same four events to 30 Nov to 6 Dec keeps the standup, which recurs on Monday 30 Nov, and the Dentist entry.

Common pitfalls

Converting a time zone does not touch repeating events, so a series keeps its original zone and its occurrences may still read differently from converted single events near a daylight-saving change.

Two events with the same title and time in different zones but no known definition are compared by their written time, so they can be treated as different even if they are the same moment.

An event whose DTSTART or DTEND is not a valid date or date-time, such as DTSTART:garbage, is kept exactly as written. The page warns when it loads the file and quotes the first bad line; shifts, conversions and date filters cannot act on that event, so fix it in the source.

Invitations lose their METHOD line, and attendee replies, alarms and attachments are carried unchanged only inside the event they belong to.

  • Use both duplicate methods when merging a calendar with its own re-import: the UID pass catches exact copies and the title pass catches copies that were given a new UID.
  • To fix a calendar that is off by a whole number of hours, use Shift rather than Convert: a shift keeps the zone name and moves series along with single events.

Common errors and how to fix them

"export.ics" is not an iCalendar file: no BEGIN:VCALENDAR found
The file may be a vCard (.vcf) or a CSV renamed to .ics. Export the calendar again in iCalendar format.
No definition was found for the time zone "Customized Time Zone"
Those events were left as they are. Add a VTIMEZONE block for that name, or replace the TZID with an IANA name in the source file.

Best practices

  • Keep the unfiltered .ics as well as the filtered one: removed duplicates are listed on the page, but they are not in any file you download.
  • Give the merged calendar a name before downloading. It is written as X-WR-CALNAME, which most calendar apps show as the calendar's title on import, though a few ignore it.

What the CSV contains

The CSV has one row per event with the UID, recurrence id, title, start and end in ISO form, an all-day flag, the zone, location, description, categories, status, organizer, the raw repeat rule, a plain-English version of it ('Every 2 weeks on Mon, Wed, until 2027-01-31') and the number of excluded dates. A text cell that would start with = + - or @ gets an apostrophe in front, so a spreadsheet shows it as text and never evaluates it. To go the other way, from a spreadsheet to a calendar, use the CSV to ICS page.

Frequently asked questions

Will a repeating event still repeat after a merge?

Yes. The RRULE, EXDATE and RDATE lines are copied as written, and only the date filter reads them. A series is never expanded into separate events in the output.

What happens to alarms, attendees and attachments?

They stay inside the event they belong to, unchanged. The METHOD line that invitations carry is dropped, and each event keeps its UID so a calendar app can match it to an existing copy when you import.

Why does the filter keep a repeating event whose first date is before my range?

Because one of its later occurrences falls inside the range. The page expands the rule up to the end of your range and tests each occurrence, skipping any that EXDATE excludes.