Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Protobuf CodecNew to Visual Studio Code? Get it now.
Protobuf Codec

Protobuf Codec

mujdecisy

|
30 installs
| (0) | Free
Protocol Buffers Coder Decoder for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Protocol Buffer Coder Decoder for vscode

This is a simple protocol buffer coder decoder for vscode. It can be used to encode and decode protocol buffer messages between JSON and bytes.

screenshot

Usage

ENCODING

  1. Copy the .proto content to the protocol buffer text area.
  2. Write the message type to encode in the input area below proto section.
  3. Create a new message within JSON format inside Decoded text area.
  4. Click the Encode button to encode the JSON message to bytes.
  5. See the encoded bytes in the Encoded text area.

DECODING

  1. Copy the .proto content to the protocol buffer text area.
  2. Write the message type to decode in the input area below proto section.
  3. Paste the encoded bytes in the Encoded text area.
  4. Click the Decode button to decode the bytes to JSON.
  5. See the decoded JSON message in the Decoded text area.

Example

syntax = "proto3";

message Person {
    int32 id = 1;
    string name = 2;
}

message Car {
    string plateNumber = 1;
    string brand = 2;
    string model = 3;
    string color = 4;
    Person owner = 5;
}
{
  "plateNumber": "1234",
  "brand": "Toyota",
  "model": "Corolla",
  "color": "Red",
  "owner": {
    "id": 1,
    "name": "John Doe"
  }
}

Contact the developer
👉mujdecisy.github.io👈

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft