Config File Tools for YAML and TOML
Use Config File Tools for the common jobs around YAML and TOML. Validate a file, compare YAML versions, convert YAML or TOML to JSON, merge YAML files, or extract environment variable entries. Choose the child group that matches the result you need.
How to choose config file tools
Choose by input format and output. Validation checks YAML or TOML. Comparison is for two YAML files. Conversion produces JSON, merging produces one YAML result, and extraction isolates environment variable entries.
- Config File Validate Tools contains a validator for each supported format. Choose
YAML Validator and Formatterfor YAML orTOML Validator and Formatterfor TOML. - Config File Compare Tools contains
YAML Diff, which compares two YAML files. - Config File Convert Tools contains
TOML to JSON Converterfor TOML input andYAML to JSON Converterfor YAML input. - Config File Merge Tools contains
YAML Merge Toolfor combining YAML files. - Config File Extract Tools contains
Env Variable Extractorfor extracting environment variable entries.
How to validate YAML and TOML files
Open Config File Validate Tools when you need to check a config file. Select YAML Validator and Formatter for YAML or TOML Validator and Formatter for TOML. The two formats have separate validators.
The validate pages process config files locally in your browser with no upload. The formatter is part of each page name, so both pages cover validation and formatting for their named format.
How to compare, convert, merge, or extract config data
Use YAML Diff to compare two YAML files. For JSON output, choose YAML to JSON Converter for YAML input or TOML to JSON Converter for TOML input.
Choose YAML Merge Tool when the input consists of YAML files that need to be combined. Choose Env Variable Extractor when you need the environment variable entries from a config file.
What each config tool handles
YAML Diffhandles comparison between two YAML files.YAML to JSON Converterhandles YAML input, whileTOML to JSON Converterhandles TOML input.YAML Merge Toolhandles combining YAML files into one YAML result.Env Variable Extractorhandles environment variable entries from a config file.
When to use Data Tools instead
Open Data Tools when the file is not YAML or TOML, or when the task is cleaning data or working with another supported format. Use Config File Tools for YAML and TOML tasks involving validation, comparison, conversion, merging, or environment-variable extraction.
Frequently asked questions
Which config file tool should I use first?
Choose the child group that matches the result: Config File Validate Tools for YAML or TOML, Config File Compare Tools for two YAML files, Config File Convert Tools for JSON output, Config File Merge Tools for YAML files, or Config File Extract Tools for environment variable entries.
How do I validate a YAML or TOML config file?
Open Config File Validate Tools and select YAML Validator and Formatter for YAML or TOML Validator and Formatter for TOML. The validate pages process config files locally in your browser with no upload.
How can I convert a config file to JSON?
Use YAML to JSON Converter for a YAML file and TOML to JSON Converter for a TOML file. The two tools are grouped under Config File Convert Tools.
Can I compare or merge YAML config files?
Yes. Use YAML Diff to compare two YAML files, or use YAML Merge Tool when you need one combined YAML result.