YAML ⇄ JSON ⇄ TOML Converter

Convert between YAML, JSON, and TOML with real parsers, precise error positions, and no data sent anywhere.

YAML input
1 lines · 0 chars
JSON output
Conversion notes

JSON

The strictest of the three: no comments, no trailing commas, and keys must be quoted strings. Comments in YAML or TOML input are dropped when converting to JSON.

YAML

Supports anchors, aliases, and multiple documents in one file. Multi-document input is converted into an array, one entry per document.

TOML

Requires a table at the top level, so a bare array or scalar cannot be converted. TOML has no null type — null values are reported and omitted rather than silently lost.

Open Source & Community

OpenSource Toolkit is built by developers, for developers. Join our community and help us create the best collection of developer utilities.

View Source Code

Explore the codebase, report issues, and contribute to the project on GitHub.

Contribute

Add new tools, fix bugs, improve documentation, or suggest features.

MIT License

Free to use, modify, and distribute. Open source software for everyone.

Star on GitHub
Fork & Contribute
Made with ❤️ by Community

More Tools Coming Soon

We're constantly adding new developer utilities. Stay tuned for more powerful tools!

Built with modern design principles