Tools
Runs locally

YAML to JSON

Turn YAML into formatted JSON.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Parses YAML locally. Custom tags are not executed.

About this tool

Turn a YAML config, an OpenAPI spec or a Kubernetes manifest into JSON for a script, an API call or a test. Paste the YAML and copy the formatted JSON.

How to use it

  1. 01

    Paste the YAML.

  2. 02

    Review the JSON output or the parser error.

  3. 03

    Copy the JSON.

FAQ

Frequently asked questions

Is it safe for untrusted YAML?

Yes. Custom tags are not executed; the document is only parsed.

What about YAML anchors and aliases?

They are resolved, so the JSON contains the repeated values in full.