CSV to JSON Converter
CSV rows become a JSON array, keyed by the header row.
Pick out the columns you want from a CSV, in your browser. Choose by header name or 1-based number, in any order.
Your browser is preparing the tool. It runs 100% locally.
Paste a CSV and list the columns you want, by header name or 1-based number, comma-separated. The tool outputs a CSV of just those columns, in the order you list them, header included. Anything it cannot match is skipped. The CSV Column Extractor works inside your browser.
This keeps only the columns you ask for and drops the rest. You list them by header name (such as name) or by 1-based number (such as 1 for the first column), separated by commas.
The chosen columns come out in the order you listed them, so you can reorder as well as filter. The header row is kept, and it skips any name or number it cannot match.
Paste your CSV, header row first, and type the columns you want to keep.
Each entry is matched first against the header names; if it is not a header, it is read as a 1-based column number.
The matched columns are written out in your listed order, header included. Copy or download the result; your browser does all of it.
List the columns by header name or 1-based number, comma-separated
Each entry is matched to a header, else read as a 1-based number
Matched columns are output in the order you list them
Unrecognised names or numbers are skippedFrom name,age,city, asking for name,city (or 1,3) keeps those two columns in that order and drops age. The header row stays.Listing columns in a new order reorders them; a name or number that matches nothing is silently dropped.
Your browser processes the CSV. No server is involved and nothing is uploaded.
The data never leaves your device, so even sensitive records stay private.
You don't need an account and the site keeps no copy, so the conversion is gone once you close the tab.
| Input | CSV with header row |
|---|---|
| Select by | Header name or 1-based number |
| Order | Your listed order |
| Unmatched | Skipped |
| Header | Kept |
| Output | CSV (.csv) |
| Processing | 100% in-browser |
Each entry is matched to a header name first; if it is not a header, it is read as a 1-based column number, where the first column is 1. Mixing names and numbers in one list is fine.
Anything it cannot match is silently dropped. A misspelled header or an out-of-range number does not appear and raises no error, so check that your output has every column you expected.
Columns come out in the order you list them, so you can reorder as well as filter. The header row is kept at the top.
The parser handles quoted fields, so a value containing a comma is treated as one column, not split.
Keep only the few columns you need from a wide CSV.
Output columns in a new order for another tool's import.
Remove columns you do not want to share by leaving them out.
Make a small CSV of only the columns a task needs.
To filter rows or compute values, use a spreadsheet. To view the result as a table, use the CSV viewer.
Selects the columns you name, by header text or 1-based position, and outputs a CSV of just those, in the order you list them. Columns it cannot match are skipped. The header row is kept. Runs in your browser.
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.