CSV to JSON Converter
CSV rows become a JSON array, keyed by the header row.
Split a CSV into smaller parts of N rows each, in your browser. Every part repeats the header, shown together in one output to copy out.
Your browser is preparing the tool. It runs 100% locally.
Paste a CSV with a header row and choose how many rows per part. The tool divides the data rows into chunks of that size and repeats the header on each one. All the parts appear in a single output box, separated by clear part markers, ready for you to copy out. Your browser does all the work.
This breaks a large CSV into smaller pieces. You set the number of rows per part, and the tool splits the data rows into chunks of that size, repeating the header row at the top of each part so every piece is a valid CSV on its own.
All the parts are shown together in one output, each introduced by a part marker. You copy each part out yourself; the tool does not download separate files.
Paste your CSV, including the header row, and set the rows-per-part number.
The header is kept aside, and the data rows are divided into chunks of your chosen size.
Each chunk is rebuilt as a CSV with the header on top, labelled with a part marker, and all parts are shown in one box to copy. Your browser does all the work.
Header row is kept and repeated in every part
Each part = the header + up to N data rows (N = rows per part)
Parts are shown together, separated by part markers
Number of parts = data rows divided by N, rounded upA CSV with 5 data rows split at 2 per part gives 3 parts (two of 2 rows and one of 1), each starting with the header and a part marker.Everything appears in one output box; copy each part out yourself. The tool does not download separate files.
Your browser processes the CSV on your device. No server is involved.
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 |
|---|---|
| Control | Rows per part (min 1) |
| Header | Repeated in each part |
| Output | All parts in one box |
| Separators | Part markers |
| Files | Not downloaded separately |
| Processing | 100% in-browser |
The parts are shown together in one output box, not downloaded as separate files. Copy each part, between the markers, into its own file yourself.
The header row is repeated on every part, so each piece opens correctly on its own. Your first row must be the header.
Rows per part is at least one. The last part holds whatever rows remain, so it may be smaller than the others.
The parser handles quoted fields, so a value containing a comma or a line break is kept whole and counted as one row.
Split a big CSV into parts small enough for a tool that caps rows per upload.
Break a long CSV into manageable chunks to send or review.
Divide data into parts you can process one at a time.
Grab just the first part as a quick sample of a large CSV.
If you need each part as its own downloaded file, copy each marked part into a new file yourself, or use a desktop CSV splitter. To split an Excel workbook by sheet, use the Excel sheet splitter.
Parses your CSV and divides the data rows into parts of the size you choose, repeating the header on each part. The parts appear together in one output box, separated by part markers, for you to copy out. It does not download separate files.
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.