The fastest YAML ↔ JSON converter for developers
AG YAML is a free developer tool that instantly converts and validates YAML and JSON with no sign-up or install. Paste on the left and it's converted to the opposite format on the right in real time.
Using the standard js-yaml engine, it parses YAML 1.2 documents accurately, and when there's a syntax error it tells you which line went wrong and why. You can safely check indentation-sensitive files like Kubernetes manifests, docker-compose, and CI configs.
For JSON output you can choose the indentation (2·4 spaces·tab·minify) and alphabetical key sorting, and the result can be copied with one click or downloaded as a .json / .yaml file.
Every conversion happens only inside your browser, and nothing you enter is ever sent to or stored on a server. Paste your config files and secrets with confidence.