YAML ⇄ JSON Converter

Paste YAML or JSON, choose a direction, and the tool validates the syntax and shows the result. Handy for Kubernetes, Docker Compose, GitHub Actions and OpenAPI configs.

🔗 Share this page

TelegramWhatsAppX

How to use

  1. Paste YAML or JSON into the left field.
  2. Click the conversion direction you need.
  3. Copy the result.

FAQ

Are YAML comments preserved?

No: JSON has no comments, so they are lost when converting YAML → JSON.

Is it safe to paste secrets?

Conversion runs in your browser using the js-yaml library, and your data is not sent anywhere. Still, it’s best not to paste real passwords.

🛠️

Related Developer & Office Tools

All tools →

Was this tool useful?

The site is free and has no paywalls. A small tip in TON or a share helps keep it running and add new tools.

Share in Telegram