Convert TOML to JSON then YAML
TOML is common in Rust and Python projects, but deployment tooling often expects YAML. This chain converts TOML to JSON first — giving you a structured intermediate you can inspect — and then converts the JSON to YAML. The two-step path avoids subtle type-coercion differences between direct TOML-to-YAML converters.
What it solves
Transform a TOML config into YAML via JSON for Kubernetes or CI tooling.
Input → Output
TOML Converter input → JSON YAML Converter output across 2 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.
Params: mode=toml-to-json
-
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 YAML Converterjson-yaml
Sample input
[package] name = "myapp" version = "0.1.0"
Expected output
package: name: myapp version: 0.1.0
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.