ENCODING & DATA

Config Converter

Convert between YAML, TOML, INI, JSON, and .env formats. Auto-detects input, validates syntax, and shows output side by side.

Paste config or pick a preset to get started
Source
Target
Converted output will appear here
Options:

Format Notes & Limitations

INI limitations

INI only supports one level of nesting via sections. Deeply nested objects are flattened with dot notation. Arrays become comma-separated values.

.env limitations

Only supports flat key=value pairs. Nested objects are flattened with underscore separators (e.g., DB_HOST). Arrays are not supported.

TOML features

Supports nested tables, arrays of tables, inline tables, and typed values (datetime, integer, float, boolean). Comments start with #.

YAML features

Full YAML 1.2 support via js-yaml. Handles anchors, aliases, multi-line strings, and complex keys. Comments start with #.

Example Presets

Related Tools