CSV, Excel and JSON: How to Convert Between Them
Updated 07 Jun 2026
If you work with data in any form, you have probably bumped into three names again and again: CSV, Excel and JSON. They all hold rows and columns of information, yet they behave very differently. A government portal may insist on a CSV upload, your accountant may want a proper Excel workbook, and a web developer may ask you for JSON. Knowing what each one is, and how to move between them, saves a lot of confusion. This guide explains all three in plain English and shows you how to convert between them for free in your browser.
What is a CSV file?
CSV stands for "comma-separated values". It is the simplest of the three: plain text where each line is a row, and each value in that row is separated by a comma. There is no formatting, no colours, no formulas, and no multiple sheets. Because it is so basic, almost every system can read and write CSV, which is why portals and software so often ask for it when you import or export data.
The trade-off is that a CSV holds only raw values. If your spreadsheet has bold headings, currency symbols, or calculated totals, those are lost the moment you save as CSV. What remains is the underlying data, clean and portable.
What is an Excel (XLSX) file?
Excel files, usually ending in .xlsx, are full spreadsheet workbooks. A single file can contain several sheets, formulas that calculate automatically, formatting such as colours and borders, charts, and frozen header rows. This makes Excel ideal when a human needs to read, edit, and work with the data, and when you want totals and other calculations to update on their own.
Excel is the right choice for invoices, budgets, reports, and any document where presentation and live calculations matter. It is heavier than CSV, but far more capable.
What is JSON?
JSON stands for "JavaScript Object Notation". It is the language of apps, websites, and APIs. Instead of a flat grid, JSON stores data as a list of structured records. Each row of a spreadsheet becomes an object, and the column headings become the keys inside that object. So a row with Name, City, and Amount becomes a small record where each value is labelled.
Developers prefer JSON because programs can read it directly without guessing what each column means. If you are feeding data into a website or a mobile app, JSON is usually what is expected.
Comparing the three formats
The table below sums up the differences so you can decide which format fits your task.
| Feature | CSV | Excel (XLSX) | JSON |
|---|---|---|---|
| Best for | Data exchange and uploads | Human-readable reports | Apps, websites and APIs |
| Multiple sheets | No | Yes | No |
| Formulas and formatting | No | Yes | No |
| Structure | Flat rows and columns | Flat grid with extras | Labelled records |
| Read by software | Almost everything | Spreadsheet apps | Programs and developers |
How to export an Excel sheet to CSV
A very common task is preparing data for a portal that only accepts CSV, such as a tax filing site or a bulk-upload page. You start with a tidy Excel sheet and need the plain comma-separated version.
- Open the Excel to CSV converter in your browser.
- Select your .xlsx file. If it has several sheets, pick the one you want to export.
- Download the CSV file that is produced.
- Open it once to confirm the columns line up, then upload it to the portal.
Remember that only the values carry over. Any totals built with formulas will appear as their final numbers, which is usually exactly what the portal wants.
How to turn a CSV into a proper Excel workbook
The reverse is just as useful. Suppose you downloaded a CSV from your bank or an online tool and the values are crammed into a single column when you open them. Converting to a real Excel workbook splits everything into neat columns and gives you a file you can format and calculate with.
- Open the CSV to Excel converter.
- Upload your CSV file.
- Download the resulting .xlsx workbook, with each value placed in its own cell.
- Add headings, totals, or charts in Excel as you need.
This is the quickest way to make a raw export presentable without retyping anything.
How to convert a sheet to JSON
If a developer or a website needs your data, JSON is the format to send. Each row becomes an object, and your header row supplies the keys. That is why a clean header row matters so much here.
- Open the Excel to JSON converter.
- Upload your spreadsheet and choose the sheet to convert.
- Download the JSON output, where every row is a labelled record.
- Hand the file to your developer or paste it into the system that asked for it.
Tips for clean conversions
A few habits make every conversion smoother and prevent broken results:
- Keep one clear header row. Use short, simple column names with no blank cells, since these become your JSON keys and your Excel headings.
- Stay consistent down each column. Do not mix text and numbers in the same column, and avoid merged cells, which do not survive conversion.
- Watch for commas inside fields. An address or a sentence that contains a comma can confuse a CSV reader. Well-made tools wrap such values in quotes automatically, but it helps to check the output once.
- Mind the rupee symbol. If a column holds amounts written as ₹1,200 the comma and symbol are text. For calculations, keep amounts as plain numbers and add formatting later in Excel.
- Remove blank rows. Empty rows at the bottom of a sheet can create stray empty records, so clear them before converting.
Your data stays in your browser
One worry people have is uploading sensitive data, such as salaries or customer lists, to an unknown server. These converters run entirely inside your browser. Your file is read and converted on your own device, so the data is not sent anywhere. That keeps private information private while still giving you a quick result.
Frequently Asked Questions
- Will I lose my formulas when I save as CSV? Yes. CSV keeps only the final values, not the formulas behind them. If you need the calculations to stay live, keep an Excel copy as well.
- Why does my CSV open as one long column? Some spreadsheet apps do not split CSV correctly on opening. Converting the CSV to a proper Excel workbook places each value in its own cell reliably.
- What happens to multiple sheets when I convert? CSV and JSON hold a single table at a time, so you convert one sheet per file. Excel is the only format here that keeps several sheets together.
- Is it safe to upload confidential data? These tools process your file in the browser on your own device, so the data is not uploaded to a server.
Conclusion
CSV, Excel and JSON each have a clear job: CSV for simple exchange and uploads, Excel for readable reports with formulas, and JSON for apps and developers. Once you know which one a task needs, switching between them is straightforward. Keep your headers clean and your columns consistent, and you can move data confidently in any direction, starting with the free CSV to Excel converter whenever you need a raw file turned into a proper workbook.