Read a go.sum file: which modules carry both hashes, which were read for the graph only, and which entries are incomplete and will fail verification.
Waiting for a go.sum
Nothing is uploaded. Paste the file, or load the example.
go.sum is not a lock file. It records the hash of every module version Go has ever needed, including ones no longer used, and it does not decide which version is selected — go.mod and minimal version selection do that. Entries accumulate; they are removed only by go mod tidy.
Paste a go.sum to see which modules were actually built and which entries cannot verify.
Hashes are read, never verified. Checking one means downloading the module and recomputing its dirhash, which needs the network and the module itself — so this tool reports the structure of the file and nothing about whether a hash is correct. The checksum database at sum.golang.org is not contacted, and no module proxy is queried.
go.sum Inspector runs entirely on your device — your go.sum is parsed in your browser and no hash is sent to a checksum database.
You’re on the Free plan. Compare plans
go.sum records two lines per module version and the pair carries the meaning. One hashes the module zip, the other hashes just its go.mod. A module with only the go.mod hash was read to work out the dependency graph and never built, which is entirely normal. A module with only the zip hash is a broken file: Go verifies both, so the build fails verification and the message names a checksum mismatch rather than a missing line.
It is not a lock file, and treating it as one causes confusion. go.sum does not decide which version is selected — go.mod and minimal version selection do that. Entries accumulate for every version Go has ever needed and are removed only by go mod tidy, so the same module appearing at several versions is expected rather than a conflict.
Hashes are read and never verified here. Checking one means downloading the module and recomputing its dirhash, which needs both the network and the module itself. What this reports is the structure of the file, which is where the problems that can be seen statically live.
One ends in /go.mod and hashes only that file; the other hashes the whole module zip. Go needs the go.mod hash to read the dependency graph and the zip hash to compile the code, so both are recorded when a module is actually built.
Because its go.mod was read to resolve versions but nothing in the selected build imports it, so its code was never downloaded. This is the normal state for a large part of any go.sum and is not a problem.
No. It records hashes for every version Go has needed, not the set in use. Versions are selected by go.mod and minimal version selection; go.sum only says what the bytes should be when a version is fetched.
No. That requires downloading the module and recomputing its hash. This reads the file's structure, which is where a missing line or a malformed entry shows up.
No. Run go mod tidy, which adds what is needed and removes what is not. Hand-editing is how the incomplete entries this tool finds get created.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab