Convert JSON to YAML online — DevOps manifests & Compose

Paste JSON from APIs, exporters or CI matrices and preview readable YAML for GitOps. Everything stays in your browser — nothing uploads to FastMinify.

Loading…
JSON → YAML converter — developer playbook
Explains guardrails identical to scripts teams already trusted inside the retired minify-json conversion dropdown.

Developer notes

• Validate upstream JSON (CI/editor) — malformed JSON still errors loudly. • Large manifests (>1 MB) can stress phones — Chrome desktop recommended. • YAML is readability, not security — purge secrets manually.

When teams pick this route

• GitOps diffs migrating JSON exporters to indented YAML reviewers. • Teaching how JSON schemas map visually to indented blocks. • CI matrices exported as JSON that must become Compose profiles.

About these options

CSV exports: choose a delimiter (Auto follows locale — semicolon on /fr), RFC-minimal vs always-quoted fields, line endings, and whether to emit a header row. CSV imports: delimiter + whether row 1 holds column names (Auto delimiter follows locale only for convenience). JSON output (XML, YAML, or CSV sources): indentation (including compact one-line) and optional recursive key sort. JSON → XML: toggle pretty-printing and indent width. YAML output: indent width, readable vs tighter layout, and deterministic string quoting (there is no source YAML file to “preserve”). XML comments are not represented in the intermediate JSON tree.

Worked examples

App profile & resource hints

Sample input

{ "app": { "name": "checkout-api", "version": "1.4", "flags": ["canary", "stable"], "limits": {"cpu": "500m", "memory": "256Mi"} }, "drain": false }

Sample output

app: name: checkout-api version: 1.4 flags: - canary - stable limits: cpu: 500m memory: 256Mi drain: false

CI job envelope

Sample input

{ "job": { "id": 9201, "tags": ["nightly", "signed"], "matrix": {"os": ["linux"], "shard": [0, 1]}, "timeoutSec": null } }

Sample output

job: id: 9201 tags: - nightly - signed matrix: os: - linux shard: - 0 - 1 timeoutSec: null

Navigate related converters

Polish payloads with our JSON minifier, export CSV through JSON → CSV, then compare gateways using JSON → XML.

JSON → YAML FAQ

Same privacy story as encode utilities

Comments from JSON?

JSON forbids comments, so YAML comments must be authored manually afterward.

Key order fidelity?

Insertion-order from ECMA-compliant JSON parsers is mirrored in emitted YAML mappings.

Can I reuse this for Kubernetes List objects?

Yes when the pasted JSON parses; nested paths stay nested in YAML lists/maps.

Server uploads?

No — FastMinify never receives clipboard content.

Looking for every converter, encoder, and minifier in one place? Developer tools hub Open the curated developer tools catalogue.

JSON to YAML Converter Online — Kubernetes & GitOps Ready