Gitmodules Inspector
Paste a .gitmodules file and inspect it without uploading it. The tool reads each submodule section and reports the declared path, the remote URL, and any branch setting, and whether the path matches the submodule name from its section header. It flags a section with no path, a section with no URL, a section header with no matching closing name, and a malformed submodule line, so a broken submodule declaration can be found before git complains about it. The summary view gives the counts, the submodules view lists every entry, and the issues view lists structural problems.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
Questions
What is a .gitmodules file?
It is the file that records the submodules of a Git repository. Each submodule is a block that names the path and the URL it is cloned from, with optional branch, ignore and shallow options.
What does the inspector report?
It lists every submodule with its path and URL, flags a submodule whose URL is a git: or http: scheme rather than https: or ssh, and warns about a path that is absolute or escapes the repository.
Does it read my repository config?
No. The tool works on the pasted file only, so a private submodule URL or a path to an internal server is never resolved or transmitted.
How it works
Gitmodules Inspector runs entirely in your browser tab. Your input is processed by JavaScript on this device. Nothing is uploaded, and the page works offline once it has loaded.
Related tools
See category.gitignore Generator
Generate a .gitignore for Node, Python, Rust, Go, Java, macOS, Windows and more.
Dockerfile Generator
Build a Dockerfile from friendly fields — base image, workdir, env, ports, RUN steps and CMD — ready to paste.
CODEOWNERS Validator
Validate a CODEOWNERS file on-device: patterns, owner syntax, comments and trailing rules.
.editorconfig Generator
Generate an .editorconfig with your indentation, line-ending and charset settings.