JSON Toolkit

Fast, private JSON tools that run in your browser.

🔒 Data stays in your browser

JSON to YAML Converter

Convert JSON into readable YAML for configuration files. Strings that some YAML tools misread, such as no, yes, on, 007 or 2026-01-01, are quoted automatically, so your configuration means the same thing everywhere.

JSON ⇄ YAML Converter

Turn JSON into YAML for config files such as Kubernetes, Docker Compose or CI pipelines. Values like no, on and 007 are quoted so every YAML tool reads them as text.

How to use the JSON to YAML Converter

  1. Paste your JSON, or pick an example such as a Kubernetes deployment.
  2. Choose 2 or 4 spaces of indentation.
  3. Click Convert to YAML, then copy the result or download it as a .yaml file.

Features

  • Clean block-style YAML with 2 or 4 spaces of indentation
  • Safe quoting that avoids the YAML 1.1 “Norway problem”
  • Multi-line strings written as readable | blocks
  • Copy or download the result as a .yaml file

Frequently asked questions

What is the Norway problem?
In YAML 1.1 an unquoted no means false, so the country code NO turned into false in many tools. This converter quotes such strings so they stay text.
Is the output valid YAML 1.2?
Yes. The extra quotes are valid in every YAML version and only make the meaning unambiguous.
Can I convert the YAML back to JSON?
Yes, with the YAML to JSON converter. Data converted both ways comes back unchanged.

Related tools