Cloud Build JSON to YAML
Converter
Convert JSON into a cloudbuild.yaml definition in seconds. Ideal for turning generated build config into the YAML Google Cloud Build expects. Free, instant, and browser-based.
How to Convert JSON to cloudbuild.yaml
Paste your build JSON
Drop in the JSON describing your steps, substitutions, and artifacts.
Get cloudbuild.yaml
Valid Cloud Build YAML appears instantly, with build steps correctly structured.
Submit the build
Copy or download as cloudbuild.yaml and run gcloud builds submit --config cloudbuild.yaml.
Why Cloud Build Uses YAML
Google Cloud Build defines build pipelines in cloudbuild.yaml, listing the ordered steps, their container images, arguments, and any artifacts to store.
Build definitions are often generated as JSON by tooling. Cloud Build accepts both JSON and YAML, but YAML is the readable default; converting gives you a config you can review and commit.
Benefits for Cloud Build Pipelines
Build-Ready
Output is valid cloudbuild.yaml you can submit with gcloud builds submit, steps intact.
Readable Steps
Ordered build steps and their args are far clearer in YAML than in nested JSON during review.
Comment Your Build
Explain why a step uses a specific image or substitution. YAML supports # comments; JSON does not.
Private Processing
Build configs reference substitutions and secrets. Conversion is local to your browser, so nothing is uploaded.
Frequently Asked Questions
Will the YAML work with gcloud builds submit?
Are build steps preserved?
How are substitutions handled?
Why are some values quoted?
Is my build config private?
Related Tools & Resources
- Drone CI JSON to YAML Converter
Pipelines · Steps · Triggers
- Bitbucket Pipelines JSON to YAML Converter
Pipelines · Steps · Caches
- Skaffold JSON to YAML Converter
Build · Deploy · Profiles
- Kubernetes JSON to YAML Converter
Deployments · Services · ConfigMaps · Pods
- JSON to YAML Converter
General-purpose JSON to YAML conversion.
- YAML to JSON Converter
Reverse the conversion back to JSON.
- YAML Syntax Cheat Sheet
Quick reference for YAML structure, types, and gotchas.
- All Converters
Browse every JSON-to-YAML use case.
- Cloud Build Config Schema
Official documentation.