YAML / JSON / TOML Converter
Convert between YAML, JSON, and TOML config formats
All processing happens in your browser. Your data never leaves your device.Features
- Convert between YAML, JSON, and TOML formats bidirectionally
- Auto-detect input format for quick conversion
- Preserves data structure and types during conversion
- Formatted output with proper indentation
- All conversion happens in your browser — config data stays private
How to Use the Config Converter
- 1Select your input format (YAML, JSON, or TOML)
- 2Paste your configuration data into the input area
- 3Select the desired output format
- 4Copy the converted output
Frequently Asked Questions
Are all YAML features supported?
The converter supports standard YAML features including nested objects, arrays, multiline strings, anchors, and aliases. Some advanced YAML features like custom tags may not convert perfectly to JSON or TOML since those formats don't support them.
What TOML features are supported?
Standard TOML features are supported including tables, arrays of tables, inline tables, multiline strings, dates, and integers. TOML's strict typing means some YAML/JSON values may be represented differently.
Will comments be preserved?
No. Comments are not preserved during conversion because JSON does not support comments, and the conversion process parses the data into a format-agnostic structure. If you need to preserve comments, consider using a text editor's find-and-replace instead.