1service: appkiro-api2version: 1.4.23release:4stage: production5date: 2024-03-186approved: true7regions:8- us-east-19- ap-southeast-110- eu-west-111limits:12requestsPerMinute: 60013burst: null14owners:15- name: Alice Johnson16email: [email protected]17- name: Bob Smith18email: [email protected]19notes: |-20Multi-line21ready for k8s configmaps22
JSON to YAML converts API responses, exported documents, and pasted JSON into clean YAML 1.2 inside your browser. Indent size, quoting, null style, and multi-line scalar handling are all configurable so the output matches the conventions of Kubernetes, Helm, GitHub Actions, GitLab CI, Ansible, or any internal config format.
JSON dominates APIs; YAML dominates infra config. Hand-translating between them invites subtle bugs: a string that looks like a number, a missing block-scalar header, or a quoted boolean that breaks a parser. This tool emits valid YAML on the first try, with sane defaults and predictable quoting — paste a payload, copy the result, commit.
.json file..yaml file.Input JSON card hosts three input tabs: Paste content for direct text, Extract from URL for public JSON endpoints (server-proxied to bypass CORS), and Upload JSON for local .json/.txt files up to 5 MB.
Output YAML card renders the result in a compact line-numbered viewer with Copy and Download actions. Output updates live as you change format options.
YAML Format panel controls indent size, null representation, quote style, multi-line block scalars, document marker, and key sorting.
null is most explicit; ~ is shorter; Empty saves a token but can be ambiguous to readers.\n.---.Pasted JSON and uploaded files are converted entirely in your browser. The Extract from URL tab is the only path that touches the server, and only to proxy the URL you supply so CORS does not block direct fetches. Nothing is stored.
YAML 1.2 block style. Output is compatible with most modern parsers (PyYAML 6+, yaml-cpp, Ruby Psych, js-yaml, Go yaml.v3, Kubernetes, GitHub Actions, GitLab CI, Helm, Ansible).
Auto quoting wraps a value when it would otherwise be parsed as a number, boolean, null, contains YAML special characters, or has surrounding whitespace. Switch to Always quote (double or single) for predictable output, or rely on Auto for the most readable result.
When Block multi-line is on, strings containing newlines emit using the literal block scalar (|) so newlines are preserved. Disable it to fall back to inline double-quoted strings with \n escapes.
Prepends '---' to the output. Required by some YAML stream consumers (Kubernetes manifests with multiple docs in one file) and harmless for the rest.
Indent size controls the number of spaces per nest level. Arrays under a key are indented by indent_size spaces; each list item starts with a dash followed by a space.