For tax data, pick CSV vs Excel vs JSON by who reads the file next. CSV is a flat table any tool can import. Excel adds sheets, number formats and formulas for a person working by hand. JSON keeps nested parts, like a broker's many sales or a K-1's coded lines, intact for code. Many people export two.
CSV vs Excel vs JSON for tax data at a glance
CSV, Excel and JSON hold the same tax form values in different shapes. CSV is plain text in rows and columns. An Excel workbook is a compressed package of sheets with formatting. JSON is plain text built from named fields, lists and nested objects. The table below compares them on six points.
| Property | CSV | Excel (.xlsx) | JSON |
|---|---|---|---|
| Typed values | No. Every field is text until the reader decides | Yes. Cells hold numbers, dates and text | Partly. Strings, numbers, true, false and null |
| Multiple sheets | No. One table per file | Yes. Many sheets in one workbook | Not as sheets, but one file can hold many forms |
| Repeating sections | Only by adding rows or numbered columns | Only by adding rows, columns or sheets | Yes. Lists nest inside each form |
| Opens in Excel | Yes, by double-click or import | Yes, natively | Through an import step, not by double-click |
| Readable by code | Yes, with a CSV parser | Yes, with a spreadsheet library | Yes, with the built-in parser in most languages |
| File size | Small. Text with no styling | Compressed, so often smaller than its contents suggest | Larger than CSV for the same values, since names repeat |
The typed values row is the one people underestimate. The CSV format description in RFC 4180 defines fields, commas and quotes, and nothing about numbers or dates. So 48250.00 in a CSV is a string of characters until Excel or a script guesses what it is. The JSON standard, RFC 8259, defines numbers, strings, the literals true and false, and null, so a JSON file can say "this is a number" and "this box was empty" in ways a CSV cannot.
The file size row comes from the formats themselves. Microsoft's page on Open XML formats and file name extensions says .xlsx files use ZIP compression and can be up to 75 percent smaller in some cases. JSON repeats every field name on every record, which makes it longer than a CSV with one header row. For a year of tax forms, none of the three is large enough for size to decide anything.
On Schema Tax, all three formats come from the same extracted fields, and the plans decide which ones you can download. The Free plan exports JSON and CSV, and Excel export starts at the Starter plan. The current plans list what each includes.
When is CSV the right format for tax data?
CSV is the right format for tax data when another program will import it, when the data is one flat table, and when you want a file that will still open in twenty years. Bookkeeping apps, databases and simple scripts all read CSV, and the file is readable in any text editor.
A list of 1099-NECs is a good CSV case. Each form has a payer, a payer TIN, a recipient, an amount in Box 1a, an amount in Box 4 and a few state fields. That is one row per form with a fixed set of columns, and nothing repeats inside a form often enough to cause trouble.
CSV is also the safest hand-off between tools that do not know each other. A preparer's software, a client portal and a spreadsheet may all disagree about .xlsx features, but each one accepts comma-separated text. When the receiving end only asks for "a spreadsheet file", a CSV usually satisfies it.
The weak points are quoting and encoding. A payer name like "Smith, Jones & Co" contains a comma, and RFC 4180 says such a field should be wrapped in double quotes. A name with an accented letter can turn into garbled characters if the file's encoding and the reader's assumption disagree. The section on tax form CSV encoding and delimiters covers the byte order mark and the semicolon problem, and the rest of that guide to turning a tax form into a CSV shows a full sample file.
CSV also has no place for a second table. If you want forms on one tab and a totals summary on another, CSV means two files.
What an Excel workbook adds to tax data
An Excel workbook adds what a person needs to work with tax data by hand: several sheets in one file, cells that know they hold money or dates, and formulas that recalculate. A CSV can feed a workbook, but it cannot store any of those things itself.
Sheets are the first gain. One workbook can hold a sheet per form type, a sheet of every 1099-B sale, and a summary sheet with totals by payer. A preparer opening it sees the whole year in one file. Microsoft's Excel specifications and limits put the number of sheets as limited by available memory, and each sheet at 1,048,576 rows by 16,384 columns, which is far beyond any household's forms.
Number formats are the second. A workbook can store 5120.4 as a number and display it as $5,120.40 without changing the value. A CSV has to choose: write the plain number and lose the display, or write the formatted text and lose the number.
Formulas are the third. A summary row can add Box 1 across every W-2, or check that a 1099-NEC's state income does not exceed Box 1a. When a corrected form arrives and you change one cell, the totals follow. A CSV holds only the results of a calculation, never the calculation.
The cost is portability. Excel features do not survive a trip back to CSV. Microsoft's guide to importing and exporting text or CSV files says that saving a workbook as CSV keeps only the current worksheet and that some features might be lost. Treat the workbook as the place you read and check data, not as the master copy you pass between programs.
JSON vs CSV: which keeps tax form structure intact?
JSON keeps tax form structure intact better than CSV, because it can nest a list inside a record. A W-2 with three Box 12 codes, a 1099-B with forty sales, or a K-1 with coded line items stays one record in JSON. In CSV, each of those has to become extra rows or numbered columns.
Repeating boxes are where the difference shows. In JSON, W-2 Box 12 codes and state lines are each a list as long as the form needs. In a one-row-per-form CSV, you need columns such as box_12a_code, box_12a_amount through box_12d_amount, most of them empty on most rows.
Brokerage lots are the harder case. The IRS Instructions for Form 1099-B say brokers generally report each transaction separately. A JSON record for the statement can hold the broker once and a list of sales below it, while a CSV has to repeat the broker on every sale row or split the data into two files linked by an ID. The section on repeating tax form sections as JSON arrays shows how those lists nest.
Codes need their pairing kept. A Box 12 code letter means nothing without its amount, and the amount means nothing without its letter. JSON stores them as one object. CSV stores them in two columns that only stay paired if nobody sorts one column on its own.
JSON has its own trap: how it stores money and empty boxes. Field names, number types and null values are choices someone has to make on purpose. The post on tax form JSON keys, box numbers or field names works through those choices.
Which tax data format fits a preparer, a spreadsheet user or an app?
The right tax data format depends on the reader. A spreadsheet user checking their own forms wants Excel. A preparer wants whichever format their software imports, often CSV, plus a workbook to read. An app or script wants JSON. When two readers share the data, export both formats from the same extraction.
A person keeping their own records gets the most from a workbook. Sort by payer, total by form type, add a column of notes. If Excel export is not available, a CSV opened in Excel is close enough for reading.
A tax preparer usually has two needs. One is a file their own software can take in, and they will say which format it accepts. The other is a readable summary for checking the client's numbers. Ask the preparer before you export; guessing often means doing it twice. Schema Tax hands off the extracted data and stops there, since it does not prepare or file returns, so the preparer or their software does the rest.
A developer building an app wants JSON with fixed field names and stable types, so the code does not break when a new form arrives. The same extraction can come back from an API as JSON, billed per page, on Schema Tax, and the tax form API category covers schemas and responses for that kind of integration.
A small firm often wants all three: JSON into its own tools, CSV into a client portal, and Excel for staff review. Exporting each from the same extraction keeps the numbers identical across them, which matters more than the choice of format.
Picking CSV for nested tax statements: the format mistake
Picking CSV for a nested tax statement is the common format mistake. A consolidated brokerage statement or a K-1 has parent and child records, such as one broker with many sales or one partnership with many coded lines. Flattened into one CSV, that structure gets repeated, truncated or lost, and the file looks fine until someone totals it.
The first failure is duplication. If each sale row repeats the broker's totals, summing the column counts the totals once per sale. A statement with forty sales then shows forty times the real figure in any column that was copied down.
The second failure is truncation. A one-row-per-form layout with room for four Box 12 codes cannot hold a fifth, and a layout with room for one state line drops the second. Nothing in the file warns you; the value is simply absent.
The third failure is broken pairing. When a code and its amount sit in separate columns, a sort or a filter on one can separate them. The file still opens and the totals still add up, but code D now sits next to the amount for code DD.
A worked example makes the risk concrete. A fictional statement lists 12 stock sales with total proceeds of $38,400.00. Exported as one row per sale with the statement's total proceeds copied onto every row, a quick SUM of that column returns $460,800.00. The correct export puts the 12 sales in one table and the statement totals in another, or keeps them nested in JSON, where the totals appear once.
If a CSV is required, export the child records as their own file with one row per sale or per code, and include an ID that links each row back to its form. That keeps the shape honest even in a flat format.