Will the converter use block or flow YAML style?
Block style — the multi-line, indentation-based form used by Kubernetes manifests, Docker Compose, and Helm. This is what humans want to read and review. Flow style — the inline {key: value} JSON-like form — is more compact but harder to diff in pull requests, so this tool never emits it for nested structures (only empty {} and [] for empty containers).
How are JSON nulls represented in YAML?
JSON null becomes the literal text null in YAML, which the YAML 1.2 spec accepts as a null scalar. Other valid YAML null forms exist (~, an empty value after a colon, the literal Null or NULL) but consistency matters more than which form. Stick with null for round-trip safety.
Are the JSON keys re-ordered alphabetically?
No. The converter preserves insertion order — the order keys appear in your source JSON is the order they appear in the YAML output. This matters for Kubernetes manifests and Helm charts where conventional ordering (apiVersion, kind, metadata, spec) signals intent to reviewers and is preserved by tools like kustomize.
How is the indent width chosen?
The output uses 2-space indentation, which is the convention for Kubernetes, Docker Compose, GitHub Actions, and Ansible. YAML technically allows any consistent width, but 2 spaces is what the ecosystem expects and what kubectl, helm, and yamllint emit by default. Mixing or using larger widths is valid YAML but unusual.
Why is one of my string values quoted in the YAML output?
Strings that contain YAML reserved characters (: # [ ] { } & * ! | > ' " % @ `), embedded newlines, or are empty must be quoted to avoid being parsed as something else. A bare value like 1.0 would parse as a float, "yes" as a boolean (in YAML 1.1), and "10:30" as a sexagesimal number. Quoting them preserves the original string semantics.
Can I drop the YAML straight into a Kubernetes manifest?
Yes — the output is YAML 1.2 compliant and parses cleanly with kubectl apply, helm template, kustomize build, and yq. For Kubernetes specifically, the source JSON must already have the correct shape (apiVersion, kind, metadata, spec). The converter does not invent or validate Kubernetes schema fields; it just translates JSON to YAML faithfully.
Does the YAML output support comments?
No — JSON has no comment syntax, so the source has nothing to carry. Add comments manually to the YAML output after conversion. If you need comment-preserving round-trips, work in YAML throughout and use a comment-aware library like ruamel.yaml on the Python side.
Is my JSON sent to a server?
No. Conversion runs entirely in your browser using JavaScript. JSON containing Kubernetes secrets, Helm values with database URLs, or proprietary configuration never leaves your device. Open DevTools Network tab and verify — no request fires when you click Convert.