Small ToolsAll tools
← All tools / Data Formats
Data Formats utility

YAML to JSON

Convert YAML documents into formatted JSON.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…

How to use YAML to JSON

  1. Paste a YAML document.
  2. Select Convert to parse and convert it.
  3. Copy the formatted JSON output.

Example

Input:

name: Ada
active: true
count: 3

Output:

{
  "name": "Ada",
  "active": true,
  "count": 3
}

Use cases

About this tool

Convert YAML documents into formatted JSON. Processing happens locally in your browser, so your input is not sent to a server or included in analytics.

Frequently asked questions

Can it convert YAML lists and nested mappings?

Yes. Standard lists, mappings, strings, numbers, booleans, and null values are converted.

What happens with multiple YAML documents?

This converter expects one document. Use the YAML document separator only when the input is a single document.

Is conversion private?

Yes. The conversion happens in your browser.

Related tools