Yaml to xml converter
World's simplest yaml tool
Quickly convert Yet Another Markup Language to Extended Markup Language. Enter YAML in the input box on the left and you'll immediately get XML in the output box on the right. Enter YAML, get XML. There are no ads or downloads, and everything works right in your browser. Made by developers for developers.
announcement heads up!
We just launched a new site — Online MATH Tools — utilities for doing mathy things. Check it out!
Yaml to xml converter tool What is a yaml to xml converter?
This YAML to XML converter transforms YAML (Yet Another Markup Language) documents and files into XML (Extensible Markup Language) documents and files. This transformer is so simple that it has only one configuration option that controls the the XML output indentation, which can be set to spaces, tabs, or compressed XML.
Yaml to xml converter examples Click to use
Convert a YAML sequence to an XML list.
In this example we convert a YAML list of prime numbers to an XML list.
prime: - two - three - seven - eleven - thirteen
<prime>two</prime> <prime>three</prime> <prime>seven</prime> <prime>eleven</prime> <prime>thirteen</prime>
Convert an email in YAML to XML
In this example we convert an email that's represented in YAML format to an email in XML format.
inbox: from: email@example.com to: firstname.lastname@example.org subject: Acquire Browserling? body: > Sergey, what are your thoughts about Browserling? I love those guys. They just keep shipping. I think we should acquire them. What do you think? Let me know ASAP. L.
<inbox> <from>email@example.com</from> <to>firstname.lastname@example.org</to> <subject>Acquire Browserling?</subject> <body>Sergey, what are your thoughts about Browserling? I love those guys. They just keep shipping. I think we should acquire them. What do you think? Let me know ASAP. L.</body> </inbox>
Pro tips Master online yaml tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
All yaml tools
Quickly color code the syntax of a YAML file.
Quickly prettify a YAML configuration file.
Quickly minify a YAML configuration file.
Quickly check a YAML file for syntax errors and report them.
Quickly convert a YAML config to a JSON config.
Quickly convert a JSON file to a YAML file.
Quickly convert a YAML document to an XML document.
Quickly convert XML markup to YAML markup.
Quickly convert YAML data to CSV data.
Quickly convert a YAML dataset to a CSV dataset.
Quickly convert YAML format to TSV format.
Quickly convert TSV files to YAML files.
Quickly convert YAML to a PNG, GIF, JPG or BMP Image.
Quickly convert YAML to base-64 encoding.
Quickly convert previously base-64 encoded YAML back to YAML.
Quickly URL-escape a YAML file.
Quickly URL-unescape a YAML file.
Quickly edit a YAML file in a simple YAML editor.
Quickly generate random YAML configs.
Coming soon These yaml tools are on the way
Diff Two YAML Files
Compare two YAML files and show differences between them.
Show YAML Statistics
Show detailed information about a YAML config.
Loop over YAML and truncate lists, arrays, and strings.
Create PHP array from YAML
Convert YAML config to a PHP data structure
Subscribe! Never miss an update
Notifications We'll let you know when we add this tool