Skip to content

フォーマッター&コード

Protobuf プレイグラウンド

Parse, browse and encode protobuf messages.

Runs in your browser
Encoded (hex)
Decoded
(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.

すべて表示 フォーマッター&コード