ics2csv
A simple Go utility to convert iCalendar (.ics) files to CSV format.
Features
- Parses .ics files and extracts event details
- Outputs events in CSV format for easy import into spreadsheets
- CLI usage for quick conversion
Usage
$ ics2csv input.ics
the output will be saved to input.csv by default.
You can also specify the output file name or use stdout to print to the console.
The CSV file contains the following columns:
- Subject
- Start Date
- Start Time
- End Date
- End Time
- Description
- Location
Installation
Precompiled executables
You can download the executable for your platform from the Releases.
Compile it yourself
Using Go
$ go install github.com/kpym/ics2csv@latest
Using goreleaser
After cloning this repo you can compile the sources with goreleaser for all available platforms:
git clone https://github.com/kpym/ics2csv.git .
goreleaser --snapshot --skip-publish --clean
You will find the resulting binaries in the dist/ sub-folder.
Thanks
This tool is mainly using github.com/arran4/golang-ical to parse the .ics files.
License
MIT