Paste CSV or JSON text below and click Convert - the tool detects which one you pasted and gives you the other.
Everything runs in this browser tab, so nothing is uploaded to a server. CSV parsing treats the first row as column headers and automatically detects numbers and booleans, and the Copy Output button copies the finished result straight to the clipboard while Clear resets the input for another run.
CSV to JSON Converter
Paste CSV text on the left and click the button to get pretty-printed JSON on the right - the tool detects the format automatically, so pasting JSON back in converts it to CSV just as easily.
Typical use: preparing a CSV export for an API or script that expects JSON, or turning a JSON array of records into a CSV file for a spreadsheet.
Everything runs locally in this browser tab; your data is never uploaded to a server.
Frequently Asked Questions
What does this tool do?
Paste CSV text and it converts to pretty-printed JSON, or paste JSON and it converts back to CSV - the tool detects which format you pasted and produces the other one, all in the browser.
Does it work in both directions?
Yes. The same input box accepts either CSV or JSON. Format detection is automatic, so there is no separate reverse-direction page.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser tab; nothing is sent to a server.