Skip to content

YAML to JSON — convert config YAML to JSON

Paste simple YAML maps and lists to get pretty-printed JSON. Built for common config files, not every YAML edge case.

YAMLJSON

Converts as you type — paste or drop a file.

Input(YAML)
Output(JSON)

Runs in your browser — nothing is uploaded to our servers.

APIs want JSON; many configs start as YAML. Convert without installing a desktop app.

Steps

  1. Paste YAML
  2. Convert
  3. Copy JSON

Why this converter

  • Pretty JSON output
  • Common map/list support
  • Paired reverse tool

Good for

  • CI snippets
  • App config checks
  • Quick paste fixes

Tips

  • Keep indentation consistent
  • Quoted strings for special characters

Examples

Input Output Note
name: demo version: 1 { "name": "demo", "version": 1 } —

FAQ

Need YAML back?
Use JSON to YAML.
Full YAML 1.2?
No — this is a lightweight subset for everyday configs without anchors.

Related