A quoted comma
The city stays one field because the comma is inside quotes.
name,city Grace,"New York, NY"
Paste CSV. The first row is the header unless you choose otherwise.
Quoted fields keep commas and line breaks. An unclosed quote is an error, and no JSON is written.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
The city stays one field because the comma is inside quotes.
name,city Grace,"New York, NY"
A doubled quote inside quotes is one quote in the JSON string.
note "say ""hello"""
Convert a JSON array of objects or arrays to CSV in the browser. Nested values are rejected instead of being encoded.
Validate JSON, then pretty-print it with 2 or 4 spaces or minify it. Invalid JSON produces an error and leaves the output empty.
Check a JSON document against a JSON Schema in the browser. Draft-07 and 2020-12 are supported, and remote $ref values are not fetched.