.gitignore Explainer & Reverse Parser
Explain every .gitignore rule, count negations, and guess stacks to feed back into the generator — offline.
Local workspace
Named projects in IndexedDB · Local only — never synced to our servers. Worksp…
Batch workspace
Format multiple files locally in one run.
How to use the .gitignore Parser
Paste code or file
Paste your raw TEXT text or upload directly.
Configure options
Choose indentation, dialect, or formatting preferences.
Format & export
Click format, then copy, download, or inspect in tree view.
What is a .gitignore Parser?
Explain every .gitignore rule, count negations, and guess stacks to feed back into the generator — offline. This tool re-indents and organizes code according to standard style conventions while checking for syntax validity. Everything executes 100% inside your browser, guaranteeing zero latency and complete privacy for API keys, user tokens, and confidential database schemas.
Options Explained
| Option | Description |
|---|---|
| Output format | Choose a readable explanation, machine-readable JSON, or stack names for the companion generator. |
Frequently Asked Questions
What does a leading ! mean?
Negation: the path is re-included after a previous ignore pattern matched it.
What does a trailing / mean?
Directory-only matching — the pattern applies to directories, not regular files.
Can this rebuild my generator stacks?
Use the Guessed stacks output and paste those names into the .gitignore Generator companion.
Is my ignore file uploaded?
No. Analysis is 100% client-side.
Does it evaluate matches against a file tree?
This MVP explains rules and heuristics; it does not walk a real repository tree.