Pipelines · Steps · Triggers

Drone CI JSON to YAML
Converter

Convert JSON into a .drone.yml pipeline in seconds. Ideal for turning generated CI definitions into the YAML Drone expects. Free, instant, and browser-based.

JSON
YAML

How to Convert JSON to .drone.yml

1

Paste your pipeline JSON

Drop in the JSON describing your kind, type, and pipeline steps.

2

Get .drone.yml

Valid Drone CI YAML appears instantly, with steps correctly structured.

3

Commit to your repo

Copy or download the file, save it as .drone.yml, and push to trigger the pipeline.

Why Drone CI Uses YAML

Drone pipelines are defined in .drone.yml at the repository root, describing the pipeline kind, steps, and the conditions that trigger them.

Pipeline definitions generated by tooling often start as JSON. Converting to YAML yields a .drone.yml Drone can parse directly.

Benefits for Drone Pipelines

Pipeline-Ready

Output is valid .drone.yml syntax. Commit it to your repo root and the next push runs the pipeline.

Readable Steps

Step order and commands are far clearer in YAML than in nested JSON during review.

Comment Your Config

Document why a step has a when condition or specific image. YAML supports # comments; JSON does not.

Private Processing

Pipelines reference secrets. Conversion is local to your browser, so nothing sensitive is uploaded.

Frequently Asked Questions

Will the YAML run as a Drone pipeline?
Yes, provided your JSON matches Drone structure (kind, type, steps). Save it as .drone.yml at the repo root and Drone will run it.
Are multiple pipelines supported?
Drone supports multiple pipeline documents in one file separated by ---. Convert each pipeline's JSON and join them with the document separator.
How are step commands handled?
A step's commands array converts to a YAML list of shell commands, exactly what Drone expects.
Why are some values quoted?
YAML quotes values that could be misread, such as branch filters or image tags. Drone interprets the quoted values correctly.
Is my pipeline config private?
Completely. Conversion runs in your browser, so secret references never leave your machine.

Related Tools & Resources

© 2026 JSON YAML Converter