Paste YAML or JSON below and convert either direction. Parsing YAML isn't practical in a browser without an external library, so this one round-trips to the server to convert — nothing is stored, the request/response is the only place it exists. Avoid pasting real secrets if that matters to you.
curl -sS "https://devops.majbase.com/yaml-json-converter/api" \
--data-urlencode 'direction=yaml-to-json' \
--data-urlencode 'text=name: my-app
replicas: 3'
Returns {"result": "..."}, or {"error": "..."} for malformed input. Use direction=json-to-yaml for the other way; optional sort_keys=true and indent=2|4 (yaml-to-json only).