Private CSV to JSON converter
CSV to JSON Converter and Viewer
A header-based CSV becomes one JSON object per data row. The first row supplies the property names, and every cell remains a string instead of having its type guessed from a few values.
csv--csvv1.0.0
Try the real parser
Paste input on the left. The same Rust parser that ships in the binary runs locally in this page and writes its JSON on the right.
[ { "active": "true", "name": "Ada", "role": "admin" }, { "active": "false", "name": "Lin", "role": "reader" } ]
Hover over a JSON value, or focus the JSON pane and use the Left and Right arrow keys, to trace it to the input. Parsing runs inside this tab in WebAssembly. Pasted text and opened files are not uploaded. If site analytics is enabled, it may receive page-level visit data such as the URL, title, and referrer; text in this editor is never included.
Accepted input
Non-empty UTF-8 delimited text with a header row. The delimiter is inferred from the first line by comparing pipe, tab, and comma characters, with pipe and tab winning ties as defined by the parser. A UTF-8 BOM is stripped, and quoted fields may contain delimiters or newlines.
What the JSON contains
- The first record supplies property names; each later record becomes one object in a JSON array.
- All cell values remain strings, including values that look like numbers, booleans, or dates.
- Rows wider than the header receive fallback names such as
col3; rows with fewer fields simply omit the missing keys. - Leading spaces before a field are normalized by the parser, while content inside a quoted field is preserved.
What you can do here
- Convert CSV rows to JSON objects
- Use the CSV viewer to inspect a file as structured JSON
- Parse CSV without automatic type conversion
Use the same parser in a shell
$ cat data.csv | jc-rs --csvThe browser tool is for inspection. The CLI form is the useful one in scripts, pipes, containers, and repeatable checks.
Continue with the parsed JSON
Fixture coverage
Magic syntax
Source: crates/jc-rs-parsers/src/format/csv.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare