CSV ↔ JSON
Konvertér tabeldata
Om dette værktøj
Convert between CSV and JSON, and pretty-print or filter rows. Privvert auto-detects the delimiter (comma, tab, semicolon, pipe) and correctly handles quoted fields, embedded newlines, and escaped quotes - the messy parts most naive parsers get wrong.
Useful for moving data between Excel/Google Sheets and APIs, prepping CSVs for import, debugging exports, and quickly inspecting tabular data. Everything runs locally.
Funktioner
- CSV ↔ JSON in either direction
- Auto-detect delimiter (comma, tab, semicolon, pipe)
- Header row toggle
- Handles quoted fields, embedded newlines, escaped quotes
- Output as pretty JSON or compact JSON
- Browser-only - data never uploaded
- Free and unlimited
- Auto-detects comma, semicolon and tab delimiters and quoted fields
Sådan bruger du det
- Paste CSV or JSON.
- Pick conversion direction.
- (Optional) override delimiter or header detection.
- Copy or download the result.
Alt sker inde i din browser med JavaScript og WebAssembly. Dine filer bliver aldrig uploadet, aldrig gemt og aldrig set af os.
Ofte stillede spørgsmål
Yes - quoted fields with embedded newlines and quotes are parsed correctly per RFC 4180.
Likely a character encoding mismatch - your file may be Windows-1252 or UTF-16 instead of UTF-8. Re-save as UTF-8 from your source app.
Flat objects (one level deep) convert cleanly. Nested objects need flattening first because CSV has no concept of nesting.
Yes for CSV → JSON. For JSON → CSV, columns appear in the order keys are encountered in the first object.
Excel's CSV parser is locale-dependent: in German and most other European locales it expects a semicolon as the separator, not a comma. Save with semicolons (or use the Tab option and rename to .txt) if Excel keeps cramming everything into one column.
Yes. RFC 4180-style quoting with double-quote escaping is supported, so cells that contain commas or newlines round-trip correctly.