CSV to JSON — RFC 4180 Converter with Delimiter and Type Detection
Parse quoted RFC 4180 CSV columns into typed JSON arrays instantly.
4 data rows, 6 columns, comma delimiter (detected).
| hostname | ip | vlan | lokasi | aktif | catatan |
| core-rtr | 10.0.0.1 | 1 | Jakarta, DC1 | true | |
| sw-akses-01 | 10.0.10.11 | 10 | Lantai 2 | true | kabel "uplink" diganti |
| ap-lobby | 10.0.20.5 | 20 | Lobby | false | dua baris catatan |
| nvr-01 | 10.0.30.2 | 030 | Ruang server | true | kode lama 007 |
- Reading follows RFC 4180 like Python's csv module: a quoted field may hold delimiters and line breaks, and "" inside it is one quote. Numbers with a leading zero such as 007 stay text so postal codes and IDs do not change.
When to use the CSV Spreadsheet Data to JSON Array Converter
Quotes read correctly
Quoted fields may hold commas, line breaks and "" as one quote, exactly as RFC 4180 says. Reading is tested to match Python's csv module on thousands of random documents.
Delimiter detected automatically
Commas, semicolons (CSV from Indonesian or European Excel), tabs and pipes are recognised from a consistent column count in the first lines; the delimiter can also be chosen by hand.
Safe data types
When turned on, JSON-style numbers become numbers, true/false booleans and empty cells null. Values such as 007 or 0812 stay text so postal codes and phone numbers do not change.
Ragged rows reported
Rows with missing cells get null, extra cells go into "_extra", and repeated or empty column titles are renamed, each with a note that names the line.
Frequently asked questions
What about semicolon CSV files from Excel?
Auto-detection picks the semicolon when it gives a consistent column count. Indonesian Excel uses semicolons because the comma is the decimal separator.
Are blank lines converted?
No. Blank lines are skipped, as Python's csv.DictReader does.
What about very large files?
Everything runs in the browser; files of tens of megabytes may take a few seconds, and the preview shows only the first eight lines.
Can it work without a title line?
Yes. Turn the title option off and every line becomes an array of values.
Is my data uploaded?
No. The conversion runs in your browser.
Similar tools
- JSON Array of Objects to CSV FlattenerFlatten JSON object arrays with consistent CSV header quoting for Excel.
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.