Object with nested map
Nested objects are indented two spaces per level.
{ "meta": { "free": true, "version": 2 } }meta:
free: true
version: 2Convert JSON to YAML in your browser. Emits clean 2-space indentation for objects, arrays, and nested structures - no upload required.
Paste JSON below.
Paste JSON above or load the example to convert it to YAML.
One tap, no account. Your vote is saved in this browser and counted in our site analytics.
Emits readable YAML with consistent 2-space indentation for maps and sequences.
Only quotes strings when required, keeping the output compact and human-friendly.
Convert sensitive configuration and payloads without uploading them anywhere.
Copy JSON from an API response, config file, or editor.
The converted YAML appears instantly as you type.
Export the result to your clipboard or a .yaml file.
Turn a JSON configuration object into YAML for a Kubernetes manifest, GitHub Actions workflow, or Docker Compose file.
Convert a JSON API response into YAML when reviewing or documenting it, since YAML is often easier to scan than nested braces.
Turn generated JSON settings into YAML for tools and frameworks that expect configuration in YAML format.
Convert a JSON data structure into YAML before pasting it into an infrastructure-as-code template or values file.
Nested objects are indented two spaces per level.
{ "meta": { "free": true, "version": 2 } }meta:
free: true
version: 2The first key sits on the dash line.
[{ "slug": "json-formatter", "category": "developer" }]- slug: json-formatter
category: developerAll processing is client-side in your browser. Your JSON is never uploaded to ToolMint servers.
A JSON to YAML converter transforms JSON objects, arrays, and scalars into equivalent, readable YAML.
YAML is easier to read and edit for configuration than JSON, and this converter handles indentation and quoting for you.
Converts standard JSON values and emits a widely compatible YAML subset. It does not produce anchors, tags, or comments.
How to Format and Validate JSON Without Losing an Afternoon
Common JSON syntax errors, when to pretty-print or minify, how validation catches bad payloads early, and practical tips for API debugging.
Convert CSV to JSON Without Breaking Your Data
Why CSV to JSON conversions go wrong - quoted commas, line breaks inside cells, delimiters, and lost leading zeros - and how to check the output before it reaches your app.
URL Encoding Explained: Percent Signs, Plus Signs, and Double Encoding
How percent-encoding works, when to use encodeURIComponent versus encodeURI, why spaces sometimes become plus signs, and how to spot double-encoded URLs.
Converter
Convert CSV to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON arrays to CSV instantly.
Updated Jul 20, 2026
Converter
Convert XML to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON into pretty XML instantly.
Updated Jul 20, 2026
See every utility on the all tools page.
Found a problem or missing feature? Tell us - no account required.
Last updated: