Go Mod File Parser
Paste your go.mod file and get the module name, Go version, and all dependencies displayed in a clean structured table.
Paste go.mod Content
Paste a go.mod file and click Parse
Module Info
Module Path
—
Go Version
—
0
require
0
replace
0
exclude
| Type | Module Path | Version | Notes |
|---|
No dependencies match your filter.
Summary
Paste your go.mod file and get the module name, Go version, and all dependencies displayed in a clean structured table.
How it works
- Paste your go.mod file content into the text area on the left.
- The parser extracts the module path and Go version from the header directives.
- All require, replace, and exclude blocks are parsed line by line.
- Results appear in a structured table grouped by directive type.
- Use the search box to filter dependencies by name or version.
- Copy individual rows or export the full dependency list as CSV.
Use cases
- Audit all direct and indirect dependencies in a Go project.
- Compare dependency versions between two module files.
- Quickly check which version of a specific package is required.
- Review replace directives to spot local path overrides or forks.
- Identify exclude directives that block specific dependency versions.
- Share a structured dependency list with teammates or reviewers.
- Spot outdated or duplicate packages before a Go module upgrade.
- Validate go.mod syntax before committing to version control.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu