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.

모두 보기 포매터 및 코드