🇪🇸 Cambiar a versión en español: Convertidor .env, JSON y YAML + Auditor de Secretos 100 % Privado
Convert between .env, JSON, YAML, Docker Compose, and shell export offline inside your browser — never paste live API keys or DB URLs onto third-party servers. Includes local secret detection and 1-click redaction.
Key Escaping Pitfalls Across .env, JSON & YAML
Rooted in the environment configuration contract of The Twelve-Factor App (Config) and credential handling rules from the OWASP Secrets Management Cheat Sheet, common production bugs come from silent overrides and unquoted characters:
1. Silent duplicate key overrides: when PORT appears twice in one file, the trailing line silently wins in dotenv and POSIX shells.
2. Unquoted # and $ symbols: unquoted # comments truncate passwords mid-string unless wrapped in quotes.
| Format | Nested Structs | Special Chars (#, $) | Typical Production Runtime |
|---|---|---|---|
.env | Flat key-value only | Quote strings; single-quote literal $ in bash | Docker Compose, Node dotenv, Python, Rails |
| JSON | Full nested support | Strict RFC 8259 backslash escaping | AWS Secrets Manager, GCP Secret Manager, Vault |
| YAML | Full indentation trees | Quote numeric strings like "0123" or "yes" | Kubernetes Secrets, Helm values, GitHub Actions |
Frequently Asked Questions
Does this .env converter send my API keys to any server?
Never. Parsing, format translation, and secret pattern scanning run 100% inside local browser JavaScript memory with zero network calls.
What patterns trigger the secret scanner?
Known token prefixes (sk-, AKIA, ghp_, whsec_), database URLs containing inline passwords, and sensitive key suffixes such as SECRET, TOKEN, KEY, and PASSWORD.