Formatadores e Código
Protobuf Playground
Parse, browse and encode protobuf messages.
(run decode)
Nota do editor
Understanding · Tag + wire-type + value — the format that won the binary wars.
Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.
Perguntas frequentes
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.
As pessoas também pesquisam por
Ferramentas relacionadas
More in this room.
- Conversor de JSON para XMLConverta JSON para XML limpo e bem formatado.
- Conversor de CSV para JSONTransforme folhas de cálculo em arrays JSON — instantaneamente.
- Conversor de YAML para JSONConverta YAML para JSON — instantâneo, apenas no navegador.
- Conversor de JSON para ExcelConverta arrays JSON em folhas de cálculo Excel.
- Conversor TOML ⇄ JSONConverta entre TOML e JSON — ambas as direções.
- Conversor INI ⇄ JSONConverta ficheiros de configuração INI para JSON e vice-versa.