HIROTA YANO
FREE WEB TOOLS
JP
/
EN

JSON Converter: Format, Minify, to CSV / XML / YAML

Indent:

How to use this tool

This is a tool that runs in your browser to converts JSON. You can “Format”, “Minify”, “to CSV”, “to XML”, and “to YAML”.

The tool is completed within the browser and does not send the input JSON to the server (it is processed only by JavaScript on the client).

About CSV Conversion

Convert each key in JSON as a header row. If there are object or array, they are broken down into separate columns.

  • Object: Separate by /.
  • Array: Represented by /number.

e.g. Conversion of JSON containing object and array.

[
  {
    "number": 1,
    "string": "foo",
    "object": { "key1": "foo_key1", "key2": "foo_key2" },
    "array": ["foo1", "foo2"]
  },
  {
    "number": 2,
    "string": "bar",
    "object": { "key1": "bar_key1", "key2": "bar_key2" },
    "array": ["bar1"]
  }
]
"number","string","object/key1","object/key2","array/0","array/1"
1,"foo","foo_key1","foo_key2","foo1","foo2"
2,"bar","bar_key1","bar_key2","bar1",