᠎᠎᠎          
51K

Json to yaml converter

World's simplest yaml tool

Quickly convert JavaScript Object Notation to Yet Another Markup Language. Enter JSON in the input box on the left and you'll immediately get YAML in the output box on the right. Enter JSON, get YAML. There are no ads or downloads, and everything works right in your browser. Made for developers by developers from team Browserling.
A new project! we made something new
We just created Online GIF Tools that offers tools for working with GIFs. Check it out!
Json to yaml converter tool What is a json to yaml converter?
This JSON to YAML converter transforms JSON (JavaScript Object Notation) files into YAML (Yet Another Markup Language) files. It does just this and it does it well.
Json to yaml converter examples Click to use
Convert a JSON list to a YAML array
In this example we convert a JSON list of popular books to a YAML array.
[ "The Hunger Games", "Harry Potter", "To Kill a Mockingbird", "Pride and Prejudice", "Twilight" ]
- 'The Hunger Games' - 'Harry Potter' - 'To Kill a Mockingbird' - 'Pride and Prejudice' - Twilight
Convert a JSON config with keys, values and arrays to YAML
In this example we convert a fairly complicated JSON configuration file with keys, values and arrays to YAML configuration file.
{ "color1" : "blue", "color2" : "red", "choices" : [ 1, 2 ] }
color1: blue color2: red choices: - 1 - 2
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!
https://onlineyamltools.com/convert-json-to-yaml?input=%5B%0A%20%22The%20Hunger%20Games%22%2C%0A%20%22Harry%20Potter%22%2C%0A%20%22To%20Kill%20a%20Mockingbird%22%2C%0A%20%22Pride%20and%20Prejudice%22%2C%0A%20%22Twilight%22%0A%5D
All yaml tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
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 their differences.
Show YAML Statistics
Show detailed information about a YAML config.
Truncate YAML
Loop over YAML and truncate lists, arrays, and strings.
Create a PHP Array from YAML
Convert YAML config to a PHP data structure.
Convert YAML to Properties
Convert a YAML file to a properties file.
Convert Properties ot YAML
Convert a properties file to a YAML file.
Convert YAML to TOML
Convert a YAML file to a TOML file.
Convert TOML to YAML
Convert a TOML config to a YAML config.
Sort YAML
Sort a YAML file by keys or by values.
Extract Strings from YAML
Find and extract all strings from a YAML file.
Extract Numbers from YAML
Find and extract all numbers from a YAML file.
Extract Comments from YAML
Find and extract all comments from a YAML file.
Remove Comments from YAML
Clean up a YAML configuration file from comments.
Visualize YAML Structure
Create an abstract image that represents YAML data.