Formatter & Kode
Protobuf Playground
Parse, browse and encode protobuf messages.
(run decode)
Catatan editor
Understanding · Tag + wire-type + value — the format that won the binary wars.
Bab mendalam ini saat ini hanya tersedia dalam bahasa Inggris. Alat konversi di atas berfungsi dalam bahasa Anda; artikel penjelasan panjangnya belum diterjemahkan.
Pertanyaan yang sering diajukan
Quick answers.
›What is Protobuf?
Protocol Buffers are Google's serialisation format for structured data, similar to XML or JSON but smaller and faster. It requires a schema defined in a `.proto` file to encode and decode messages.
›Is my schema or data sent anywhere?
No. The compiler and encoder run entirely within your browser session using a JavaScript implementation of the Protobuf library.
›Which versions are supported?
The playground supports both `proto2` and `proto3` syntax versions. Ensure your schema includes the `syntax = "proto3";` header if using modern features.
›How do I handle binary data?
You can paste your encoded message as a Hex string or Base64. The tool will attempt to decode it against your provided proto definition.
Orang juga mencari
Fitur terkait
More in this room.
- Pengonversi JSON ke XMLKonversi JSON menjadi XML yang bersih dan terbentuk dengan baik.
- Konverter CSV ke JSONMengubah spreadsheet menjadi array JSON — seketika.
- Konverter YAML ke JSONMengubah YAML ke JSON — instan, hanya browser.
- Konverter JSON ke ExcelUbah array JSON menjadi spreadsheet Excel.
- Konverter TOML ⇄ JSONKonversi antara TOML dan JSON — dua arah.
- Konverter INI ⇄ JSONKonversi antara file konfigurasi INI ke JSON dan sebaliknya.