Paste or drop YAML
Add single or multiple .yaml / .yml files.
Decode YAML 1.2 documents, anchors, and --- streams cleanly into typed JSON without YAML 1.1 boolean surprises or server uploads.
Select YAML (.yaml/.yml)
YAML 1.2 compliant · multi-document --- support.yaml · .yml
Zero upload limits · Runs in browser RAM
YAML 1.2 & multi-doc support
service: api-gateway
replicas: 3
tls:
enabled: true
minVersion: "1.3"
routes:
- path: /v1/users
rateLimit: 120
- path: /v1/health
rateLimit: 600{
"service": "api-gateway",
"replicas": 3,
"tls": {
"enabled": true,
"minVersion": "1.3"
},
"routes": [
{
"path": "/v1/users",
"rateLimit": 120
},
{
"path": "/v1/health",
"rateLimit": 600
}
]
}| Property | Source: YAML | Target: JSON |
|---|---|---|
| File extension | .yaml | .json |
| MIME type | application/yaml | application/json |
| Structure type | Hierarchical | Hierarchical |
| Encoding | UTF-8 Text | UTF-8 Text |
| Nesting support | Yes | Yes |
| LLM token efficiency | Medium | Low |
| Schema / typed | No | No |
| Best for | Kubernetes manifests, GitHub Actions CI workflows, OpenAPI 3.x specs, Ansible playbooks, and human-edited configs. | REST/GraphQL API payloads, nested web state, structured AI outputs, and universal cross-language interchange. |
Parse Kubernetes manifests, CI configs, and multi-document YAML (---) into formatted RFC 8259 JSON in browser RAM.
Add single or multiple .yaml / .yml files.
Set indentation, enable multi-document --- array output, and optionally sort keys.
Copy formatted JSON or chain into JSON to TOON or TypeScript codegen.
Shrink JSON arrays into Token-Oriented Object Notation (TOON) to cut GPT-4o and Claude prompt tokens up to 60%.
Extract modular TypeScript interface or type definitions with optional readonly modifiers from nested JSON locally.
Infer Draft 2020-12 or Draft-07 JSON Schema with nested types, formats, required arrays, and strict additionalProperties locally.
NO -> false bug?Older YAML 1.1 parsers convert unquoted strings like NO or on to booleans. DataTo uses YAML 1.2 so strings stay strings.
---) exported?When Support multi-document YAML is checked, multiple documents convert cleanly into a JSON array.
&ref / *ref)?Yes. Standard YAML 1.2 anchors and aliases resolve cleanly into JSON.