What input formats are supported?
The tool accepts standard .env format (KEY=VALUE, with optional quotes) and YAML key-value pairs. It auto-detects which format you pasted based on whether the input contains = signs or YAML-style colons.
Convert .env files to Dockerfile, docker-compose, GitHub Actions, Vercel, Kubernetes ConfigMap, and more.
The ByteKiln Env Converter parses your .env or YAML input in-browser and reformats it into the target platform's syntax using pure JavaScript — no server, no uploads.
The parser first checks for YAML indicators and tries js-yaml. If that fails or the input uses KEY=VALUE syntax, it falls back to the .env parser which handles quoted values and comment lines.
A regex pattern scans each key name for common secret indicators. Detected secrets are masked in most output formats, placed in the K8s Secret resource, and highlighted with a comment in the GitHub Actions format.
Eight output formats cover the most common deployment platforms: .env, Dockerfile ENV, docker-compose environment block, GitHub Actions env/secrets, Vercel environment JSON, plain JSON, Kubernetes ConfigMap, and Kubernetes Secret.
Short answers for the things developers usually ask before trusting a tool.
The tool accepts standard .env format (KEY=VALUE, with optional quotes) and YAML key-value pairs. It auto-detects which format you pasted based on whether the input contains = signs or YAML-style colons.
Keys matching patterns like SECRET, KEY, PASSWORD, TOKEN, PRIVATE, API_KEY, AUTH, CREDENTIAL, CERT, SALT, or HMAC are detected as secrets. When masking is enabled, their values are partially obscured (first 2 + last 2 characters shown with asterisks).
A Kubernetes ConfigMap stores non-sensitive configuration. A Secret is intended for sensitive values and stores data base64-encoded. The converter puts detected secrets in the Secret output and non-secrets in the ConfigMap output.
No. All conversion happens in your browser using JavaScript. Your environment variables never leave your machine.
Yes. Lines starting with # are treated as comments and ignored.
Useful follow-ups when one conversion usually turns into three more.
Format and validate YAML, or convert between YAML and JSON. Essential for Kubernetes, Docker, and CI configs.
Format, validate, and minify JSON instantly with a browser-first editor.
Generate realistic fake JSON data from a JSON Schema, OpenAPI 3.x spec, or a sample JSON object shape.