Convert YAML and JSON.
Keep the structure.
Turn configuration files between YAML and JSON without uploading secrets, environment values, or API payloads.
How do I convert YAML to JSON? Paste YAML or JSON to convert between them locally — secrets never leave your browser.
YAML and JSON converter
The converter supports common YAML mappings, lists, strings, numbers, booleans, and null values. It does not validate a deployment platform's schema.
How to convert YAML to JSON (or back)
- Paste your YAML or JSON — the converter detects which way to go.
- Convert — formatting and structure are translated locally.
- Copy or download — clean output with consistent indentation.
Everyday uses
- Kubernetes and CI configs when only JSON is accepted
- Turning API payload samples into readable YAML for docs
- Inspecting docker-compose files as plain data
Good to know
YAML has quiet traps: tabs are illegal (use spaces), unquoted yes/no/on/off can become booleans, and anchors or custom tags may not survive conversion — always compare the result for configs that matter. Everything runs locally, which matters because configs often contain credentials. Related: JSON formatter and validator.
Can I convert a config file?
Yes. Paste the text from a YAML or JSON configuration file; processing stays in this browser tab.
Why is my YAML rejected?
Check indentation, tabs, unmatched quotes, and mapping values that need quoting.