Protovalidate
Protocol Buffer Validation - Go, Java, Python, C++ and JS/TS observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 92
- Longevity 85
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4.5
- age_days: 1196
- days_rel: 55
- days_push: 8
- n_releases_24m: 35
Adoption not part of the score
1552 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Protovalidate is a semantic validation library for Protocol Buffers that lets developers define validation rules (standard constraints plus CEL expressions) directly in proto schemas, enforced consistently across Go, JavaScript/TypeScript, Java, Python, and C++. It is the successor to protoc-gen-validate (PGV), which is now in maintenance mode.
Use cases
- validate protobuf message fields like email, uuid, and length constraints
- enforce semantic data rules in proto schemas across multiple languages
- validate gRPC request payloads with interceptors
- write custom validation logic with CEL expressions in proto files
- migrate from protoc-gen-validate to protovalidate
- reject invalid data at API boundaries before it corrupts databases
When to choose
- you use Protocol Buffers and need value-level validation beyond type safety
- you want the same validation rules enforced identically in Go, Java, Python, JS/TS, or C++
- you're starting a new Protobuf project needing schema-embedded constraints
- you need custom rules via CEL expressions alongside standard annotations
When to avoid
- you're maintaining a legacy PGV project and don't want to migrate (PGV still works in maintenance mode)
- your validation needs are unrelated to Protobuf schemas
- you need runtime-only validation without schema annotations
Facets
library · maturity active
serialization developer-tools apis developer-tools backend go python jvm cpp cross-platform protobuf validation cel protoc-plugin grpc schema-validation buf nodejs
9 sources
- readme: https://github.com/bufbuild/protovalidate · fetched 2026-08-28 · a17524e0d894
- homepage: https://protovalidate.com · fetched 2026-08-29 · d4e14967c219
- site_page: https://protovalidate.com/about · fetched 2026-08-29 · 4f094ca21f2e
- site_page: https://protovalidate.com/quickstart-go · fetched 2026-08-29 · 3c2392b70e7e
- site_page: https://protovalidate.com/quickstart-es · fetched 2026-08-29 · 308e564d469c
- site_page: https://protovalidate.com/quickstart-java · fetched 2026-08-29 · 29d50a6b0cb2
- site_page: https://protovalidate.com/quickstart-python · fetched 2026-08-29 · aa2565804ad7
- site_page: https://protovalidate.com/quickstart-cc · fetched 2026-08-29 · 054451851812
- site_page: https://protovalidate.com/quickstart · fetched 2026-08-29 · 5ee3247360f6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bufbuild/protovalidate | main | 94 |
| bufbuild/protoc-gen-validate | mirror | 10 |
For agents
markdown · JSON · MCP: product_card(name="bufbuild/protovalidate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem