Gitignore Tester

Apply bounded ordered ignore and negation rules to path text.

Scope: This deterministic subset has no filesystem or Git access and may not reproduce every implementation-specific edge case.

Workbench

Inputs stay on this page.

Applies ordered *, **, ?, escape, leading-root, trailing-directory, and ! negation rules to bounded relative paths. Character classes and full Git directory-reinclusion semantics are outside this subset.

How to use Gitignore Tester

  1. Fill in the fields:

    • Ordered gitignore rules.
    • Relative POSIX paths, one per line.
  2. Press “Test ignore rules”.

  3. Copy the result, or download it as gitignore-results.json.

About this tool

Apply bounded ordered ignore and negation rules to path text.

Applies ordered *, **, ?, escape, leading-root, trailing-directory, and ! negation rules to bounded relative paths. Character classes and full Git directory-reinclusion semantics are outside this subset.