Java YAML Parser
Java YAML Parser — parse YAML to JSON the way a Java parser would. It runs entirely in your browser, so nothing is uploaded and it works fully offline.
Java™ is a trademark of Oracle Corporation. This independent browser tool is not affiliated with or endorsed by Oracle, and trademarks belong to their respective owners.
Converts one document using JSON-compatible values and string mapping keys. Numbers that would change during conversion, negative zero, nonfinite values, timestamps, binary data, sets, ordered maps, pairs, merge keys, cycles and unknown tags are rejected. Quote values only when text is intended; this changes their type. Ordinary aliases are expanded for JSON. Comments, quote style and numeric spelling are not retained. Limits: 2 MiB of text, 50,000 expanded values and 100 nesting levels.
How to use Java YAML Parser
- Paste one YAML document to produce a JSON preview.
- Review strings, numbers, arrays and object keys in the completed output.
- Resolve unsupported values or syntax errors. This browser preview is not a test of a Java, Go or PHP runtime.
- Copy the current completed JSON and check it against the receiving application’s requirements.
About this tool
This browser tool works with the supported JSON-compatible subset of YAML described above. A completed result means that this conversion succeeded; it does not validate an application schema, a deployment configuration or another programming language’s parser.
Keep the original source before formatting or conversion. Formatting normalizes presentation and removes comments. The operation runs locally in this browser and does not upload the entered document to a conversion service.
Frequently asked questions
How do I use Java YAML Parser?
Use Java YAML Parser to parse your input without installing anything; everything happens client-side.
Does Java YAML Parser cost anything?
This local tool is free to use. Its supported data types and conversion-size limits are listed beside the result.
Does Java YAML Parser upload my data?
No — Java YAML Parser processes everything locally in your browser, so nothing you enter is uploaded or stored.
How does Java YAML Parser handle YAML indentation errors?
Java YAML Parser reports the problem inline so you can fix the indentation, all within your browser.
Can I use Java YAML Parser without a connection?
Yes — after the first load Java YAML Parser runs entirely offline.