Skip to content
appsriha apps

JSON YAML CSV Converter

Convert between JSON, YAML and CSV, with error lines

Result · YAML
The result will appear here.

YAML support covers mappings, lists, strings/numbers/booleans/null, quoted strings, block scalars (| >), comments and flow style ([ ] { }). Anchors, aliases, tags and multiple documents aren't supported. In CSV, nested objects become a.b columns and arrays become JSON strings.

How to use JSON YAML CSV Converter

  • Pick the input and output formats and paste your data to convert instantly. Not sure of the format? Press Detect.
  • For CSV you can choose a comma, tab or semicolon delimiter, a header row, and automatic number/boolean conversion. Nested objects become a.b columns and arrays become JSON strings.
  • YAML support covers mappings, lists, quoted strings, block scalars (| >), comments and flow style ([ ] { }). Anchors, aliases and tags aren't supported. Syntax errors show the line number.
  • Your input is processed only in your browser and never sent to a server.

Frequently asked questions

What happens when I convert nested JSON to CSV?

Nested objects are flattened into dotted columns like address.city, and arrays go into one cell as a JSON string such as ["admin"]. Even if objects have different keys, every key becomes a column. Converting CSV back to JSON nests the address.city column again as { "address": { "city": ... } }.

What happens to numbers when converting CSV to JSON?

With Convert numbers & booleans on, 1 becomes a number, true a boolean and an empty cell null. Values starting with 0 like 007 and integers too large to be exact stay strings so they aren't damaged. Turn the option off to read every value as a string.

Does YAML yes or on become true?

No. Following YAML 1.2, only true and false are booleans; yes and on stay strings, and ~ or an empty value is null. Anchors (&), aliases (*), tags (!) and multiple documents aren't supported and are reported with the line number, and tabs used for indentation trigger a message to use spaces.

How do delimiters and downloads work?

Choose comma, tab or semicolon as the CSV delimiter, or press Detect to guess the format and delimiter. Commas and line breaks inside double quotes are handled. Copy the result or download it as a UTF-8 file such as converted.csv. Your input is never sent to a server.