JSON Formatter
Format, beautify and validate JSON instantly in your browser.
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.
Paste or type JSON to convert
Converts as you type; downloads as .yaml.
YAML output
Large integers are preserved exactly. Conversion runs entirely in your browser.
Input
{
"name": "Ada",
"tags": [
"dev",
"admin"
]
} Output
name: Ada
tags:
- dev
- admin These buttons share the page link, not your input.
Your current input will be stored in the link after the # symbol, not uploaded to Handy Browser Tools. Anyone with this link can read that text. If you send or post it, the service you choose also receives the link. Do not include passwords or private information.
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.
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.
This tool goes JSON → YAML. For the reverse, format your JSON with the JSON Formatter; YAML parsing may be added as a separate tool.
Completely. Conversion happens entirely in your browser, and nothing is ever uploaded to a server.
Format, beautify and validate JSON instantly in your browser.
Convert a JSON array to CSV online in one click.
Format and validate XML online with proper indentation.
Minify JSON online by removing all whitespace and line breaks.