JSON ↔ YAML Converter
Convert JSON to YAML and YAML to JSON both ways (basic structures supported).
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
This is a tool that converts JSON and YAML into each other. It's handy for turning config files (YAML) into JSON that's easy to use in code, or tidying things up the other way around.
How to use
- Choose the conversion direction (JSON→YAML or YAML→JSON) from the tabs at the top.
- Paste your source into the input box, or load a sample with 'Insert example'.
- Check the automatically converted result and grab it with 'Copy result'.
FAQ
- How much YAML syntax is supported?
- It supports basic structures like indentation-based mappings (key: value) and sequences (- item), quoted strings, numbers/booleans/null, inline [ ] and { } collections, and # comments. Advanced syntax such as anchors (&, *) and multiline block scalars (|, >) is not supported.
- How many spaces of indentation does it use?
- The JSON→YAML output uses 2-space indentation. When parsing YAML→JSON, it also interprets based on the standard 2-space indentation structure.
- Can I trust the conversion result as-is?
- It's a simple implementation built for basic structures, so results can differ when complex advanced syntax is mixed in — review it as a reference before using. Invalid formats are reported with an error message and the app won't crash.
