Generate a .gitignore file with presets for Node.js, Python, Docker, IDEs, and operating systems.
Gitignore Generator is a free online tool that builds a .gitignore file from presets for Node.js, Next.js, Python, Django, Docker, VS Code, Cursor, JetBrains, macOS, Windows, Linux, and .env files. You can add custom rules and download the finished file. The tool runs in your browser and does not send data to the server.
Choose a related tool for the next step.
Data passed between tools is kept only in the current browser session.
Gitignore Generator helps you quickly build a .gitignore file for your project. You can choose presets for Node.js, Next.js, Python, Django, Docker, VS Code, Cursor, JetBrains, macOS, Windows, Linux, .env files, and secret keys. The tool adds typical rules for build and cache artifacts, dependencies, temporary files, IDEs, and secrets.
.gitignore affects only newly untracked files. It does not remove files that have already been committed to the repository. To stop tracking a previously committed file, use git rm --cached followed by a commit.
All processing is done locally in the browser. Your data is not sent to the server.