Skip to content
Convertto

.gitignore Generator

Build a .gitignore file for your stack, with the entries people usually forget.

To generate a .gitignore, pick your project type and the relevant build artefacts, caches and dependency folders are included. The secrets section is the one worth keeping — .env files and private keys committed by accident are among the most common security incidents.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

I already committed a file — will .gitignore hide it?

No. .gitignore only affects untracked files. Run "git rm --cached <file>" to stop tracking it, then commit. If it was a secret, rotate it — the value stays in your history.

How to use the .gitignore generator

  1. 1Choose the project type.
  2. 2Choose the also ignore.
  3. 3The result appears immediately — copy or download it.

Embed this tool

Put the working .gitignore generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More developer tools