Convert Between CSV, JSON and YAML

Convert between CSV, JSON and YAML, entirely in your browser

Drop files here or click to choose one or more — CSV, JSON, YAML, YML

Processed entirely in your browser using a Web Worker. Nothing is uploaded.

How to use

  1. Select a CSV, JSON or YAML file.
  2. Choose the output format from the dropdown.
  3. Click Convert.
  4. Download the converted file.

Accepted formats

CSV (.csv), JSON (.json), or YAML (.yaml/.yml).

Features

  • Any of the three formats as input, any as output
  • RFC 4180-compliant CSV parsing (quoted fields, embedded commas and newlines)
  • JSON output is pretty-printed for readability
  • No file size limit enforced by the tool itself

What happens to your file

Not applicable — these are plain-text data formats with no embedded file metadata to preserve or strip.

Known limitations

  • Converting JSON or YAML to CSV requires the data to be a flat list of objects — nested objects or arrays inside a field are flattened to their raw JSON text rather than expanded into columns.
  • Very large files are limited by your browser's available memory, not by the tool.

Common use cases

  • Turning an API response into a spreadsheet-friendly CSV
  • Converting a CSV export into JSON for a script or app
  • Turning JSON config or API output into a more human-editable YAML file
  • Feeding a YAML config file into a tool that only reads JSON

Questions.

Is my file uploaded anywhere?

No. Data Format Converter runs entirely in your browser using a Web Worker — the file never leaves your device.

What file types does this accept?

Data Format Converter accepts CSV, JSON, YAML, YML files.

Can I convert CSV directly to YAML?

Not as a dedicated preset page yet — convert CSV to JSON first, then JSON to YAML, using the format dropdown on either page.

What happens to empty CSV cells?

They become empty strings in the JSON/YAML output, not null or undefined.

Having trouble with this tool? Report an issue →