CSV Formatter & Converter
Convert CSV, TSV or semicolon data to JSON, Markdown, HTML tables, SQL INSERT statements or another separator — with automatic delimiter detection and a live table preview.
How to use the CSV Formatter & Converter
- Paste your data or open a CSV file.
- Pick the output format: JSON, Markdown, HTML, SQL, TSV or CSV.
- Copy the result or download it as a file.
Good to know
- Numbers, true/false and empty cells are converted to proper JSON types.
- SQL output quotes text safely and writes NULL for empty cells.
- Choose CSV with a semicolon separator for European versions of Excel.
Frequently asked questions
How do I convert CSV to JSON?
Paste the CSV and choose JSON. Each row becomes an object with the header names as keys.
Can I change commas to semicolons?
Yes. Choose CSV as the output and select Semicolon.
Does it handle quotes and commas inside values?
Yes. Quoted fields with commas, quotes and line breaks are parsed correctly.
Can I create SQL insert statements?
Yes. Choose SQL INSERT and type your table name.
Is my data uploaded?
No. Everything runs in your browser on your own device.
How to convert CSV to JSON, SQL or Markdown
- Paste your CSV, TSV or semicolon-separated data. The separator is detected automatically.
- Choose the output: JSON, a Markdown or HTML table, SQL INSERT statements, or a different separator.
- Check the preview, then copy or download the result.
Tips for clean output
Make sure the first row holds your column names. They become the JSON keys, the table headers and the SQL column names. If a value contains a comma, wrap it in double quotes in the source so it stays in one cell.
Converting to SQL is handy for loading a spreadsheet into a database for testing. Check the column types before running the statements on a live database.
Quick questions
My data uses semicolons. Will it work? Yes. Semicolon files, common from Excel in Europe, are detected automatically.
Is there a size limit? Very large files can be slow in a browser. Split huge files into smaller parts first.