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.
Use the Go Mod File Parser
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
This tool parses a pasted go.mod file entirely in your browser without sending data to any server. It extracts the module path, Go version requirement, and all dependency directives (require, replace, exclude) and presents them as a structured, filterable table. Useful for auditing dependencies, reviewing upgrades, or understanding a project's module graph at a glance.
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.
- Click Export CSV to download the complete parsed dependency list for external analysis or sharing.
Use cases
- Audit all direct and indirect dependencies in a Go project.
- Filter and inspect direct versus indirect dependencies before running module upgrades.
- 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-05-23 · Reviewed by Nham Vu