CSV to JSON
Your text is used only to create the result and is not saved.
What does CSV to JSON do?
CSV to JSON turns comma-separated data, such as a spreadsheet export, into JSON objects - one object per row, using the first row as field names.
How to use CSV to JSON
- Paste or type your text into the box. The Paste button inserts what you copied, and Sample loads an example.
- Press Convert.
- Check the result and press Copy to use it. Reset clears everything.
When is it useful?
- Use spreadsheet data in a web app
- Prepare data for an API
- Convert exports for JavaScript
Example
name,age / Ann,30 becomes [{"name":"Ann","age":"30"}].
Good to know
- The first row must contain the column names.
- Your text is only used to create the result and is not saved.
Frequently asked questions
Is CSV to JSON free?
Yes. You can use it as often as you like without creating an account.
Is my text saved?
No. It is sent to our server only to create the result and is not stored. Like every tool on the site we keep a basic usage record (tool name, time, IP address and country); see our Privacy Policy.
Does it work on my phone?
Yes. It runs in any modern browser on a phone, tablet or computer - there is nothing to install.