Input format
Protocol Buffers converters
Protobuf describes RPC contracts; sometimes you want a struct without all the codegen ceremony. These tools give you that struct in a few seconds.
All Protocol Buffers converters
15 conversions, all live.
Protocol Buffers → TypeScript
Live
Protocol Buffers → Zod
Live
Protocol Buffers → Yup
Live
Protocol Buffers → Joi
Live
Protocol Buffers → Pydantic
Live
Protocol Buffers → Python dataclass
Live
Protocol Buffers → Go struct
Live
Protocol Buffers → Rust struct
Live
Protocol Buffers → Kotlin data class
Live
Protocol Buffers → Swift struct
Live
Protocol Buffers → Dart class
Live
Protocol Buffers → Java POJO
Live
Protocol Buffers → C# record
Live
Protocol Buffers → PHP class
Live
Protocol Buffers → Ruby class
Live
Sample Protocol Buffers
Here's the default sample used across the converter pages. Each tool page has additional real-world samples (User profile, e-commerce order, etc.) you can switch to.
syntax = "proto3";
message User {
int32 id = 1;
string name = 2;
string email = 3;
bool is_admin = 4;
}