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.
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.
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 HandyBrowserTools. 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. Free online JSON formatter with 2/4-space and tab indentation, no signup, 100% client-side.
Convert a JSON array to CSV online in one click. Handles nested values, quotes and custom delimiters, free and 100% client-side.
Format and validate XML online with proper indentation. Free XML beautifier and minifier that runs 100% in your browser, with no upload needed.
Minify JSON online by removing all whitespace and line breaks. Free, instant, and 100% client-side; see the size saving immediately.