
ツール / Build suite
Convert data between JSON, YAML, CSV and query-string formats with exact, reversible output
Paste JSON, YAML or CSV and convert between them losslessly - nested JSON becomes dotted YAML keys, CSV becomes typed JSON rows - with the parse errors pointed at, not swallowed.

What it does
JSON, YAML (flat and nested) and CSV convert in either direction.
JSON.parse for JSON, indentation-aware YAML reading, quoted-field CSV.
Bad input names the line, not a silent empty output.
Numbers, booleans and nulls stay typed through JSON round-trips.
A value reads as a number only when it fits the strict pattern, so 007 and +5 stay text and 12, -3.5 and 1e3 become numbers.
In YAML, null and a tilde become null, and true and false become booleans, before they reach JSON.
A leading three-dash line is accepted once. A second document is refused with its line number.
Tabs for indentation, anchors, aliases, tags and block scalars each stop the run with a message that names the line.
A key repeated at the same level is an error, not a silent overwrite.
Commas, doubled quotes and line breaks inside quotes are read correctly. A header row and one data row are required.
How it works
Step 1
Paste your data and pick its format.
Step 2
Pick the target format; conversion runs live.
Step 3
Copy the output.
FAQ
Not supported - anchors are flagged as unparseable rather than dropped.
Comma with optional quoting; semicolon dialects convert after a find-replace.
Plain 123 would read back as a number. Strings that look like numbers, booleans, null, yes, no, on or off are quoted so a round trip keeps the type.
Full-line comments are skipped and trailing comments after a space are removed. They are not carried into the output.
Only JSON-style square and curly brackets are accepted inside YAML. Anything else stops with a message.
No. The parsers are JavaScript in the page and run in the tab.
Worked example
This is what Code Converter returned for the example input shown, captured from the tool itself - not a mockup.
You enter
From / To
JSON to YAML
Input
{"service":"api","replicas":3,"tls":true,"endpoints":[{"path":"/users","cache":60},{"path":"/orders","cache":null}],"limits":{"rps":100,"burst":200}}The tool returns
service: api
replicas: 3
tls: true
endpoints:
-
path: /users
cache: 60
-
path: /orders
cache: null
limits:
rps: 100
burst: 200
More in the Build suite
Input To Output
Pipeline
Before After
Pipeline
Before After
Spec Sheet
Input To Output
Pipeline
Before After
Pipeline
Spec Sheet
Spec Sheet
Before After
Pipeline
Before After
Input To Output
Input To Output
Before After
Pipeline