Undo a Google Calendar Import
Load the .ics file you imported. You get back a cancellation file β import that, and the events come out again.
Why there is no undo button
Importing an .ics file into Google Calendar is a one-way action. The events are merged into the calendar you picked and are not tracked as a batch afterwards, so there is nothing for an undo command to reverse. The community threads asking for one go back years, and the answer has not changed: delete the events, or delete the calendar you put them in.
Deleting by hand is fine for five events and hopeless for five hundred. The route that scales is a second import that tells Google those events are cancelled.
How the cancellation trick works
Every event in an .ics file carries a UID β a string that identifies it. When you import a file, Google stores each event against its UID. Import a second file containing the same UIDs and Google does not create duplicates; it treats each one as an update to the event it already holds.
So the undo file is the original file with one line changed per event: STATUS:CANCELLED. Same UIDs, same titles, same times β only the status differs. Google reads it as βthese meetings are offβ and takes them off the calendar.
You can do this by hand in a text editor with find-and-replace, which is the answer usually given on forums. The tool above does the same rewrite, and additionally checks whether your events actually have UIDs β because if they do not, the hand-edited file will import cleanly and remove nothing, which is a confusing way to lose an afternoon.
Step by step
- Find the .ics file you imported. You need the original β the UIDs are in it.
- Drop it into the tool at the top of this page.
- Click Download undo file. If some events have no UID the tool says so and leaves them out, so you know what still needs deleting by hand.
- In Google Calendar open Settings β Import & export β Import, choose the downloaded
-undo.ics, and β this part matters β select the same calendar you imported into originally. - Import. The events are marked cancelled and drop off the grid.
If it was a duplicate import rather than a wrong one
A different problem with the same cause: you imported the same file twice and now every appointment appears in duplicate. Cancelling by UID does not help, because both copies share the UID β you would remove them both.
Use Find duplicates in the tool instead. It groups events by UID, and also by title, start time and location so it still catches the case where the second import generated fresh UIDs. The first copy of each is kept, the rest are marked for removal, and you download an edited file to import into a clean calendar. The ICS editor has the same controls if you want to go through the events one by one first.
Undoing a Google Calendar import β FAQ
Can you undo an import in Google Calendar?
There is no undo button. Google imports every event in the file and gives you no way to select that batch afterwards. What does work is a second import: take the same .ics file, mark every event STATUS:CANCELLED while keeping each UID unchanged, and import it again. Google matches the incoming events to the ones already in your calendar by UID and marks them cancelled, which removes them from view.
Why does keeping the UID matter?
The UID is the event's identity. Google uses it to decide whether an incoming VEVENT is a new event or an update to one it already has. Keep the UID and the cancellation lands on the right event. Change or regenerate it and Google treats the file as a fresh batch, so instead of removing anything you import a second copy of everything.
What if the file I imported has no UIDs?
Then this method cannot work, and the tool above will tell you so rather than hand you a file that does nothing. Without a UID there is no key to match on. Your options are to delete the events by hand, or β if you imported into a calendar you created for this β delete that whole calendar and start again.
I no longer have the file I imported. What now?
You need the original file, because the UIDs live in it. If it came from an email or a download folder it may still be there. If it is genuinely gone, the practical route is Google Calendar's search and the day/week views to find and delete the events, or deleting the calendar you imported into.
Does this remove events I created myself?
No. The cancellation file only contains the events from the .ics you load here, so only those UIDs are touched. Events you created directly in Google Calendar have their own UIDs and are not in the file.
Will the cancelled events still show up anywhere?
They stop appearing on the calendar grid. Depending on your settings a cancelled event can remain visible in search or in the trash for a while, and guests on an event you organised may see a cancellation notice. If you need them gone completely, empty the trash afterwards.
Is there a way to avoid this next time?
Import into a new, separate calendar first rather than your main one. Check it there, and only merge or keep it once it looks right. If it is wrong you delete that one calendar in a click, with nothing else affected.
Does my file get uploaded?
No. The file is read and rewritten in this browser tab using the File API. Nothing is sent to a server, which matters here because a calendar export tends to carry your whole schedule, your colleagues' names and your meeting locations.