Data · 6 min read
How to Convert Excel (XLSX) to CSV Online
CSV (Comma-Separated Values) is the universal language of data interchange. Databases, APIs, Python scripts, and data pipelines all speak CSV natively — but they often can't read XLSX directly. Converting your Excel spreadsheet to CSV takes seconds and makes your data instantly usable by any tool in any language. This guide covers how to do it, what you'll lose, and how to avoid common pitfalls.
XLSX vs CSV: What's the Difference?
XLSX is a rich binary format designed for spreadsheet applications. CSV is a plain-text format that stores tabular data as rows of values separated by commas (or another delimiter). Here's what that means in practice:
| Feature | XLSX | CSV |
|---|---|---|
| File type | Binary / ZIP archive | Plain text |
| Multiple sheets | Yes | No (one sheet per file) |
| Formatting | Yes (colors, fonts, borders) | No |
| Formulas | Stored and recalculated | Only the calculated value |
| Charts & images | Yes | No |
| Software required | Excel, Google Sheets, LibreOffice | Any text editor or tool |
| Database / API compatibility | Limited | Universal |
When Should You Convert XLSX to CSV?
Importing data into a database
MySQL, PostgreSQL, SQLite, and virtually every other relational database has built-in support for importing CSV files. XLSX is not a standard database import format. To load spreadsheet data into a database, convert to CSV first.
Processing data with Python, R, or other scripts
pandas.read_csv(), read.csv() in R, and equivalent functions in every data science language read CSV natively and efficiently. While libraries exist to read XLSX, CSV is simpler, faster, and requires no extra dependencies.
Sharing data across tools and teams
Not everyone has Excel or Google Sheets. CSV opens in any text editor, any spreadsheet app, and any programming language. It's the safest format for interoperability.
Feeding data into web apps and APIs
Many web applications accept CSV uploads for bulk data import — product catalogs, contact lists, inventory records, and more. XLSX is rarely supported for these use cases.
What Gets Lost When Converting XLSX to CSV?
Understanding what CSV can't store helps you avoid surprises:
- Cell formatting — colors, fonts, bold/italic, borders, conditional formatting. All stripped.
- Formulas — CSV stores the result of the formula, not the formula itself. A cell containing
=A1+B1becomes the number42. - Multiple sheets — CSV is a single-table format. Only the active (or first) sheet is exported per file.
- Charts, images, shapes — not representable as text; not included in CSV.
- Data validation and drop-down lists — stripped.
- Named ranges and comments — stripped.
How to Convert XLSX to CSV — Step by Step
Go to file-converter1-ten.vercel.app. No sign-up or installation needed.
Click the drop zone or drag your .xlsx or .xls file onto it. Your file stays on your device — nothing is uploaded to a server.
Choose CSV from the data format options in the dropdown.
If your workbook has multiple sheets, select which one to export. CSV can only hold one sheet at a time.
The converter reads your spreadsheet and outputs a clean CSV. Click Download to save.
Common CSV Pitfalls and How to Avoid Them
Delimiter confusion
Standard CSV uses commas as delimiters. But some regions (particularly in Europe) use semicolons instead because commas are used as decimal separators. If your CSV opens with all data jammed into one column, the delimiter is likely wrong. Check the delimiter setting in your import tool or open the file in a text editor to confirm.
Dates changing format
Excel stores dates as numbers internally and displays them according to a format. When exported to CSV, the date might appear as a raw number (e.g., 45678) or in a locale-specific format. Verify date columns after conversion.
Leading zeros disappearing
ZIP codes, phone numbers, and product codes often have leading zeros (e.g., 01234). Excel may store these as numbers, stripping the leading zero. When converting to CSV, prefix-zero cells should be stored as text in Excel before conversion. Check critical columns after exporting.
Special characters and encoding
CSV files should be saved as UTF-8 for international character support. If you open a CSV in Excel and see garbled characters (é, ñ, ü showing as ???), the file is likely not UTF-8, or it's missing a byte-order mark (BOM) that Excel expects. File Converter outputs UTF-8 by default.
Frequently Asked Questions
What gets lost when converting XLSX to CSV?
CSV stores only raw data — no formatting, no formulas (only their calculated values), no charts, no images, no cell styles, and no multiple sheets. Only the data from one sheet is preserved per CSV file.
How do I convert multiple Excel sheets to CSV?
CSV is a single-sheet format, so each sheet must be exported as a separate CSV file. Use File Converter's Batch mode or export each sheet individually from Excel using File > Save As > CSV.
Why does my CSV look wrong when I open it in Excel?
Delimiter issues are the most common cause. Excel uses commas as the default CSV delimiter, but some systems export with semicolons or tabs. If columns are all in one cell, check the delimiter setting. Date and number formats may also differ by locale.
Can I convert CSV back to XLSX?
Yes — import or open the CSV in Excel and save as .xlsx. You'll need to re-apply any formatting, formulas, or charts that were stripped during the original conversion.
What's the difference between CSV and JSON for data interchange?
CSV is ideal for tabular data (rows and columns with consistent types). JSON is better for nested, hierarchical data. Most databases prefer CSV; most APIs prefer JSON. See our guide on converting CSV to JSON if you need to work with APIs.
No sign-up, no Microsoft Office, no upload. Your files stay on your device.
Open File Converter