YAML ↔ JSON Converter

Convert between YAML and JSON formats instantly.

Input (YAML or JSON)
Output

API Usage

Convert YAML ↔ JSON via our free API:

# YAML to JSON
curl -X POST https://ai.doxx.lat/api/yaml2json \
  -H "Content-Type: application/json" \
  -d '{"yaml":"name: test\nage: 30"}'

# JSON to YAML
curl -X POST https://ai.doxx.lat/api/json2yaml \
  -H "Content-Type: application/json" \
  -d '{"json":"{\"name\":\"test\",\"age\":30}"}'

No API key required. CORS enabled. Unlimited requests.

About YAML & JSON

YAML (YAML Ain't Markup Language) is a human-readable data serialization format popular in configuration files (Docker Compose, Kubernetes, Ansible). JSON (JavaScript Object Notation) is the standard for APIs and web services. This tool converts between both formats, preserving data types, nested structures, and arrays.