Small tools. Better flow.

Gitignore generator

Combine ignore rules for development environments.

Usage guide

Your input stays in this browser.

Input & options

Text 1 MB

View code examples ↓

Result

Your result will appear here.

Code examples

Starting points for your own code. Run them in the environment shown below.

Node.js 22+ · ES module (.mjs)

Current inputs apply only to fields used by the example. Selected files are not embedded.

const sections = {
  secrets: [".env", ".env.*", "!.env.example"],
  node: ["node_modules/", "dist/", "coverage/", "*.log"],
  editor: [".idea/", "*.iml"],
};
const gitignore = Object.entries(sections)
  .map(([name, lines]) => "# " + name + "\n" + lines.join("\n"))
  .join("\n\n");
console.log(gitignore);
// Save as .gitignore. Already tracked files remain tracked.

Put it to work

Combine ignore rules for development environments.

Details that matter

Format and meaning

Review for your project. Ignore rules do not untrack files already tracked by Git.

Supported scope and limits

Text 1 MB

Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.