Convert CSV/TSV to JSON and JSON to CSV with type inference and multiple output formats.
Free online CSV to JSON converter. Paste CSV, TSV, or any delimited text to convert it to JSON instantly with automatic delimiter detection, header row detection, and smart type inference for numbers, booleans, and null values. Choose from 5 output formats: array of objects, array of arrays, column arrays, NDJSON (newline-delimited JSON), or keyed objects. Also converts JSON arrays back to CSV with configurable delimiters. Handles RFC 4180 compliant CSV including quoted fields with commas, escaped quotes, multiline values, and BOM. Runs entirely in your browser — no data is ever sent to a server.
Keywords: csv to json, csv to json converter, csv to json online, convert csv to json, tsv to json, json to csv, json to csv converter, csv converter online, csv parser, csv parser online, csv json converter, delimited to json, semicolon csv to json, tab separated to json, ndjson converter, csv to json array, csv to json objects, csv formatter, csv validator, free csv converter, csv online tool, csv to json api, excel csv to json, google sheets csv json
Tags: csv, json, tsv, convert, delimiter, table, data
Paste your CSV, TSV, or delimited data into the input area on the left, or upload a .csv file using the upload button.
The delimiter is auto-detected — comma, tab, semicolon, and pipe are supported. Override manually if needed from the options bar.
Choose your JSON output format: Array of Objects (default), Array of Arrays, Column Arrays, NDJSON, or Keyed by Column.
Select a type inference mode — Basic infers numbers, booleans, and null; Strict also detects ISO dates. Or choose None to keep all values as strings.
Click Convert or press ⌘↵ (Mac) / Ctrl+Enter (Windows) to generate the JSON output instantly.
Switch to Preview mode to see your data in a tabular view with inferred type badges per column.
To convert JSON back to CSV, paste a JSON array — the tool auto-detects the direction and generates CSV with headers.
Copy the output with ⌘⇧O, download it as a .json or .csv file, or share via a compressed URL.
Bidirectional conversion: CSV/TSV to JSON and JSON to CSV in a single tool with automatic direction detection.
Smart delimiter auto-detection: analyses the first 10 rows to detect comma, tab, semicolon, or pipe delimiters — or override manually.
5 JSON output formats: Array of Objects, Array of Arrays, Column Arrays, NDJSON (newline-delimited), and Keyed by Column — cover every common data processing pattern.
Type inference engine: automatically converts numeric strings to numbers, recognises booleans (true/false/yes/no), and detects null/empty values. Strict mode also parses ISO date strings.
RFC 4180 compliant CSV parser: correctly handles quoted fields with embedded commas, escaped double quotes, multiline values inside quotes, and BOM markers.
Header row detection: automatically uses the first row as column names. Toggle off for headerless data to get auto-generated column names (col_1, col_2, ...).
Tabular data preview: view your parsed data in a dense table with column type badges, row numbers, and cell tooltips for long values.
CSV validation: check your CSV structure without converting — reports inconsistent column counts, malformed quotes, and empty rows with line numbers.
JSON to CSV flattening: when converting nested JSON objects to CSV, nested keys are flattened to dot-notation columns (e.g. user.name → column 'user.name').
European CSV support: handles semicolon-delimited files commonly exported from European versions of Excel and Google Sheets.
Trim and clean options: automatically trim whitespace from values and skip empty rows for cleaner output.
Sort keys option: alphabetically orders JSON object keys for consistent, diff-friendly output.
Shareable URLs: gzip-compresses your input into a URL parameter for sharing with teammates.
Works entirely in your browser — no CSV or JSON data is ever sent to any server. Your data stays completely private.
Keyboard shortcuts for power users: ⌘↵ to convert, ⌘⇧P for tabular preview, ⌘⇧V to validate, ⌘⇧K to clear.