Excel to CSV · Reverse CSV to Excel: turn a CSV into an .xlsx file
Double-clicking a CSV in Excel guesses every column: leading zeros vanish, 18-digit IDs turn into 1.10105E+17 and accents can come out garbled. This converter decides the types first and writes a real .xlsx: numbers as numbers, ISO dates as dates, and codes kept exactly as text.
- Data stays on your device
- Leading zeros and long IDs kept
- Real Excel dates
Convert CSV to Excel
Paste CSV or open a file, check the preview, then download the .xlsx.
Paste CSV or TSV, or open a file. The first row becomes the bold header.
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 CSV to Excel in four steps
No account and no upload; the .xlsx is built in your browser.
-
1
Paste or open
Paste the CSV, or open a .csv / .tsv file. The encoding and delimiter are detected.
-
2
Check the preview
Numbers, dates and values kept as text are marked in different colours.
-
3
Adjust if needed
Untick “Detect numbers…” to keep every value as text; rename the sheet and the file.
-
4
Download
Open the .xlsx in Excel, Numbers, WPS or Google Sheets.
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 a CSV file to Excel?
Open the CSV here (or paste it), check the preview and click Download Excel. In Excel itself, use Data › From Text/CSV rather than double-clicking, so you can set each column’s type.
Why does Excel remove leading zeros from my CSV?
Excel treats 00731 as the number 731 when it opens a CSV. This converter writes such values as text in the .xlsx, so the zeros stay.
Why do long numbers turn into 1.23E+17?
Excel keeps only 15 significant digits. ID numbers, card numbers and order IDs longer than that are written as text here, so no digit is rounded away.
Can it read a CSV saved by Chinese or Japanese Excel?
Yes. Choose GBK / GB18030, Big5 or Shift_JIS under File encoding if the text looks wrong after opening the file.
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.