Skip to main content
SK Play Labs logoSK Play Labs

JSON ↔ CSV ↔ YAML

Convert between JSON, CSV, and YAML.

YAML output
- name: Sam
  role: admin
- name: Jo
  role: editor

CSV works with an array of flat records (a table). YAML support covers the common block-style subset (mappings, sequences, scalars) — not anchors, multi-line scalars, or multiple documents.

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.

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