YAML to JSON converter

Turn YAML configs into JSON for APIs, scripts and tools that only read JSON.

Free · No sign-up · Your files are processed on your device and never uploaded

How to use YAML to JSON

  1. Paste or type…
    1

    Paste or type

    Put your content in the box - or try the example.

  2. Result appears instantly
    2

    Watch the result

    The result updates as you type - choose options above if needed.

  3. TXTCopy / Download
    3

    Download the result

    Ready in seconds. Your file never left your device.

Features

  • Nested maps and lists converted exactly.
  • Clear errors for bad indentation.
  • Pretty-printed output.

Private by design

Everything runs in your browser. Nothing you paste is uploaded, logged or stored - safe for API responses, tokens and customer data.

Questions

Does it support anchors and aliases?

Yes, YAML anchors (&) and aliases (*) are resolved.

More developer tools

All tools →