YAML naar JSON
Omzetten tussen YAML en JSON
Werkt in je browser · Geen uploads
De tool zelf en de uitleg op deze pagina zijn voorlopig in het Engels. Hij werkt hetzelfde: alles gebeurt in je browser.
Je browser is te oud voor deze tool. Werk hem bij of gebruik een recente versie van Chrome, Edge, Firefox of Safari.
- Niets verlaat je apparaat
- Geen groottelimieten van een server
- Geen aanmelding, geen watermerk
- Gratis
How to convert YAML to JSON
- Choose the direction: YAML to JSON or JSON to YAML.
- Paste your text, open a file, or try the example.
- Copy or download the result.
Good to know
- A file with several YAML documents (separated by ---) becomes a JSON array.
- YAML comments are not part of JSON, so they are left out of the JSON.
- Values such as .inf and .nan have no JSON equivalent and become null; the page points this out.
- YAML follows version 1.2, so yes, no, on and off stay text instead of turning into true and false.
- Very deeply nested aliases ("billion laughs") are stopped to keep your browser responsive.
Veelgestelde vragen
Why did "yes" not become true?
In YAML 1.2, which this converter follows, only true and false are booleans. Older YAML 1.1 tools also turned yes, no, on and off into booleans, which caused surprises such as the country code NO becoming false.
Is my data uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.