Форматтеры и код
Protobuf Playground
Parse, browse and encode protobuf messages.
(run decode)
Примечание редактора
Understanding · Tag + wire-type + value — the format that won the binary wars.
Эта углублённая глава пока доступна только на английском языке. Инструмент конвертации выше работает на вашем языке; развёрнутая статья ещё не переведена.
Часто задаваемые вопросы
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.
Люди также ищут
Связанные инструменты
More in this room.
- Конвертер JSON в XMLКонвертируйте JSON в чистый, правильно сформированный XML.
- Конвертер CSV в JSONПревращайте таблицы в массивы JSON — мгновенно.
- Конвертер YAML в JSONКонвертируйте YAML в JSON — мгновенно, только в браузере.
- Конвертер JSON в ExcelПреобразуйте массивы JSON в таблицы Excel.
- TOML ⇄ JSON КонвертерКонвертация между TOML и JSON — в обоих направлениях.
- INI ⇄ JSON КонвертерПреобразование файлов конфигурации INI в JSON и обратно.