FormatCodes
Home/Generators/.gitignore Generator

.gitignore Generator

Build a .gitignore file online by language, framework, editor, and OS, right in your browser.

Local browser processing
No sign-up required
Supports copy and download
Generator
3 selected
Languages
Frameworks
Editors / IDEs
Operating Systems
Other
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
### Node.js ###
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.pnpm-store/
dist/
build/
.env
.env.local
.env.*.local
*.tsbuildinfo
 
### VSCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
 
### macOS ###
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes
3 templates · 29 linesGenerated locally in browser · no data uploaded
How It Works.gitignore
Overview
24 built-in templates for common languages, frameworks, editors, and operating systems, with multi-select merging, search, and a live preview of the merged result — each template becomes its own commented section. Everything runs locally in your browser; your data never leaves your device.
Use Cases
Quickly generate a suitable .gitignore for a new projectMerge ignore rules for a multi-language / multi-framework projectStandardize common IDE and OS ignore rules across a teamAvoid missing common temp files when assembling rules by hand
Steps
123
Search and check off templatesReview the merged resultCopy or download

Related Tools

Related Guides

Frequently Asked Questions

Search Tools

Search 55+ formatting, conversion, minification, diffing, and generation tools