Frequently asked questions
Does it keep the order of my keys?
Yes. Keys come out in the same order they appear in your JSON.
Why are some of my values in quotes?
YAML treats unquoted text like 2024-01-01 or 042 as dates or numbers. The converter quotes those values so they stay strings, exactly as they were in your JSON.
Can I paste a JavaScript object instead of JSON?
No. The input must be strict JSON, so keys need double quotes and trailing commas are not allowed. For a JavaScript object, quote the keys first.