.env ↔ JSON Converter

Convert dotenv files to JSON and back - with secret masking

🔒 100% ブラウザ内🆓 ずっと無料⚡ サインアップ不要
注意: 下記のツールインターフェースは現時点で英語のみに対応しています。UI の翻訳は順次進めています。 このツールを英語で見る →

使い方

  1. 1
    Paste .env or JSON

    Drop either format - the tool converts in the direction you pick.

  2. 2
    Toggle secret masking

    Turn on to replace values of KEY / TOKEN / PASSWORD variables with ***, so you can share the config safely.

  3. 3
    Copy the output

    One click sends the result to your clipboard.

.env ↔ JSON Converter について

Free online .env to JSON converter. Paste a dotenv file to get clean JSON, or JSON to get a properly quoted .env. Optional secret masking hides values for KEY, TOKEN, SECRET, PASSWORD, and API_* variables. Runs entirely in your browser. 712 Tools の .env ↔ JSON Converter はモダンな JavaScript API を使って完全にブラウザ内で動作します - サーバーがあなたのデータを見ることは一切ありません。つまり、即時の結果、完全なプライバシー、アップロード制限なしです。

デバッグ、簡単な確認、あるいは本番のインシデント対応まで - このツールは何度でも無料で使えます。ウォーターマークなし、サインアップなし、ツール内広告なし。

よくある質問

Which .env syntax is supported?

Standard dotenv: KEY=value, optional quotes (single or double), # comments, export prefix, and \n escapes inside double-quoted strings.

What triggers secret masking?

A regex against the key name: TOKEN, KEY, SECRET, PASSWORD, PASSWD, API, AUTH - case-insensitive. Never share masked output as a substitute for actual secret handling.

Does it handle multi-line values?

Multi-line values inside double-quoted strings using \n are supported. Raw multi-line values across lines aren't part of the dotenv spec.

Is my file uploaded?

No. Everything runs in your browser.

続きを読む