YAML → JSON
Parse YAML configuration files (Kubernetes, GitHub Actions, docker-compose, Ansible) into clean JSON. Supports block mappings, sequences, flow syntax, and scalar type inference. 100% client-side.
// JSON will appear here…
YAML to JSON Converter
Convert YAML configuration files into clean JSON. Perfect for inspecting Kubernetes manifests, GitHub Actions workflows, docker-compose files, and Ansible playbooks in a format your scripts and APIs can parse without a YAML library.
Supported YAML Features
- Block mappings and sequences at any nesting depth
- Flow syntax: inline arrays
[a, b, c]and maps{a: 1} - Scalar types: strings (plain, single, double quoted), integers, floats, booleans, null, inf, nan
- Comments with
# - Standard escape sequences in double-quoted strings
Common Use Cases
- Convert Kubernetes manifests for Node.js tooling
- Inspect GitHub Actions workflow data in a REPL
- Feed docker-compose config into TypeScript scripts
- Migrate Ansible vars to JSON-based config stores
FAQ
What's the Norway problem?
In YAML 1.1, country: NO parsed as false instead of the string "NO". This converter follows YAML 1.2 rules where NO stays a string.
Is my YAML uploaded?
No. Parsing is client-side — safe for configs containing API keys and secrets.
Related
Convert the other direction with JSON → YAML, or read the JSON vs YAML guide.
YAML 1.2 subset
Block + flow syntax, nested docs, scalar type inference.
Instant
Parse and emit happen in milliseconds, right in your browser.
Fully private
Config files never leave your device.