.gitignore generator
Build a .gitignore by picking your stack — Node, Python, macOS, VS Code and more — then copy or download it.
How to use
Pick the technologies in your project — Node, Next.js, Python, Java, Go, plus operating systems and editors like macOS, Windows, VS Code and JetBrains — and a combined .gitignore is built for you. Select as many as you need; the relevant rules are merged into one file.
The generated file ignores the usual build output, dependency folders, caches, environment files and OS/editor cruft so they never get committed by accident. Copy it or download a ready-to-use .gitignore.
It all runs in your browser from built-in templates, so it works offline and nothing is sent anywhere.
Examples
Select Node, Next.js and macOS to ignore node_modules, the .next build and .DS_Store.
Pick Python and your editor to ignore __pycache__, virtual envs and IDE files.
Add macOS, Windows and Linux so no one commits OS-specific junk.
Frequently asked questions
Which stacks are included?
Common languages and frameworks (Node, Next.js, React, Python, Java, Go, Rust, Ruby, PHP) plus operating systems and editors, including an environment-files preset.
Can I combine several?
Yes. Select everything that applies and the rules are merged into a single .gitignore.
Where do I put the file?
Save it as .gitignore in the root of your repository, then commit it so Git ignores the listed files for everyone.
Is anything sent to a server?
No. The file is built from local templates in your browser, so it works offline and stays private.
Related tools
Work out Unix file permissions — toggle read/write/execute to get the octal (e.g. 755), symbolic and chmod command.
Paste a cURL command and get equivalent code for JavaScript fetch, Python requests or Node.js axios.
Turn any text into a clean, URL-friendly slug.
Format, validate and minify JSON with precise error locations and key sorting.
Beautify JavaScript, TypeScript, JSON, CSS, HTML, Markdown, YAML and GraphQL with Prettier.