Skip to content

CSV, JSON and XML: Common Export Formats Explained

Up to date as of November 22, 2026

Most business apps offer one or more of three file types: CSV, JSON and XML. They all hold data as plain text. They differ in how they lay it out, and that decides what you can open them with.

CSV: a table in a text file

CSV stands for comma-separated values. Wikipedia describes it as a plain text format where a comma, the delimiter, separates the fields of a record.1 A delimiter is just the character that splits one value from the next.

In practice, each line is one record, such as one customer. The first line is usually the column names.

Microsoft's help page says a comma typically separates each field in a .csv file.2 If you open a .csv file in Excel, it shows the data in a new workbook.2

One catch. The RFC that documents CSV says there's no formal specification, so programs can read the same file in different ways.3 That's why a file can look fine in one program and odd in another.

JSON: labeled values that can nest

JSON stores data as human-readable text.4 Each value gets a label, and values can sit inside other values. That suits one-to-many data, like a card with many comments.

It's also a data format that doesn't depend on any one programming language.4 You don't need to be a programmer to open one, but it won't look like a table.

Trello's help page is blunt: people don't read JSON easily, though it works well for technical uses.5 A text editor or a JSON viewer will open it.

XML: tags around every value

XML is a markup language and file format for storing and sending data.6 Values are wrapped in named tags, a bit like labels on boxes. The format is meant to be readable by both people and machines.6

Like JSON, XML can hold records inside records. Like JSON, it isn't a spreadsheet. A browser or text editor will show it.

Side by side

Format Looks like Opens in Good for
CSV Rows and columns Spreadsheet, text editor Lists you want to read and sort
JSON Labeled values, nested Text editor, JSON viewer Records with sub-records
XML Tags around values Browser, text editor Records with sub-records, older systems

Why the choice matters when you leave

Flat formats can drop things. Trello's page explains that comments aren't in its CSV export, while its JSON export carries them.5 If an app offers both, the nested format may hold more, even though it's harder to read.

A sensible plan:

  • Export CSV for the lists you'll browse yourself.
  • Export JSON or XML too, if offered, as the fuller backup.
  • Keep both, so you can compare them later.
Choosing a file typeDecide what the file is forNeed to read it yourself? Pick CSVMany linked records? Pick JSON or XMLOpen a small test file first
A rough path from your goal to a format.

Before you rely on any file, check it. And if you're unsure what the file might be missing, read what exports often leave out.

Where the facts come from

  1. Comma-separated values, Wikipedia
  2. Import or export text (.txt or .csv) files, Microsoft Support
  3. RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files, RFC Editor
  4. JSON, Wikipedia
  5. Export data from Trello, Atlassian Support
  6. XML, Wikipedia