Privvert - private browser-based file toolsPrivvert

CSV ↔ JSON

Konverter tabelldata

Om dette verktøyet

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.

Funksjoner

  • 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

Slik bruker du det

  1. Paste CSV or JSON.
  2. Pick conversion direction.
  3. (Optional) override delimiter or header detection.
  4. Copy or download the result.
🔒 100 % privat

Alt skjer inne i nettleseren din med JavaScript og WebAssembly. Filene dine lastes aldri opp, lagres aldri og ses aldri av oss.

Ofte stilte spørsmål

Does it handle multi-line cells?

Yes - quoted fields with embedded newlines and quotes are parsed correctly per RFC 4180.

Why does my CSV have weird characters?

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.

Can I convert nested JSON to CSV?

Flat objects (one level deep) convert cleanly. Nested objects need flattening first because CSV has no concept of nesting.

Will the original column order be preserved?

Yes for CSV → JSON. For JSON → CSV, columns appear in the order keys are encountered in the first object.

Why does Excel mangle my CSV?

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.

Does it handle quoted fields with embedded commas?

Yes. RFC 4180-style quoting with double-quote escaping is supported, so cells that contain commas or newlines round-trip correctly.