DevTools Logo

JSON to Protobuf Converter

JSON to Protobuf Converter

Infer a proto3 schema (.proto) from a JSON sample — fields, types, and nested messages.

JSON sample

client-side
proto3
no network

Types are inferred from values: string, int32/double, bool, nested objects become nested messages, and arrays become repeated fields. Field names are snake_cased and numbered. Null or empty arrays produce a best-effort guess with a warning — review and tighten the schema before shipping.