Skip to content
HandyBrowserTools

JSON to YAML Converter

Paste JSON below and get equivalent YAML with block-style indentation, handy for Kubernetes manifests, Docker Compose, GitHub Actions and other config files. Values that could be misread as YAML are quoted automatically.

Private by default: processing stays on your device

Example: JSON → YAML

Input

{"name":"Ada","tags":["dev","admin"]}

Output

name: Ada
tags:
  - dev
  - admin
Share this page X LinkedIn Reddit

These buttons share the page link, not your input.

Frequently asked questions

What JSON does it accept?

Any valid JSON value, including objects, arrays, strings, numbers, booleans and null, nested to any depth. Invalid JSON is reported inline so you can fix it before converting.

Why are some strings wrapped in quotes?

Strings that YAML would otherwise read as a number, boolean, null or a special character (like "true", "123" or "a: b") are double-quoted so the YAML round-trips back to the same value.

Does it convert YAML back to JSON?

This tool goes JSON → YAML. For the reverse, format your JSON with the JSON Formatter; YAML parsing may be added as a separate tool.

Is my data private?

Completely. Conversion happens entirely in your browser, and nothing is ever uploaded to a server.

JSON Formatter

Format, beautify and validate JSON instantly in your browser. Free online JSON formatter with 2/4-space and tab indentation, no signup, 100% client-side.

JSON to CSV Converter

Convert a JSON array to CSV online in one click. Handles nested values, quotes and custom delimiters, free and 100% client-side.

XML Formatter

Format and validate XML online with proper indentation. Free XML beautifier and minifier that runs 100% in your browser, with no upload needed.

JSON Minifier

Minify JSON online by removing all whitespace and line breaks. Free, instant, and 100% client-side; see the size saving immediately.