Excel to CSV · JSON in JSON to Excel: turn JSON data into an .xlsx sheet
API responses, exports and logs often arrive as JSON. Paste an array of objects or JSON Lines and get a spreadsheet: every key becomes a column, nested objects become columns like customer.name, arrays stay readable, and an object of arrays becomes one sheet per array.
- Data stays on your device
- Nested keys flattened
- Object of arrays → sheets
Convert JSON to Excel
Paste JSON or open a file, check the preview, then download the .xlsx.
Paste an array of objects, JSON Lines, or an object of arrays (one sheet each). Nested objects become columns like customer.name.
Auto reads UTF-8 and UTF-16; anything else is read as Windows-1252.
Up to 31 characters; [ ] : * ? / \ are replaced.
Paste CSV or JSON, or open a file, then download the Excel file.
What goes into the Excel file
Numbers are right-aligned, dates blue, and numbers kept as text (long IDs, leading zeros) shaded orange.
How CSV values are written to Excel
Each row was decided by the same code the tool runs. Excel’s own CSV import would turn the third and fourth rows into numbers and lose digits.
| In the CSV | In Excel | Why |
|---|---|---|
| 129.90 | Number | Up to 15 significant digits: Excel’s precision |
| 00731 | Text (kept exactly) | A leading zero means it is a code, not a quantity |
| 110105199003071239 | Text (kept exactly) | More than 15 digits would be rounded to …1230 |
| 2026-11-02 | Date | ISO 8601 dates become real dates you can sort and filter |
| 2026-11-02 09:14:00 | Date and time | Shown as yyyy-mm-dd hh:mm:ss |
| TRUE | TRUE / FALSE | A real boolean |
| =HYPERLINK("http://x") | Text | Never a formula: blocks CSV injection |
| 1,234 | Text | Thousands separators differ by country, so left as typed |
Version v1.0Updated Update history
What a CSV keeps and what it drops
CSV is plain text: one line per row, values separated by a delimiter. That makes it readable by almost anything, and it also means some workbook features cannot come along.
Values
Text, numbers, dates, TRUE / FALSE and error codes come across. Numbers are written without thousands separators so other programs read them as numbers; switch to “As shown in Excel” if you need the formatted look.
Dates
Excel stores dates as a count of days since 1900 (or 1904 in some old Mac files). The tool reads each cell’s format and writes ISO 8601, which databases, Python and JavaScript parse without guessing the day-month order.
One sheet per file
A CSV holds one table. Pick the sheet to convert, or download all sheets in a ZIP. Hidden sheets are listed and marked.
Left behind
Formulas (their results are kept), formatting, colours, comments, charts, pictures, filters and data validation. Merged cells are split; by default each cell repeats the value.
Opening the CSV in Excel again? Turn on the UTF-8 BOM, or Excel may show accented letters and Chinese as garbled text.
Convert Excel to CSV in four steps
The defaults suit a database import or a script.
-
1
Choose the .xlsx
Drop it on the box or click to pick it. Old .xls files need to be saved as .xlsx first.
-
2
Pick the sheet
The first visible sheet is selected. Every sheet, including hidden ones, is in the list.
-
3
Set the output
CSV, TSV or JSON; delimiter; quotes; raw or displayed numbers; a BOM if the file goes back into Excel.
-
4
Download or copy
Download the file, all sheets as a ZIP, or copy the text into another tool.
How the converter reads an .xlsx file
An .xlsx file is a ZIP archive of XML files (the Office Open XML format, ECMA-376). The tool unpacks it with the browser’s built-in decompression and reads only the parts it needs.
- xl/workbook.xml lists the sheets, their order, whether they are hidden, and whether the file uses the 1900 or 1904 date system
- xl/sharedStrings.xml holds every piece of text once; cells point to it by number
- xl/styles.xml says which number format each cell uses, which is how a date is told apart from a plain number
- Each xl/worksheets/sheetN.xml holds the cells: value, type and the result of any formula
- CSV output follows RFC 4180: fields with the delimiter, quotes or line breaks are quoted, lines end with CRLF
| Part | What it holds | Used for |
|---|---|---|
| xl/workbook.xml | Sheet names and order | The sheet list |
| xl/sharedStrings.xml | All text, stored once | Text cells |
| xl/styles.xml | Number formats | Dates, percentages |
| xl/worksheets/*.xml | Rows and cells | The values you get |
| mergeCells in each sheet | Merged ranges | Filling merged cells |
A sales sheet becomes CSV
A sheet with an order number, a customer, an amount formatted as currency, a payment date and a tracking number stored as text.
| Column | Excel shows | Stored in the file | CSV gets |
|---|---|---|---|
| order_id | 1001 | 1001 | 1001 |
| customer | Chloé Martin | Text “Chloé Martin” | Chloé Martin |
| amount | €310.50 | 310.5 with a currency format | 310.5 (or €310.50 as shown) |
| paid_at | 03/11/2026 16:05 | 46329.67013888889 | 2026-11-03 16:05:00 |
| tracking_no | 00731004527 | Text “00731004527” | 00731004527 |
The line becomes 1003,Chloé Martin,310.5,2026-11-03 16:05:00,00731004527. With a BOM, Excel opens it with the accent intact.
Where Excel to CSV goes wrong
Most problems show up when the CSV is opened again, not during the conversion.
Garbled accents or Chinese
Excel assumes a CSV without a BOM uses the local code page. Add the UTF-8 BOM, or import it through Data › From Text/CSV and pick UTF-8.
Lost leading zeros
The CSV still has 00731; Excel drops the zeros when it opens the file. Import the column as text, or convert the CSV back with CSV to Excel, which keeps them.
Day and month swapped
03/11/2026 means different dates in the US and Europe. ISO dates (2026-11-03) avoid the guess; keep them that way in the CSV.
Wrong delimiter
Excel in many European locales expects semicolons, because the comma is the decimal mark. Pick “Semicolon” for those users.
Your event data, out as CSV or JSON Lines
Events reach TapCub from the web script, the platform SDKs and the server API, each with its own properties. When you need the raw rows in a spreadsheet, data export hands them back.
Data export
On Pro, events, sessions, people, interactions or consent records for a date range can be exported as CSV or through the API.
Learn moreSDKs and server API
Web, app, mini-program and server events share one schema, so the columns you get are the same across platforms.
Learn moreData-quality checks
Unexpected event names, missing properties and wrong types are flagged on arrival, before they reach an export.
Learn moreExcel to CSV questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
How do I convert JSON to Excel?
Paste the JSON (or open a .json / .jsonl file), check the preview and click Download Excel. Each object becomes a row and each key a column.
What happens to nested objects and arrays?
Nested objects are flattened with dots (customer.name). Arrays are written as compact JSON in one cell so nothing is lost.
Does it support JSON Lines (NDJSON)?
Yes. One JSON object per line is detected automatically; lines that are not valid JSON are skipped and counted.
Can I get several sheets?
Yes. Paste an object whose values are arrays, such as {"orders": [...], "users": [...]}, and each array becomes its own sheet.
Update history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Collect events you can export cleanly
Connect your site or app, send events with consistent properties, and export the raw rows whenever a spreadsheet needs them.