底層運作原理
Paste your .env content, choose the output format and copy it. Comments, export prefixes, quotes and inline comments are handled.
詳細操作步驟
Paste the .env file.
Choose the output format.
Copy the result.
核心功能與效能優勢
- JSON
- Compose map and list
- Kubernetes ConfigMap
- docker run -e
- Typed JSON option
運算方法、公式與技術標準
Each KEY=value line is parsed, quotes and inline comments are removed, and the pairs are written in the target format.
實作範例與邊界案例
DB_PORT=5432
{ "DB_PORT": "5432" } Compose and k8s forms too
使用限制與精準度說明
- • 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.
瀏覽器本地運算與隱私保障
傳統線上轉換網站會將您的文件、文字片段或影音檔案上傳至遠端伺服器。.ENV 轉 JSON 與 Docker Compose 環境變數轉換器 完全在您的瀏覽器分頁內運行:
您的檔案與文字都在裝置本機計算,不會傳送內容至任何後端伺服器。
Microdeck 不會記錄或儲存您在工具內貼上的任何檔案或程式碼。
所有暫存結果僅存在目前分頁記憶體中,重設或關閉分頁後即刻清除。
常見問題 (FAQ)
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.