<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anotak Robag</title>
    <description>The latest articles on DEV Community by Anotak Robag (@anotak-robag).</description>
    <link>https://dev.to/anotak-robag</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4270953%2F6d3ca0a0-53e9-4d74-94e7-3a612d5e9cac.png</url>
      <title>DEV Community: Anotak Robag</title>
      <link>https://dev.to/anotak-robag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anotak-robag"/>
    <language>en</language>
    <item>
      <title>Stop Switching Between Your IDE and Protobuf Tools: Inspect Messages Directly in VS Code</title>
      <dc:creator>Anotak Robag</dc:creator>
      <pubDate>Sat, 28 Nov 2026 15:35:44 +0000</pubDate>
      <link>https://dev.to/anotak-robag/stop-switching-between-your-ide-and-protobuf-tools-inspect-messages-directly-in-vs-code-1ca9</link>
      <guid>https://dev.to/anotak-robag/stop-switching-between-your-ide-and-protobuf-tools-inspect-messages-directly-in-vs-code-1ca9</guid>
      <description>&lt;p&gt;If you've ever worked with Protocol Buffers, you've probably needed to inspect a binary payload at some point.&lt;/p&gt;

&lt;p&gt;Maybe you're debugging a gRPC request, investigating a message from Kafka, or trying to understand what data is actually inside a serialized Protobuf message.&lt;/p&gt;

&lt;p&gt;The usual workflow often involves switching between your IDE, command-line tools, custom scripts, or online decoders.&lt;/p&gt;

&lt;p&gt;I wanted something simpler.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Protobuf Inspector&lt;/strong&gt;, a free and open-source VS Code extension that lets you decode and encode Protobuf messages directly inside your editor.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Protobuf Inspector?
&lt;/h2&gt;

&lt;p&gt;Protobuf Inspector makes it possible to work with serialized Protobuf messages without leaving VS Code or installing additional command-line tools.&lt;/p&gt;

&lt;p&gt;It uses your existing &lt;code&gt;.proto&lt;/code&gt; schema files to understand the message structure and provides a simple interface for encoding and decoding data.&lt;/p&gt;

&lt;p&gt;VS Code Marketplace: &lt;a href="https://marketplace.visualstudio.com/items?itemName=anotakrobag.protobuf-inspector" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=anotakrobag.protobuf-inspector&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9rhpq8buombdhsjsz8ro.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9rhpq8buombdhsjsz8ro.gif" alt=" " width="800" height="644"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Decode Protobuf binary into JSON
&lt;/h2&gt;

&lt;p&gt;Have a Base64 or Hex-encoded Protobuf payload?&lt;/p&gt;

&lt;p&gt;Open your &lt;code&gt;.proto&lt;/code&gt; file, find the message definition, and click the &lt;strong&gt;Inspect&lt;/strong&gt; CodeLens action above it.&lt;/p&gt;

&lt;p&gt;In the Decode tab:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Paste your Base64 or Hex payload.&lt;/li&gt;
&lt;li&gt;Select the appropriate input format.&lt;/li&gt;
&lt;li&gt;Click Decode.&lt;/li&gt;
&lt;li&gt;Inspect the resulting JSON.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can see the decoded field names and values using the actual message schema.&lt;/p&gt;

&lt;p&gt;This is especially useful when debugging serialized messages or investigating data exchanged between services.&lt;/p&gt;

&lt;h2&gt;
  
  
  Encode JSON into Protobuf binary
&lt;/h2&gt;

&lt;p&gt;The reverse workflow is supported too.&lt;/p&gt;

&lt;p&gt;Switch to the Encode tab, provide your JSON data, and click Encode.&lt;/p&gt;

&lt;p&gt;The extension serializes the JSON using the selected Protobuf message definition and gives you the resulting binary payload in Base64 or Hex format.&lt;/p&gt;

&lt;p&gt;You can then use that payload for testing, debugging, or other development workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Generate JSON templates automatically
&lt;/h2&gt;

&lt;p&gt;Not sure which fields a message contains?&lt;/p&gt;

&lt;p&gt;Instead of manually creating a JSON structure, use the &lt;strong&gt;Generate Template&lt;/strong&gt; button.&lt;/p&gt;

&lt;p&gt;Protobuf Inspector generates a JSON skeleton based on your message definition. This makes it easier to get started with a message, especially when working with larger schemas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Work directly from your .proto files
&lt;/h2&gt;

&lt;p&gt;One of the main goals was to keep the workflow as simple as possible.&lt;/p&gt;

&lt;p&gt;Protobuf Inspector integrates directly into VS Code using CodeLens.&lt;/p&gt;

&lt;p&gt;Open a &lt;code&gt;.proto&lt;/code&gt; file and you'll find an &lt;strong&gt;Inspect [MessageName]&lt;/strong&gt; action above each message definition.&lt;/p&gt;

&lt;p&gt;Click it and the corresponding encode/decode panel opens.&lt;/p&gt;

&lt;p&gt;You can also open the panel through the VS Code Command Palette.&lt;/p&gt;

&lt;h2&gt;
  
  
  Completely free and open source
&lt;/h2&gt;

&lt;p&gt;Protobuf Inspector is free to use and open source.&lt;/p&gt;

&lt;p&gt;There are no external CLI tools or dependencies to install. Everything runs directly inside VS Code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VS Code Marketplace:&lt;/strong&gt; &lt;a href="https://marketplace.visualstudio.com/items?itemName=anotakrobag.protobuf-inspector" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=anotakrobag.protobuf-inspector&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd love to hear your feedback!
&lt;/h2&gt;

&lt;p&gt;I built this extension to make working with Protobuf messages a little easier, especially when debugging and inspecting serialized data.&lt;/p&gt;

&lt;p&gt;If you work with Protobuf, gRPC, or &lt;code&gt;.proto&lt;/code&gt; files, I'd be interested to hear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How do you currently inspect Protobuf binary payloads?&lt;/li&gt;
&lt;li&gt;Which tools do you use for encoding and decoding?&lt;/li&gt;
&lt;li&gt;What features would make this extension more useful for your workflow?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Suggestions, feedback, bug reports, and contributions are all welcome!&lt;/p&gt;

&lt;p&gt;Thanks for checking it out! 🚀&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>grpc</category>
    </item>
  </channel>
</rss>
