Skip to content
Developer & CodeLocal · Stays on device

Gitignore Generator

Build a .gitignore from language, framework, OS and editor templates, then test which paths it ignores.

  • .gitignore
  • Free to use
  • No sign-up or watermark
gitignore-generatorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10

About this tool

Tick the languages, frameworks, tools, operating systems and editors your project uses and get one combined .gitignore, with a heading per section and duplicates removed. Add your own project-specific patterns at the end. The templates were written for this tool from each ecosystem’s documented build, cache and secret files, and include a secrets section that ignores .env files but keeps .env.example.

The built-in tester checks paths against the generated rules using git’s matching rules: the last matching pattern wins, ! re-includes, a trailing / matches only folders, and nothing inside an ignored folder can be re-included. It shows which line decided each path. Everything runs in your browser. What you paste is never uploaded, logged or stored.

  1. Input

    Your code or text

    .gitignore

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Tick the templates that match your project (filter to find one).

  2. 2

    Add any extra patterns.

  3. 3

    Copy or download the .gitignore, and test paths in the tester below.

Zero-upload architecture

How to use Gitignore Generator for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open Gitignore Generator

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Add any extra patterns.

  3. 3

    Get your result

    Copy or download the .gitignore, and test paths in the tester below.

  • Local

    Git Command Builder

    Pick a task such as undoing a commit, renaming a branch or squashing, and get the exact git commands with explanations and danger warnings.

    Open tool
  • Local

    Environment Variable Editor

    Open, edit, sort and clean up .env files, spot secrets and duplicates, and export to JSON, shell, YAML or a .env.example.

    Open tool
  • Local

    Git Branch Name Generator

    Turn a ticket number and description into a clean, valid git branch name like feature/PROJ-142-add-password-reset.

    Open tool
  • Local

    UUID Generator

    Generate random v4 or time-ordered v7 UUIDs in bulk, and validate existing ones.

    Open tool