Skip to main content
SK Play Labs logoSK Play Labs

JSON ↔ CSV ↔ YAML

Convert between JSON, CSV, and YAML.

Runs entirely in your browser — nothing you enter is uploaded or sent to a server.

YAML support covers the common block style (no anchors, multi-line scalars or multiple documents) and CSV needs a flat array of records — check the output when your data is deeply nested. Read our full disclaimer.

About this tool

A single converter for the three formats you move data between most: JSON, CSV, and YAML. Paste your data, choose the source and target formats, and the converted output appears instantly. CSV works with tabular data (an array of records), and YAML support covers the common block-style subset — mappings, sequences, and scalars. It's all done in your browser with an in-house converter.

Try it

A JSON array like [{"name":"Sam","role":"admin"}] converts to CSV (name,role / Sam,admin) or to YAML (a list of mappings), and back again.

How to use

  1. 1Choose the format you're converting from and to.
  2. 2Paste your data into the input box.
  3. 3Read the converted output and copy it in one click.
  4. 4Use the swap button to reverse the direction.

Features

  • Convert between JSON, CSV, and YAML in any direction.
  • Swap source and target with one click.
  • In-house converter — no third-party libraries.

Frequently asked questions

How complete is the YAML support?

It handles the common block-style subset: mappings, sequences, nesting, and scalars (strings, numbers, booleans, null), plus quoted strings. It doesn't support anchors/aliases, multi-line scalars, or multiple documents.

How do I convert JSON to CSV (or CSV to JSON)?

Pick JSON as the source and CSV as the target (or the reverse), paste your data, and the result appears instantly. JSON→CSV needs a flat array of records; CSV→JSON treats the first row as the column headers.

How do I convert JSON to YAML?

Choose JSON → YAML and paste your JSON; you get the equivalent block-style YAML (mappings, sequences, scalars). The reverse works too, within the common YAML subset.

Is my data uploaded?

No. The conversion runs entirely in your browser with an in-house converter — no third-party libraries and nothing sent to a server.

What shape does CSV need?

CSV represents a table, so converting to CSV needs an array of flat records (objects). Converting from CSV treats the first row as headers.

More developer tools

View all