# ozzo-validation

Go package for validating data with rules written as ordinary Go code instead of struct tags.


Source: https://findsoftware.frbit.cloud/ozzo-validation/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/go-ozzo/ozzo-validation

### Identity

- status: active
- maintainer: Qiang Xue
- maintainerType: unknown
- parent: unknown
- firstRelease: 2016
- 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: yes

### Rendering and deploy

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

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 4
- latestReleaseDate: 2026-10-27

### Adoption

- githubStargazers: 4160
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 38
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/go-ozzo/ozzo-validation (read 2026-11-16)
- maintainer: https://github.com/go-ozzo/ozzo-validation/blob/master/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/go-ozzo/ozzo-validation/releases (read 2026-11-16)
- category: https://github.com/go-ozzo/ozzo-validation/blob/master/README.md (read 2026-11-16)
- language: https://api.github.com/repos/go-ozzo/ozzo-validation (read 2026-11-16)
- runtime: https://github.com/go-ozzo/ozzo-validation/blob/master/README.md (read 2026-11-16)
- i18n: https://github.com/go-ozzo/ozzo-validation/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/go-ozzo/ozzo-validation/blob/master/README.md (read 2026-11-16)
- license: https://github.com/go-ozzo/ozzo-validation/blob/master/LICENSE (read 2026-11-16)
- licenseModel: https://github.com/go-ozzo/ozzo-validation/blob/master/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/go-ozzo/ozzo-validation/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/go-ozzo/ozzo-validation/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/go-ozzo/ozzo-validation (read 2026-11-16)
- contributors: https://api.github.com/repos/go-ozzo/ozzo-validation/contributors?per_page=1 (read 2026-11-16)

## Notes

ozzo-validation is a Go package that validates data with rules written as ordinary Go code instead of struct tags. The README says it validates structs, strings, byte slices, slices, maps and arrays, and custom types that implement its Validatable interface. Error codes and messages can be translated.

---

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
