How to use
- Paste your data or open a UTF-8 text file; try the sample to see the expected input.
- Choose the options and run the tool, or enable automatic conversion.
- Review the result, then copy the selection, copy everything or download a file.
YAML to JSON
Convert YAML configuration to JSON with precise numbers.
Comparison, parsing and formatting run in your browser. Your input is not sent to DevToolsy.
How it works
Read one YAML 1.2 document and convert its mappings, sequences and scalar values to JSON. Numeric values are preserved without a JavaScript floating-point round trip.
enabled: true
retries: 3
{
"enabled": true,
"retries": 3
}Convert YAML configuration to JSON with precise numbers.
Options and data fidelity
JSON object keys must be strings. Custom tags, non-finite numbers and cyclic aliases cannot be represented. Up to 100 alias expansions are allowed; YAML comments and anchors do not appear in JSON.
Working with the result
Files are read as UTF-8 text. The editors provide search, selection copying and keyboard shortcuts. Results can be copied or downloaded; changing the input invalidates the previous result.
UTF-8 input up to 1 MiB per document; output up to 8 MiB. Tasks run in a local worker with a 30-second time limit.
Frequently asked questions
Which YAML values can become JSON?
Read one YAML 1.2 document and convert its mappings, sequences and scalar values to JSON. Numeric values are preserved without a JavaScript floating-point round trip.
What happens to tags, anchors and comments?
JSON object keys must be strings. Custom tags, non-finite numbers and cyclic aliases cannot be represented. Up to 100 alias expansions are allowed; YAML comments and anchors do not appear in JSON.
Is my input uploaded?
No. Comparison, parsing and formatting run in your browser. Your input is not sent to DevToolsy.
Can I open a local file?
Yes. Open a UTF-8 text file of up to 1 MiB. Each comparison input has its own file picker.
Can I copy only part of the result?
Yes. Select text in an editor and use Copy selection, or use the standard keyboard shortcut.