Useful Hacks

JSON to YAML

Convert JSON to YAML format.

Processed locally in your browser. Nothing you enter is uploaded or stored.
  • Parses the JSON first, so invalid input is caught rather than mis-converted.
  • Produces readable, correctly-indented YAML.
  • Runs in your browser; config isn't uploaded.

Why this is private

  • Processed locally in your browser. Nothing you enter is uploaded or stored.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Converts JSON to YAML — useful for config files (Docker Compose, Kubernetes, CI pipelines) that use YAML.

How to use it

  1. 1Paste JSON.
  2. 2The YAML output updates automatically.

Frequently asked questions

What people use it for

Turn an API response into a config stubConvert a JSON sample into the YAML shape a tool expects.
Move settings into a YAML-based CI pipelineConvert JSON config for GitHub Actions, GitLab CI or CircleCI.
Author a Kubernetes or Compose file from JSONDraft in JSON, convert to the YAML these tools require.
Make a JSON blob human-editableYAML's lighter syntax is easier to hand-edit for some configs.

Related guides

Related tools

All developer tools

Ready to use JSON to YAML?

JSON to YAML

Search tools

Search for any tool by name, category or keyword