Quick reference
| Setting | Value / behavior |
|---|---|
| Indentation | two spaces |
| String handling | quoted |
| Direction | JSON → YAML only |
Input and conversion rules
JSON and YAML can represent similar data structures, but YAML supports many additional features. This tool accepts JSON only and emits a straightforward YAML mapping or sequence. String keys and values are double-quoted using JSON-compatible escaping, reducing surprises from values such as yes, on, dates and strings containing a colon. Arrays use dash-prefixed entries, nested structures use two-space indentation, and empty arrays and objects retain explicit [] and {} forms.
Important edge cases
This is a one-way structural conversion, not a general YAML parser. It does not preserve comments, anchors, custom tags, block-scalar styling or source formatting, because those features are not present in JSON input. Number handling follows JavaScript, so large integers can lose precision before conversion. Validate the downloaded YAML with the actual receiving application, especially where its parser supports only a particular YAML version or imposes a schema. A syntactically readable document can still contain invalid application settings.
A reliable workflow
First run the built-in example to understand the output structure. Replace it with a small representative sample from your own workflow and inspect every field that has special meaning: identifiers, currency, dates, missing values and nested collections. Then process the complete input, up to two million characters. The result can be copied or downloaded. Keep a separate original because conversion is not always reversible, especially when the target format cannot represent all the distinctions in the source.
Privacy and verification
The transformation runs in your browser using local JavaScript. There is no data-upload request and no account requirement. The page does not save your input to browser storage or place it in a shareable URL. Clearing the form removes the displayed input and result; it does not delete the original file or erase your operating system’s clipboard. Check the receiving program with a small import before loading a complete dataset. If the input is untrusted, retain formula protection where available and avoid running exported commands without review.
Frequently asked questions
Are my values uploaded?
No. The conversion is performed in the page.
Is the conversion lossless?
Not always. Review the edge cases above, especially missing values, nested data and number precision.
Why did validation fail?
Check syntax, expected input shape and the specific row or parser error shown by the tool.
About this tool
Built and maintained by Mihai at Void Fabric. This page documents the behavior of the current implementation. Found an error or an unclear assumption? Send a reproducible example with sensitive values removed.
Reference: Void Fabric field notes · Testing and editorial policy