Microdeck.tools 100% In-Browser

.ENV to JSON / Docker Compose Env Converter

New

Paste a .env file and convert it to a JSON object, Docker Compose environment (map or list), a Kubernetes ConfigMap or docker run -e flags.

100% In-Browser No Server Storage Instant Results

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

How It Works Under the Hood

Paste your .env content, choose the output format and copy it. Comments, export prefixes, quotes and inline comments are handled.

Step-by-Step Instructions

1

Paste the .env file.

2

Choose the output format.

3

Copy the result.

Key Features & Performance

  • JSON
  • Compose map and list
  • Kubernetes ConfigMap
  • docker run -e
  • Typed JSON option

Methodology, Formulas & Technical Standards

Each KEY=value line is parsed, quotes and inline comments are removed, and the pairs are written in the target format.

Worked Examples & Edge Cases

DB_PORT=5432

Input
{ "DB_PORT": "5432" }
Output
Compose and k8s forms too

Limitations, Scope & Accuracy Notes

  • • Variable expansion such as ${OTHER} is not performed.
  • • Multi-line quoted values are limited to one line with \n escapes.
  • • Do not paste production secrets into tools you do not trust.

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. .ENV to JSON / Docker Compose Env Converter runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

Are secrets sent anywhere?

No. The conversion runs in your browser. Still, avoid pasting real production secrets anywhere unnecessary.

Is anything uploaded?

No. Everything runs in your browser and your data stays on your device.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.