YAML to JSON / JSON to YAML — converted locally, configs never uploaded
Convert YAML and JSON both ways
Loading tool…
About this tool
Writing Docker Compose files, GitHub Actions workflows or Kubernetes manifests often means moving between YAML and JSON. Paste either one here for instant two-way conversion. Indented maps and lists, inline arrays and objects, block scalars and comments are all handled, and syntax errors report the exact line. Parsing happens entirely on this page, so configs containing secrets stay put.
FAQ
Which YAML syntax is supported?
Indented maps and sequences, inline [] / {}, quoted strings, | and > block scalars, # comments, and scalars such as numbers, booleans and null. Anchors and aliases (& / *) are not supported.
Will non-Latin text break?
No. UTF-8 is handled throughout, so CJK keys and values and emoji round-trip correctly.
Is my config uploaded?
No. Parsing and serialization both run in your browser and the page sends nothing to a server.