.gitignore Generator
Build a .gitignore from a list of stacks, such as Node, Python or macOS.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your stacks, then click “Run tool”.
Separate stacks with commas. Known: Node, Python, Java, Go, Rust, Ruby, PHP, DotNet, Terraform, macOS, Windows, Linux, VSCode, JetBrains.
Type, paste or drop a file
TextLn 1, Col 1Spaces: 2UTF-811 bytes
Output
Ignore rules (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the .gitignore Generator
Overview
Build a .gitignore from a list of stacks, such as Node, Python or macOS.
Start a repository with sensible ignore rules for the stacks it uses.
How to use it
- Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Stacks. Separate stacks with commas. Known: Node, Python, Java, Go, Rust, Ruby, PHP, DotNet, Terraform, macOS, Windows, Linux, VSCode, JetBrains.
Output
Ignore rules.
- 14 stacks, Node to Terraform
- Several stacks at once
- Says when a stack is unknown
- Ready to paste into .gitignore
Tips
- Choose the language before formatting; the formatter does not guess.
- Formatting never changes behaviour, only layout.
- Config files are parsed as well as formatted, so mistakes surface here.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar