codemagic-to-yaml

Export Codemagic UI workflows to codemagic.yaml

GitHub

Codemagic has no “export workflow to YAML” button. In Codemagic, open DevTools → Network, load your app, and copy the JSON response from api.codemagic.io/apps/<id>. Paste it below → download codemagic.yaml. Everything runs in your browser — nothing is uploaded.

1

Paste API JSON

2

Get codemagic.yaml


        
Codemagic references & field mapping

Each part of the generated file maps to a documented Codemagic YAML section:

Note: secrets (passwords, uploaded keystores/keys, secure env values) are never returned by the API and can’t be exported. The output references them by name with a TODO list at the top — re-add each once in the Codemagic UI.