Skip to content

Your .env files,
under control.

A fast, private .env editor for macOS.

Dotvar reveals PORT in .env.local, changes 3000 to 3001, saves with Command-S, and hides PORT again. DATABASE_URL and STRIPE_SECRET_KEY stay hidden.

  • Built with Rust
  • Works offline
  • Private by default
  • Open source

Features

93% less memory than VS Code

Relative usage: Dotvar, approximately 7%. VS Code, 100%.

Works with any .env style.

.env
# Worker settings
WORKERS='2'
WORKERS='4'
QUEUE=default

Works entirely offline.

Your .env files are read and edited on your Mac.

Reveal only what you need.

APP_ENV
development
DATABASE_URL
Hidden

From the keyboard.

Open project or file
Command + O
Switch project
Command + K
Find variable
Command + F
Save changes
Command + S
hello-world
.env.local
  • App
  • APP_ENV
    Hidden value
  • NEXT_PUBLIC_APP_NAME
    Hidden value
  • NEXT_PUBLIC_APP_URL
    Hidden value
  • PlanetScale · MySQL
  • Use a development branch for local work.
  • DATABASE_URL
    Hidden value
  • Better Auth · Sessions
  • BETTER_AUTH_URL
    Hidden value
  • BETTER_AUTH_SECRET
    Hidden value

Dotvar vs. VS Code

93% less memory at idle

Relative usage: Dotvar, approximately 7%. VS Code, 100%.

92% lower peak memory while editing

Relative usage: Dotvar, approximately 8%. VS Code, 100%.

Up to 54% less CPU time while editing

Relative usage: Dotvar, approximately 46%. VS Code, 100%.

97% smaller installed app

Relative usage: Dotvar, approximately 3%. VS Code, 100%.

Tested on an M2 Mac mini with VS Code extensions and built-in AI disabled.

View benchmark
FAQ

A few answers.

Meet your new .env editor.

Free and open source. Built for your Mac.
Download for macOS