Dev

Config Converter

Convert configuration files between .env, JSON, YAML, TOML, INI, properties, Docker Compose, and Kubernetes manifests.

Paste a config to begin
Input -
or drop a file here
Output -
The converted config will appear here
Settings Nest on __ · typed values · quote when needed
How It Works

How to Use Config Converter in 3 Steps

1

Paste or open a config

Drop a configuration file or paste raw text. Use the From menu if you want to override automatic format detection.

2

Select target and nesting rules

Pick your output format in the To menu. Adjust Settings to control key nesting separators, type inference, and quoting rules.

3

Review warnings and download

Check the warning badges below the output for duplicate keys, invalid variable names, or exposed credentials. Copy or download the converted file.

FAQ

Config Converter: Frequently Asked Questions

How does the converter handle comments and multiline values?

Parser rules read quoted multiline .env strings and \\n escapes accurately. Source comments are omitted because formats like JSON cannot store them.

How do flat keys map to nested objects?

Double underscores map flat keys like DATABASE__HOST to nested keys like database.host. Switch Settings to dot separators or disable nesting completely.

How does automatic value typing work?

Target formats like JSON, YAML, and TOML convert true, false, null, and numbers into native types. Clear "Type values" to preserve leading zeros.

What is the difference between ConfigMap and Secret output?

ConfigMap output writes plain text under data:. Enable "Base64-encode values" to generate a Kubernetes Secret manifest, and keep production secrets in a vault.

Why does the tool flag secret-looking keys?

Warning chips remind you before you paste live API keys into tickets or repositories. Conversion runs locally and never transmits your text.

Is my input uploaded to a server?

No. Every calculation and parser runs locally inside your browser tab. Your code, secrets, cookies, and files never leave your device.

Toolity Dev

Explore All Dev Tools

Format, minify, inspect, and validate code and developer payloads locally.

Copied to clipboard