.gitignore Generator
Pick the languages, frameworks and tools you use and get a ready-made .gitignore. Combine multiple stacks, then copy the result or download it straight into your repo.
How to generate a .gitignore
- Select every stack your project uses, like Node, Python or macOS.
- Review the combined .gitignore that builds as you toggle stacks.
- Copy it or download the .gitignore file into the root of your repository.
Examples
Node + macOS
["node","macos"]
# === Node === node_modules/ npm-debug.log* ... # === macOS === .DS_Store ._* ...
Python project
["python"]
# === Python === __pycache__/ *.py[cod] .venv/ .pytest_cache/ ...
Frequently asked questions
What does a .gitignore file do?
It tells Git which files and folders to leave untracked, so build output, dependencies, logs and local secrets never get committed to your repository.
Can I combine multiple stacks?
Yes. Select every stack your project uses and the patterns are stacked under labelled sections, so a Next.js app on macOS gets both sets of rules.
Where do I put the generated file?
Save it as a file named exactly .gitignore in the root of your repository. You can also keep extra .gitignore files inside subfolders for rules that only apply there.
What about a global gitignore for my machine?
Editor and OS rules like .DS_Store or .idea/ can go in a global ignore file. Run git config --global core.excludesFile ~/.gitignore_global and add them there so every repo benefits.
Why is a file still tracked after I add it to .gitignore?
Git only ignores untracked files. If a file was already committed, .gitignore will not remove it. Run git rm --cached <file> once, then commit, and Git will stop tracking it.
Is anything sent to a server?
No. The templates are built into the page and the file is generated entirely in your browser.
Related tools
Crontab Generator
Build a cron expression from simple fields. Pick a preset or set minute, hour, day, month and weekday, then copy the line for your crontab.
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.
Base64 Decode
Decode Base64 to plain text online. Paste a Base64 or base64url string and get instant UTF-8 output. Free, fast and runs in your browser.