Article · Free · Files · contacts, calendar, data
Move contacts and a calendar into a spreadsheet, and convert JSON and XML
Your customer contacts are on your phone and you want a spreadsheet, or the other way round: you have a spreadsheet of contacts and want them all on the phone at once. Or you exported a Google Calendar and want to count this month's meetings. Or you work with data that has to change between JSON and XML. All of these can be done in the browser with nothing to install, and since contacts and calendars are personal, the files are not sent anywhere. This article takes the jobs one at a time with our free tools, limits included.
Four jobs, and which tool
- Contacts from a phone, Google Contacts or Outlook (a .vcf file) into a spreadsheet: Convert VCF to CSV / Excel (choose the direction VCF → CSV)
- A spreadsheet of contacts onto a phone: the same page, direction CSV → VCF
- An exported calendar (.ics file) into a table: Convert ICS to CSV / Excel
- JSON and XML: JSON to XML and XML to JSON
Contacts: VCF to a spreadsheet
- Export your contacts from the contacts app, Google Contacts or Outlook as a .vcf file (menu names differ by device and version).
- Open the tool, choose the direction VCF → CSV / Excel, then choose the .vcf (several files at once are fine, up to 50 MB each). The first 20 contacts show in a table.
- Choose the CSV layout: a simple sheet for Excel (name, phones 1–3, e-mails 1–2, organization, notes), or the Google Contacts or Outlook layout if you will import it into that program next.
- Press Save the CSV and open it in Excel or Google Sheets.
- The CSV is UTF-8 with a BOM, so that Excel should open non-English text correctly. If it still opens garbled, see the article on garbled Thai in CSV files. If you want a .xlsx file, use CSV to Excel (covered in the article on Excel, CSV and Word conversion).
- The simple layout stores phone numbers as text so Excel does not drop a leading 0. The side effect: if you open this CSV in a text editor, a number appears written as ="555-0101", which is how Excel is made to keep it as it is. To import into Google or Outlook, choose that program's layout instead.
- It reads vCard versions 2.1, 3.0 and 4.0, including files from older Android phones that store non-English names as quoted-printable.
A spreadsheet of contacts onto a phone (CSV to VCF)
- Save your sheet from Excel as a CSV first (the tool does not read .xlsx directly). It takes a CSV saved by Excel in the older Thai encoding or in UTF-8.
- Choose the direction CSV / Excel → VCF and choose the file. The tool guesses which column is the name, phone, e-mail and organization from Thai or English column headings. Check the preview table, and pick columns yourself if they are wrong.
- Press Save the .vcf file for one vCard 3.0 UTF-8 file with everyone in it.
How to bring a .vcf onto a phone, as the tool's page describes it:
- iPhone: send the .vcf to the device (e-mail or AirDrop), tap the file, and choose to add all contacts.
- Android: open the contacts app and choose Import from a .vcf file, or tap the file in the files app.
- Google Contacts on a computer: use the Import menu and choose the .vcf file.
A warning: if Excel has already stripped the leading 0 from numbers (a 9-digit number that does not begin with 0), tick "Add the 0 back to 9-digit numbers Excel cut". But a number Excel turned into the 8.12E+08 form has lost its digits for good and cannot be recovered; fix it in the source file. Importing twice gives duplicate contacts, and most phones have a merge-duplicates menu.
A calendar: ICS to a CSV table
- Export the calendar. As the tool's page says: in Google Calendar go to Settings > Import & export > Export, which gives a .zip to unpack first to get the .ics (Extract a ZIP works for that). In Outlook, save the calendar as an iCalendar (.ics) file. Menu names can differ by version.
- Open the tool, choose the .ics (several files are fine), pick the time zone to show (the device's, Thai time, or UTC), tick "Buddhist Era years" if you want that, and set a date range if you only want part of it.
- Look at the preview (the first 50 events), then press Save the CSV and open it in Excel or Google Sheets.
The CSV has the columns Subject, Start, End, All day, Location, Description, Organizer and Repeats. Dates are written YYYY-MM-DD HH:MM. A repeating event (such as a Monday meeting) becomes one row for its first time, with a plain-language note in "Repeats", such as "every week, on Monday", and is not expanded into every occurrence. If you want to count meetings, you have to work that out yourself.
JSON and XML
People who work with data often have to change between these two formats, for example when one system exports XML and another takes JSON. Both tools use the same rules, so a round trip comes back almost the same:
- A key starting with @ is an attribute ("@number" becomes number="…"), and the key #text is an element's text.
- An array becomes the same element repeated several times.
- If the top of the JSON is an object with a single key, that key becomes the root element.
- Open JSON to XML, paste JSON or choose a .json file (up to 30 MB) and the XML appears at once.
- Set the root name and the array item name if you want (defaults root and item), and pick the indent.
- Press Copy or Download .xml.
The other way, XML to JSON takes XML you paste or open from a file (RSS, sitemaps or exports from other programs, up to 30 MB) and reads the character encoding the file declares, TIS-620 included.
- A repeated element becomes an array only when it repeats (the default). A feed with a single item gives one object, not an array. If your code always expects a list, choose "Always an array".
- "Guess types" is off by default, because numbers such as 0812345678 or a product code 0012 must stay text. Even when it is on, a number starting with 0 stays text.
- You can keep or strip namespaces (for example atom:link becomes link).
If what you really want is a table from JSON, not XML, see JSON to CSV. If the JSON is malformed, check it with JSON formatter first; the converter also reports the line and column of the mistake.
Limits of our tools
- Contacts: contact photos do not go into the CSV (the tool tells you how many were left out), phone numbers or e-mails beyond the number of columns are put in the notes, and fields with no column, such as an anniversary, are not carried over.
- CSV → VCF takes CSV only: a .xlsx must be saved as CSV first. The tool does not guess how to split a name into first and last; if you have only a full name it is stored as one name.
- Calendar: one direction only, ICS → CSV (there is no CSV → ICS). Only events (VEVENT) go in; to-dos and journal notes are counted but left out, and attendees and reminders are left out. A repeating event is one row, and cancelled single dates (EXDATE) and moved occurrences are not taken off.
- JSON/XML: null and empty arrays leave no value in XML (null comes back as ""), numbers and true/false become text in XML, and keys that cannot be XML names (a space, or starting with a digit) are changed to _ with a note of which ones.
- XML that declares its own ENTITY in a DOCTYPE is refused, and the tool does not load a DTD or outside files. An HTML entity such as is not XML, so it is reported as an error. Nesting deeper than 1,000 levels is refused, files of tens of MB can be heavy on a phone, and XML comments are dropped.
- Check every result by eye before you use it or import it into another system, contact lists in particular.
Which to use
- Phone contacts into an Excel report: VCF to CSV, simple layout
- Contacts into Google Contacts or Outlook: VCF to CSV in the Google or Outlook layout (or use the .vcf directly)
- A contact sheet onto a phone: CSV to VCF
- A calendar into a meeting report: ICS to CSV
- One system uses XML, another JSON: the pair XML to JSON and JSON to XML
All the file converters
Every file converter on this site is free, needs no sign-up and runs in your browser, so your files are not sent anywhere. See them all on the file converters page, which also has two tools for people who publish books on Amazon KDP: the interior PDF maker and the cover size calculator.
More file converter articles
- Thai text garbled in a file: fix TXT, CSV, SRT and ZIP
- Create a password protected ZIP, open ZIP and tar.gz files, and lock a file with a password
- Convert Excel to CSV, Word to text, and HTML to Markdown
- Video to image: save one frame, many frames, or a short GIF
- Convert audio to MP3 or WAV, and extract the audio from a video
Problems and ideas
A tool does not behave the way this says, or there is one you wish we had? Tell us on the feedback page. No sign-up needed.
Written on 2 December 2026. Every picture was taken from the real tools on this site, with sample files whose names and figures are invented. Product names of other companies are trademarks of their owners; freesabai is not affiliated with them.
Questions and answers
Will Thai names get garbled when I convert a VCF to Excel?
The CSV is UTF-8 with a BOM, so that Excel should open Thai and other non-English text correctly, and the tool reads .vcf files from older phones that store names as quoted-printable. If it still looks wrong, see the article on garbled Thai in CSV files.
Where did my weekly repeating event go when I converted an ICS to Excel?
A repeating event is one row for its first time, with the repeat rule in words in the "Repeats" column, such as every week, on Monday. It is not expanded into every occurrence, and cancelled single dates are not taken off.
After XML to JSON, an element with only one item is not an array. What do I do?
The default is to make an array only when an element repeats. To always get an array, choose "Always an array" in the repeated-elements option.