# validator

Go package that validates struct and field values using struct tags.


Source: https://findsoftware.frbit.cloud/go-playground-validator/
Last reviewed: 2026-11-08
Listed since: 2026-11-08

## Record

### Links

- repository: https://github.com/go-playground/validator
- docs: https://pkg.go.dev/github.com/go-playground/validator/v10

### Identity

- status: active
- maintainer: Dean Karn
- maintainerType: unknown
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: error messages are customizable and i18n aware

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: go get

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 10
- latestReleaseDate: 2026-11-02

### Adoption

- githubStargazers: 20222
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 270
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 52342
- dependentPackages: 21065

### Sources

- urls: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/README.md (read 2026-11-08)
- urls: https://api.github.com/repos/go-playground/validator (read 2026-11-08)
- firstRelease: https://api.github.com/repos/go-playground/validator/commits/a0a13613b13c72222b8d23bf33b98897aabbe9d3 (read 2026-11-08)
- maintainer: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/LICENSE (read 2026-11-08)
- language: https://api.github.com/repos/go-playground/validator (read 2026-11-08)
- runtime: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/README.md (read 2026-11-08)
- category: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/README.md (read 2026-11-08)
- installMethod: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/README.md (read 2026-11-08)
- i18n: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/README.md (read 2026-11-08)
- license: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/LICENSE (read 2026-11-08)
- licenseModel: https://raw.githubusercontent.com/go-playground/validator/v10.30.6/LICENSE (read 2026-11-08)
- currentMajor: https://github.com/go-playground/validator/releases/tag/v10.30.6 (read 2026-11-08)
- latestReleaseDate: https://github.com/go-playground/validator/releases/tag/v10.30.6 (read 2026-11-08)
- githubStargazers: https://api.github.com/repos/go-playground/validator (read 2026-11-08)
- contributors: https://api.github.com/repos/go-playground/validator/contributors (read 2026-11-08)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgo-playground%2Fvalidator%2Fv10 (read 2026-11-08)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgo-playground%2Fvalidator%2Fv10 (read 2026-11-08)

## Notes

validator is a Go package that checks struct and field values against rules written as struct tags, with customizable error messages that are aware of i18n. The README describes it as the default validator for the gin web framework. Dean Karn holds the copyright.

## Worth knowing

The README has a "A Call for Maintainers" section that asks for people to maintain the package. It does not declare the project ended.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
