JSON, YAML and TOML in one place, converted in your browser
Three formats, the same data: a package.json in JSON, a Kubernetes manifest in YAML, a Cargo.toml or pyproject.toml in TOML. Every project mixes them, every team has a favorite. This converter speaks all three.
Paste your data in one format and pick the target. The tool parses the input, holds the structure in memory, then serializes it back to the format you picked. Live conversion, no Convert button to press, no waiting.
When the input is broken, the parser tells you which line and which column the problem is on, so you fix it on the spot instead of staring at a wall of text. Everything runs in your browser, your data does not leave your machine, safe for secrets, internal configs and customer payloads.
How to use it
- Pick the input format at the top: JSON, YAML or TOML. Pick the output format on the right side. The format that matches the input is grayed out, conversion to itself does not make sense.
- Paste your data into the input box on the left. Conversion runs as you type, no button to press.
- The output box on the right shows the result. Click Copy to grab it to the clipboard or Download file to save it with the right extension (.json, .yaml, .toml).
- Use the indent control to pick 2 spaces, 4 spaces or tab. The setting applies to JSON and YAML output, TOML uses its own layout.
- Use Load sample to drop in a working example of the current input format, useful when you want to see what the converter expects.
- Click Swap direction to reverse the conversion: the current output becomes the new input. Handy for round-tripping a file: JSON to YAML to JSON to check nothing got lost.
- When the input is broken, the parse error box shows the message plus the line and column where the parser gave up. Fix that spot, the error clears on its own.
When this is useful
Six concrete situations where the converter saves real time:
- Porting a config between tools. You wrote your CI in YAML (GitHub Actions, GitLab) and now you need the same data in JSON (a webhook payload, a Cloudflare config). Paste, switch, copy.
- Reading someone else's TOML. You opened a Cargo.toml or a pyproject.toml from a Rust or Python project, and your eyes glaze over. Convert to JSON, look at the tree, understand the structure, then move on.
- Migrating from Helm to a custom installer. Helm values are YAML, your installer reads JSON. Run the YAML through here once, paste the JSON output into your installer config. Zero rewriting by hand.
- Pasting into a tool that only takes JSON. A lot of online JSON validators, JSON-schema editors and visualizers do not understand YAML or TOML. Convert first, paste into the validator.
- Quick sanity check. You wrote a multi-page YAML by hand and you are not sure the indentation is right. Paste it here, the parser either spits out clean JSON (so the structure is valid) or it tells you line and column of the typo.
- Comparing two configs in the same format. You have a working JSON and a broken YAML, you want to diff them. Convert both to the same format (JSON, easy to diff line by line) and drop them into your diff tool.