JSON, YAML, TOML and XML converter
Convert between JSON, YAML, TOML and XML in any direction as you type, with clear line and column errors.
Questions
What happens to null values in TOML?
TOML has no null, so keys whose value is null are left out. The page lists every key it left out so nothing disappears silently.
How are XML attributes handled?
Attributes become keys that start with @, and element text sits under #text when an element also has attributes. The same convention turns them back into attributes when you convert to XML.
Why does XML output start with a root element?
An XML document must have exactly one root element. When your data has several top level keys, they are wrapped in <root>.