Import & Export

Move secrets in and out of dotenvar quickly. Bulk-paste an entire .env file to import, or export a Group in multiple formats for use elsewhere.

Bulk import

Open any Group and click Bulk Insert. Paste your existing .env content directly into the text area. dotenvar parses each KEY=VALUE line and creates a secret for each one. Lines starting with # are treated as comments and skipped.

# Database
DATABASE_URL=postgres://user:pass@localhost/myapp
DATABASE_POOL_SIZE=10
# Auth
JWT_SECRET=s3cr3t_k3y_here
SESSION_EXPIRY=86400

Each line above becomes a separate encrypted secret in your Group.

Export

Open a Group and click Export. Choose your preferred format:

.env

Standard dotenv format. Paste directly into a server or CI/CD environment.

DATABASE_URL=postgres://...
JWT_SECRET=abc123
JSON

Key-value JSON object. Useful for Node.js config files or APIs that consume JSON.

{
  "DATABASE_URL": "postgres://...",
  "JWT_SECRET": "abc123"
}
YAML

YAML mapping. Works with Docker Compose, Kubernetes ConfigMaps, and similar tooling.

DATABASE_URL: "postgres://..."
JWT_SECRET: "abc123"
Keep exports safe: Exported files contain your secrets in plaintext. Store or transmit them securely and delete them once you no longer need them. Never commit export files to version control.