Gitignore Tester
Apply bounded ordered ignore and negation rules to path text.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
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. Press Ctrl or ⌘ + Enter to run.
How to use Gitignore Tester
Fill in the fields:
- Ordered gitignore rules.
- Relative POSIX paths, one per line.
Press “Test ignore rules”.
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.

