Flowfiles ← All tools

YAML ↔ JSON · No upload · Browser

Free YAML to JSON converter

Convert YAML to JSON and JSON to YAML directly in your browser. Flowfiles handles Docker Compose, Kubernetes manifests, Ansible playbooks, GitHub Actions configs and any well-formed YAML. Your data never leaves your device.

JSON indent
YAML source
JSON result
Ready

Main features

4 modes

YAML→JSON, JSON→YAML, format JSON, and validation with detailed error messages.

Indent options

2 spaces, 4 spaces, tab character, or minified JSON — pick what fits your workflow.

Advanced YAML

Multi-document, block or flow style, anchors, special scalars, key sorting.

Local

Everything runs in the browser. Your data never leaves your device.

Frequently asked questions

Is data uploaded?

No. Conversion runs entirely in the browser via JavaScript. No network request is made.

What is Multi-document mode?

Some YAML files contain multiple documents separated by ---. This mode converts them into a JSON array, with each document becoming one element.

What is the difference between Block and Flow style?

Block is the classic YAML style with indentation. Flow uses compact inline notation similar to JSON, useful for short or nested structures.

Which YAML files are supported?

All standard YAML: Docker Compose, Kubernetes manifests, Ansible playbooks, GitHub Actions, GitLab CI, and any well-formed YAML file.

Does Validate mode show the error line?

Yes. For JSON the exact position is reported. For YAML the error context is provided as precisely as possible.

YAML JSON guides