Paste your JSON or YAML into the input area, or upload a .json, .yaml, or .yml file using the upload button.
The tool auto-detects your input format — JSON is converted to YAML, YAML is converted to JSON. Or force a direction using the JSON→YAML or YAML→JSON buttons.
Choose your indentation — 2, 4, or 8 spaces — and optionally enable Sort Keys to alphabetically order object properties.
Click Convert or press ⌘↵ (Mac) / Ctrl+Enter (Windows) to convert instantly.
Use Validate (⌘⇧V) to check syntax with precise line and column error reporting, or Format to prettify YAML with consistent indentation.
Copy the output with ⌘⇧C, download as .json or .yaml, or share via a gzip-compressed URL.
Bidirectional JSON↔YAML conversion with automatic format detection — paste any valid JSON or YAML and get the other format instantly.
YAML 1.2 specification compliance via the yaml library, ensuring maximum compatibility with DevOps tools like Kubernetes, Docker Compose, and GitHub Actions.
Multi-document YAML stream support: files separated by --- (three dashes) are parsed into a JSON array, making it easy to convert Kubernetes multi-document manifests.
YAML anchors (&anchor) and aliases (*alias) are resolved automatically so you can convert configs that use reference-based deduplication.
Configurable indentation: 2, 4, or 8 spaces to match your preferred style or tool requirements.
Sort Keys option: alphabetically reorders all object properties for consistent, diff-friendly output across pipeline runs.
Quote style options: plain, single-quoted, or double-quoted strings to control YAML string formatting.
Flow vs block style toggle: switch between inline flow style (key: value) and expanded block style for YAML output.
Configurable line width: control the wrap point for folded scalar strings in YAML output.
YAML validator with precise line and column error positions and actionable fix suggestions that point directly to the problematic character.
YAML formatter/prettifier: cleans up poorly formatted YAML with consistent indentation, proper spacing, and canonical key ordering.
File upload support: drag-and-drop or click to upload .json, .yaml, and .yml files directly into the input area.
6 built-in examples covering Kubernetes manifests, Docker Compose files, GitHub Actions workflows, multi-document streams, and anchor usage.
Works entirely in your browser — no data is ever sent to any server. Your YAML and JSON configs stay private.