Move between config formats
Convert JSON samples into YAML config, or convert YAML into JSON for easier handling in code.
브라우저 내부 처리
Convert JSON and YAML while moving structured data between formats.
Move structured data such as API responses, config files, and manifests between JSON, YAML, and simple CSV output.
Convert JSON samples into YAML config, or convert YAML into JSON for easier handling in code.
Check whether arrays, objects, strings, numbers, booleans, and null values survive conversion as intended.
Turn simple array data into CSV when you need a quick spreadsheet or review table.
YAML 1.1 reads no, yes, on, and off as booleans. The country code NO becoming false is known as the Norway problem. Quote the value to keep it a string.
YAML does not accept tabs for indentation. Use spaces and keep the width consistent across the file.
Values like 08 or a phone number can be parsed as octal or numeric. Quote phone numbers, postal codes, and version strings.
YAML can interpret values that look like yes, no, or dates. Quote sensitive string values when exact text matters.
JSON has no comments, and YAML comments or original formatting may be lost during conversion. Keep the original config separately.
Bare yes, no, on, off and null parse as booleans or null rather than strings. The country code NO becoming false is the classic example. Quote anything that must stay a string.
The YAML spec permits only spaces for indentation. An editor inserting tabs causes a parse error that looks fine on screen. Enable tab-to-space conversion for YAML files.
YAML anchors and aliases reuse a block, and JSON has no equivalent. Converting expands every reference, inflating the file, and the original structure cannot be restored on the way back. Avoid anchors if you need a round trip.
Input
{"name":"api","port":8080,"debug":false}
Output
name: api
port: 8080
debug: false
Input
{"db":{"host":"localhost","ports":[5432,5433]}}
Output
db:
host: localhost
ports:
- 5432
- 5433