YAML → JSON
Parsing & commentsParses maps/sequences/scalars and flow style by indentation; # comments are lost and not kept in JSON.Max size: TBD
SourceYAML
Load data
ResultJSON
The conversion result will appear here
YAML → JSON · Local · No upload

YAML to JSON Converter

YAML → JSON · K8s & Docker Compose · Indentation-safe parsing · Comment notice

🔒Your data is processed locally in the browser — never uploaded or stored.

No upload, no storage

JSON is processed in memory and never sent to a server.

Share via URL fragment

Share links encode data in the # anchor — never sent to a server.

Remember last edit

Optionally keep your last input locally; clear it with one click.

Why use YAML to JSON

Convert YAML to JSON

Turn YAML into JSON for APIs and programs.

Kubernetes & Docker Compose

Parse manifests, Compose files, CI configs and other common YAML.

Indentation-Safe Parsing

Restores hierarchy by indentation; maps/sequences/scalars map accurately.

Comment-Loss Notice

When # comments are detected you get a clear notice, so nothing seems silently kept.

Runs Locally — No Upload

Conversion runs entirely in your browser; data is never uploaded or stored.