Skip to content
Developer & CodeLocal · Stays on device

Environment Variable Editor

Open, edit, sort and clean up .env files, spot secrets and duplicates, and export to JSON, shell, YAML or a .env.example.

  • .env (dotenv), JSON, Shell export, YAML
  • Free to use
  • No sign-up or watermark
environment-variable-editorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
.env (dotenv)JSONShell export
Open Environment Variable Editor

About this tool

Paste or open a .env file and edit it as a table: rename variables, change values, add or remove rows and sort by name. The parser follows common dotenv rules — export prefixes, single, double and backtick quotes, escape sequences and multi-line values in double quotes, and # comments — and points out lines it can’t read, invalid names, duplicate keys and spaces around =.

Values that look like secrets (by name, by known token formats such as AWS keys or private keys, or by being long and random) are flagged and hidden until you choose to show them. Export as a clean .env, a names-only .env.example, JSON, shell export lines, YAML or the literal format docker --env-file expects. Your values never leave this browser tab and aren’t saved anywhere.

  1. Input

    Your code or text

    .env (dotenv), JSON, Shell export, YAML, docker --env-file

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Paste your .env or open the file.

  2. 2

    Edit, add, remove or sort variables in the table.

  3. 3

    Choose an export format and copy or download it.

Zero-upload architecture

How to use Environment Variable Editor for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open Environment Variable Editor

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Edit, add, remove or sort variables in the table.

  3. 3

    Get your result

    Choose an export format and copy or download it.

  • Local

    Environment File Diff

    Compare two .env files to find variables missing from one, values that differ and ones that match, with secrets masked.

    Open tool
  • Local

    Docker Compose Validator

    Validate a docker-compose / compose.yaml file for YAML errors, unknown keys, broken references, port clashes and risky settings.

    Open tool
  • Local

    Gitignore Generator

    Build a .gitignore from language, framework, OS and editor templates, then test which paths it ignores.

    Open tool
  • Local

    Nginx Config Formatter

    Re-indent and tidy an nginx configuration, catch missing semicolons and braces, and flag common security and logic mistakes.

    Open tool