Skip to content
Local

Developer

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.

Open Gitignore Generator

How to use Gitignore Generator

  1. 1Tick the templates for your language, framework, editor and operating system.
  2. 2Add any project files of your own, such as .env.
  3. 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.

Esc