Generate a .gitignore file
Select your languages, frameworks and tools to generate a clean .gitignore file instantly, with presets for frontend, backend and mobile. Free.
- Files never leave your device
- Free, no sign-up
- No watermark
About .gitignore Generator
Start every repository with the right .gitignore. Pick the technologies you use, such as Node.js, Python, Java, Next.js, React Native, Docker, JetBrains or VS Code, or choose a preset for frontend, backend, full-stack or mobile development, and get a clean, de-duplicated .gitignore you can copy or download. It keeps build output, dependencies, logs and secrets out of version control.
How to use .gitignore Generator
- 1
Select your technologies or a preset.
- 2
Review the generated file.
- 3
Copy it or download .gitignore.
- 4
Place it at the root of your repository.
Why use this tool
- Templates for languages, frameworks, editors and operating systems.
- Presets for common stacks.
- Combined, de-duplicated output.
- Line count shown.
- Download as a ready .gitignore file.
Frequently asked questions
It stops generated files, dependencies and secrets such as .env from being committed.
Add it to .gitignore, then run git rm -r --cached node_modules and commit.
Yes. Commit an .env.example with placeholder values instead.
Yes. Select as many technologies as you need.
In the root folder of your repository.
No. Everything is processed in your browser tab. Nothing you type or paste is sent to CodeMites or any other server.
Yes. There is no account, no watermark and no usage limit. The tool runs in your own browser, so there is no server cost to charge you for.
Yes. It runs in any modern browser on Android and iOS as well as on Windows, macOS and Linux, with nothing to install.
Yes, once the page has loaded. Everything runs in your browser, so you can keep working on a train or plane without a connection.
No. It only affects untracked files. Remove tracked files from the index with git rm --cached.
Related tools
All Developer tools →- Env Variable ParserConvert between .env, JSON and YAML with automatic format detection and secret detection.
- Chmod CalculatorSet Unix file permissions with checkboxes and get the octal value, symbolic notation and chmod command.
- Regex TesterTest regular expressions with live match highlighting, capture groups, flags and a quick-reference cheat sheet.
- Cron Expression BuilderBuild cron expressions with dropdowns, read them in plain English and preview the next run times.
- CIDR CalculatorCalculate network address, broadcast, host range, subnet mask and host count from CIDR notation, with binary view.
- UUID GeneratorGenerate random v4 or timestamp-based v1 UUIDs, one at a time or up to 100 in bulk, and validate existing UUIDs.