File & Data Tools
Convert CSV to JSON
Each row becomes an object keyed by the header row. Values are kept as strings — no silent type guessing.
- Free, no signup
- No upload — runs on your device
- No watermark
- Unlimited use
CSV to JSON
Processed locallyThe first row is used as keys
Automatic type conversion is a bug, not a feature
Most CSV-to-JSON converters try to be helpful: 42 becomes the number 42, true becomes the boolean true, null becomes null. Then your phone number +441234567890 becomes the number 441234567890, your version string 1.0 becomes 1, and your product code 0x1F becomes 31.
Worse, the inference is per-value rather than per-column. One row with an empty cell in a numeric column and you have a JSON array where most objects have a number and one has an empty string — which crashes the consumer that reasonably assumed the type was uniform.
This tool emits every value as a string. That is a deliberate refusal to guess. If you want numbers, cast them in the language you are loading the JSON into, where you know the schema and the failure mode. A conversion tool does not know either.
How it works
- Drop in a CSV
- Toggle pretty-printing if you want indentation
- Copy the JSON, or click Download