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

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

  1. Paste your go.mod file content into the text area on the left.
  2. The parser extracts the module path and Go version from the header directives.
  3. All require, replace, and exclude blocks are parsed line by line.
  4. Results appear in a structured table grouped by directive type.
  5. Use the search box to filter dependencies by name or version.
  6. 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