# .gitignore Generator

> Build a .gitignore file for your stack, with the entries people usually forget.

To generate a .gitignore, pick your project type and the relevant build artefacts, caches and dependency folders are included. The secrets section is the one worth keeping — .env files and private keys committed by accident are among the most common security incidents.

**URL:** https://convertto.tech/t/gitignore-generator
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Choose the project type.
2. Choose the also ignore.
3. The result appears immediately — copy or download it.

## FAQ

### I already committed a file — will .gitignore hide it?

No. .gitignore only affects untracked files. Run "git rm --cached <file>" to stop tracking it, then commit. If it was a secret, rotate it — the value stays in your history.

## Related tools

- [Cron Expression Parser](https://convertto.tech/t/cron-expression-generator): Translate a cron expression into plain English and see when it will next run.
- [Redirect Rule Generator](https://convertto.tech/t/redirect-generator): Generate redirect rules for Apache, Nginx, Netlify, Vercel and Next.js.
- [Text Diff Checker](https://convertto.tech/t/diff-checker): Compare two texts and highlight exactly what was added and removed.
- [Unified Diff & Patch Generator](https://convertto.tech/t/diff-to-patch): Produce a unified diff between two texts that git apply and patch can consume.
- [Git Command Builder](https://convertto.tech/t/git-command-builder): Build the exact git command for fifteen common tasks, with explanations and safety notes.
- [CSS Clamp Generator](https://convertto.tech/t/css-clamp-generator): Generate fluid clamp() values that scale smoothly between two viewport widths.
- [Nano ID Generator](https://convertto.tech/t/nanoid-generator): Generate compact URL-safe unique IDs — shorter than a UUID with comparable collision safety.
- [Random String Generator](https://convertto.tech/t/random-string-generator): Generate random strings from a chosen character set — for keys, tokens and test data.
- [Line Endings Converter](https://convertto.tech/t/line-endings-converter): Convert between CRLF, LF and CR, and strip trailing whitespace.
