Gitignore Generator
Build a .gitignore from the official GitHub templates for languages, frameworks, editors and operating systems, with repeated lines removed.
Runs in your browser. Nothing leaves this device.Built with github/gitignore templates (CC0-1.0)
Open Gitignore Generator
Free, no account, no watermark and no daily limit.
How to use Gitignore Generator
- 1Tick the templates for your language, framework, editor and operating system.
- 2Add any project files of your own, such as .env.
- 3Copy the result or download it as .gitignore.
Questions
Where do the templates come from?
From github.com/github/gitignore, the CC0 collection GitHub uses when you create a repository. They are bundled with this page, so nothing is fetched.
What happens to repeated lines?
When two templates ignore the same pattern, only the first copy is kept, and the count of skipped lines is shown under the file.
Where does the file go?
In the root folder of your repository, named .gitignore. Some browsers save it as gitignore.txt because they drop the leading dot, so rename it, or copy the text into the file instead.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperRegex TesterTest JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.