CSV to JSON Converter
CSV rows become a JSON array, keyed by the header row.
Turn space- or tab-aligned text into CSV in your browser. Columns split on a tab or a run of two or more spaces.
Your browser is preparing the tool. It runs 100% locally.
Paste columns of text and get CSV. Each line becomes a row, and the tool splits a line wherever it finds a tab or a run of two or more spaces. Single spaces inside a value are kept. Any field containing a comma or a quote is wrapped in double quotes. The conversion happens in your browser.
This converts plain, column-aligned text into CSV. Wherever a line has a tab or two or more spaces, the tool treats that as a column break; a single space is left inside the value. Each line of text becomes one CSV row.
Fields that contain a comma or a double quote are wrapped in double quotes so they survive as a single CSV field. The result is ready to copy or download as a .csv file.
Paste or type your text. Blank space around the whole block is trimmed first.
Each line is split into fields wherever a tab or a run of two or more spaces appears, then the fields are joined with commas.
A field containing a comma or a quote is wrapped in double quotes. Copy the CSV or download it from the page.
Each line = one CSV row
Split each line on a tab or a run of 2+ spaces
Join the fields with commas
A field with a comma or quote is wrapped in double quotesTwo columns separated by several spaces, name then age, become name,age. A value like Paris, France keeps its comma and is wrapped as "Paris, France".A single space does not split a column, so multi-word values stay intact. Internal double quotes are wrapped but not doubled; the limitations below explain why that matters.
Your browser processes the text on your device. No server is involved.
Since the text stays on your device, you can paste sensitive records too.
You don't need an account and the site keeps no copy, so the conversion is gone once you close the tab.
| Input | Tab- or space-aligned text |
|---|---|
| Column break | Tab or 2+ spaces |
| Output | CSV (.csv) |
| Quoting | Wraps comma/quote fields |
| Single spaces | Kept inside values |
| Standard | RFC 4180 (mostly) |
| Processing | 100% in-browser |
Columns are detected by a tab or a run of two or more spaces. If your data uses single spaces between columns, they will not split, so separate columns with a tab or at least two spaces.
A single space inside a value is preserved, so multi-word values such as a full name stay in one field.
Quoting is simplified. A field with a comma or quote is wrapped in double quotes, but an internal double quote is not doubled. Under RFC 4180 an internal quote should be written twice, so a value that already contains a quote may not be escaped correctly, so check those fields.
Empty lines become empty rows, and the block is trimmed first, so leading and trailing blank lines are removed.
Turn columns copied from a document or terminal into a CSV file.
Convert tab-separated text copied from a spreadsheet into CSV.
Make CSV from space-aligned columns in a log or report.
Produce a simple CSV to import into another tool.
If your text is strictly tab-separated, the TSV to CSV converter handles quoting more strictly. For values with embedded quotes, fix the escaping in a spreadsheet.
Splits each line of your text on a tab or a run of two or more spaces and joins the fields with commas, wrapping any field that contains a comma or quote. It wraps but does not double an internal quote, so check fields that already contain double quotes.
CSV rows become a JSON array, keyed by the header row.
Flatten a JSON array of objects into CSV columns.
Turn everyday Markdown into clean HTML in your browser.
Pasted CSV becomes a real .xlsx, with leading zeros kept.
Pull the first sheet of a workbook out as plain CSV.
Each spreadsheet row becomes a JSON object keyed by the header.
The file never leaves your computer, and you don't need an account.