Eskillsfy

Home / Tools / Data and formats

YAML to JSON Converter

Convert YAML to JSON and JSON to YAML.

Runs in your browserFree, no sign-upOpens .yaml, .yml, .json
Loading tool…

How to use it

  1. Choose YAML → JSON or JSON → YAML.
  2. Paste or open a .yaml/.yml or .json file.
  3. Copy or download the output.

About this tool

Handy for Kubernetes manifests, GitHub Actions, Docker Compose files and OpenAPI specs. Invalid YAML shows the line where parsing stopped.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

Are comments kept?
JSON has no comments, so comments are dropped when converting YAML to JSON.
Does it support multiple documents?
Files with several documents separated by --- become a JSON array.
Data and formats

More tools like this

All data and formats