YAML and JSON converter
Convert a JSON-compatible YAML 1.2 document to JSON, or JSON to YAML, for config files and APIs. Free, runs in your browser – no upload.
Tool guide
How to use YAML and JSON converter
Convert a bounded JSON-compatible YAML 1.2 document to JSON, or JSON to YAML.
- The Live preview panel shows bounded quick information while you edit. Large input, full reports, random generation and exports still use the action button. Live updates do not spend runs, record tool outcomes or save your input. YAML/XML validation and rendered Markdown require Enable live validation/preview or a first explicit processing action.
- Enter or paste your input, choose the options and select Convert structured text. File selection alone does not read a file; the explicit action starts local processing.
- The YAML lines name: Mint and count: 2 become JSON with string name and numeric count.
- JSON-compatible YAML 1.2 only. Multiple documents, aliases, anchors, explicit tags, complex mapping keys and unsafe integers reject. Comments and formatting are lost.
- Standard: 1 MiB UTF-8 input, 32 MiB complete output. Extended: 4 MiB input, 128 MiB output. XML/YAML: 64 levels, 50,000 values Standard or 200,000 Extended.
- Review the complete downloaded result. Editing, Clear, Cancel or leaving invalidates working output; no input or result is uploaded or saved to an account.
Common questions
What does yaml and json converter support?
Standard: 1 MiB UTF-8 input, 32 MiB complete output. Extended: 4 MiB input, 128 MiB output. XML/YAML: 64 levels, 50,000 values Standard or 200,000 Extended. JSON-compatible YAML 1.2 only. Multiple documents, aliases, anchors, explicit tags, complex mapping keys and unsafe integers reject. Comments and formatting are lost.