Convert JSON objects to Protocol Buffers (protobuf) schema definitions with a simple web interface.
- Paste or upload a JSON object and generate a
.protoschema. - Supports nested objects and arrays.
- Type inference for numbers, strings, booleans, and repeated fields.
- Copy or download the generated protobuf schema.
- Built with React, TypeScript, Vite, and Tailwind CSS.
- Node.js (v18 or newer recommended)
git clone https://github.com/sudorandom/json-to-proto.git
cd json-to-proto
pnpm install # or npm install or yarn installpnpm dev # or npm run dev or yarn devOpen http://localhost:5173 in your browser.
- Paste your JSON object into the input area.
- Click "Convert" to generate the protobuf schema.
- Copy or download the
.protofile for use in your project.
src/— React components and logicpublic/— Static assetsindex.html— Main HTML filevite.config.ts— Vite configurationtailwind.config.js— Tailwind CSS configuration
Pull requests and issues are welcome! Please open an issue to discuss major changes before submitting a PR.
MIT