Convert TOML to YAML via JSON
When migrating configuration between formats — for example from TOML (common in Rust/Python projects) to YAML (common in Kubernetes/GitHub Actions) — this three-step chain handles the conversion reliably through JSON as an intermediate format.
What it solves
Transform a TOML configuration file into YAML format, using JSON as an intermediate representation.
Input → Output
TOML Converter input → JSON YAML Converter output across 3 steps.
Runs in
1–2 minutes · fully local in your browser.
Before you start
- A valid TOML document
The pipeline
-
Convert between TOML and JSON formats online. Free, private, and 100% client-side.
-
Format, minify, or sort JSON online. Free, private, and 100% client-side.
Params: mode=format
-
Convert between JSON and YAML formats online. Free, private, and 100% client-side.
Params: mode=json-to-yaml
Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.
▶Run this workflow
Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.
Pipeline progress
- TOML Convertertoml-convert
- JSON Formatterjson-format
- JSON YAML Converterjson-yaml
Sample input
[server] port = 8080 host = "localhost"
Expected output
server: port: 8080 host: localhost
This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.
Related workflows
You might also need
Workflows sharing tools or topics with this recipe.