Paste or drop JSON
Add any valid JSON object or array.
Format JSON into readable Kubernetes, GitHub Actions, and OpenAPI YAML right in your browser with customizable indent and line width.
Select JSON file
clean YAML 1.2 · indent & line-width controls.json
Zero upload limits · Runs in browser RAM
Clean CI & Kubernetes YAML
{
"name": "nightly-checks",
"on": { "schedule": "0 2 * * *" },
"jobs": [
{ "id": "lint", "timeoutMinutes": 10 },
{ "id": "test", "timeoutMinutes": 20 }
]
}name: nightly-checks
on:
schedule: 0 2 * * *
jobs:
- id: lint
timeoutMinutes: 10
- id: test
timeoutMinutes: 20| Property | Source: JSON | Target: YAML |
|---|---|---|
| File extension | .json | .yaml |
| MIME type | application/json | application/yaml |
| Structure type | Hierarchical | Hierarchical |
| Encoding | UTF-8 Text | UTF-8 Text |
| Nesting support | Yes | Yes |
| LLM token efficiency | Low | Medium |
| Schema / typed | No | No |
| Best for | REST/GraphQL API payloads, nested web state, structured AI outputs, and universal cross-language interchange. | Kubernetes manifests, GitHub Actions CI workflows, OpenAPI 3.x specs, Ansible playbooks, and human-edited configs. |
Transform JSON API payloads and CI settings into clean, indented YAML 1.2 with configurable indentation and line wrapping.
Add any valid JSON object or array.
Choose indentation spaces, alphabetical key sorting, and line-wrap column width.
Save clean .yaml or convert onward to TOON or OpenAPI MCP stubs.
Compress Kubernetes manifests, OpenAPI specs, and YAML configs into compact TOON for ~42% smaller LLM prompt payloads.
Parse Kubernetes manifests, CI configs, and multi-document YAML (---) into formatted RFC 8259 JSON in browser RAM.
Bidirectional TOML 1.0 ↔ JSON converter for Cargo.toml, pyproject.toml, and Netlify/Hugo configs in browser RAM.
Yes. Adjust YAML line wrap width between 40 and 200 columns.
yes, no, or 1.0 quoted safely?Yes. The YAML 1.2 serializer quotes ambiguous tokens cleanly so downstream parsers preserve exact types.
Yes. Drop multiple .json files to convert them all locally.