CSV, XLSX, JSON and PDF Exports: What Each Is For
Plain-English look at four common export formats, what each keeps, and which suits a move to new software or a record you just want to read.
Pick the format by what you'll do with the file next. A spreadsheet to sort and filter? CSV or XLSX. A full technical copy that a new tool might read? JSON, if it's offered. A page you just want to read? PDF.
You don't have to choose one. If the tool offers several, take more than one.
The four formats side by side
| Format | What it is | Suits | Watch for |
|---|---|---|---|
| CSV | Plain text, one record per line, fields separated by commas.1 | Moving lists between tools, and opening in nearly any spreadsheet.1 | No way to say which character encoding it uses, so a program may misread accents or symbols.1 |
| XLSX | A spreadsheet workbook. HubSpot's page gives a cap of 16,384 columns for XLSX and 256 for XLS.2 | People who'll work in a spreadsheet, adding formulas or tidying columns. | Column caps, which differ by maker. |
| JSON | An open standard data format that isn't tied to one programming language.3 | Keeping detailed, nested data and comments.4 | Hard for most people to read without a viewer.4 |
| A fixed-layout document that looks the same regardless of the software opening it.5 | Invoices, statements and reports you want to read or print. | It's laid out as a page, so it's a poor base for moving data into another tool. |
CSV: simple and widely read
CSV is supported by almost all spreadsheets and database systems.1 It's plain text, so you can open it in a basic text editor to see what's really in there.
The catch is encoding. A CSV file doesn't carry a note saying which character set it uses.1 If customer names with accents or symbols look wrong when you open the file, the encoding is the likely cause. Try opening it through your spreadsheet's import option and choosing the encoding yourself.
CSV also holds one flat table. Anything with layers, such as a card with several comments, doesn't sit well in it. Trello's help page says its CSV export leaves comments out.4
XLSX: for people, with limits
An XLSX file opens as a workbook, so it suits people who'll add formulas or tidy columns. HubSpot's page gives its column caps as 256 for XLS and 16,384 for XLSX, and adds that columns beyond the cap won't be included. For wide exports it recommends CSV, which has no column limit.2
If your data has many columns, the file type you pick can decide whether columns vanish. That's not obvious from the file alone.
JSON: detailed but technical
JSON is an open standard that works across programming languages.3 Trello calls it not easily read by humans, but well suited to technical use.4 You won't want to scan it by eye. A developer, or a new tool's import feature, can read it far more easily.
Keep JSON when you can, even if you also take a CSV. It's often the version that holds the nested parts. Makers can still cap what it holds, though. Trello's JSON export includes only the 1000 most recent actions on a board.4
PDF: for reading, not for moving
A PDF presents a document in a way that doesn't depend on the software or device opening it.5 That makes it a sound choice for statements you may need to show someone later. It's a poor choice as your only copy of a customer list, because the data is laid out for the eye, not for a machine.
Can you open it in five years?
Open formats give you the best odds. CSV is plain text, and JSON is an open standard, so more than one program can read them.13 A backup that only the original product can restore is the risky kind. Check the maker's page for how its export format is described, and keep a plain copy alongside it. Then test the file before you rely on it.
Where the facts come from
- Comma-separated values, Wikipedia
- Export your records, HubSpot Knowledge Base
- JSON, Wikipedia
- Export data from Trello, Atlassian Support
- PDF, Wikipedia