protobuf wire decoders, tested
The same bytes fed to three tools, compared on what they actually print. Every cell below comes from a real session on 2026-11-23; quoted strings are verbatim UI text.
How it was tested
A synthetic 71-byte message whose fields 1–10 cover varints, strings, a nested message, fixed32, fixed64, repeated fields, a packed field and trailing markers, plus six variants: a 70-byte truncation, a deprecated group, int32 −1, fixed32 1.0f, a PNG header, and empty input. Each was pasted as Base64 and as hex, with no extra buttons pressed, and the raw output recorded.
Feature comparison
| Capability | DevKit | binarycon.com | toolbox365.cn |
|---|---|---|---|
| Hex input | ✓ | ✓ | ✓ |
| Base64 input | ✓ | ✗ 仅 hex,粘贴 Base64 无反应 | ✓ |
| Recursive nested messages | ✓ | ✗ field 3 只给一段 payload hex | ✓ |
| Byte span per field | ✓ 起止都有 | △ 只有一个起始 OFFSET 列 | ✗ 无逐字段偏移 |
| Select a field, highlight its bytes | ✓ 双向联动 | ✗ | ✗ |
| Optional .proto overlay | ✓ | ✗ | ✗ |
| Shareable link carrying the bytes | ✓ URL 里的 hash | ✗ 只有复制 | ✗ 只有复制 |
| Bilingual zh/en | ✓ | ✗ 仅英文 | ✗ 仅中文 |
| Empty input clears the result | ✓ | ✗ 保留上一次结果 | ✗ 保留上一次结果 |
| Truncation warning | ✓ | ✓ | ✓ |
| Deprecated group parsing | ✓ | ✓ 标 MATCHED | ✗ 直接报错 |
| Expand packed repeated to integers | ✗ | ✗ | ✗ |
Behaviour differences observed
- On the truncated 70-byte variant all three catch it, worded differently: binarycon says
Truncated varint for field 10 at offset 70., toolbox365 says解码失败: 偏移 70 处 varint 未结束(payload 截断), and DevKit marks the offending field itself as truncated varint value. - The 69-byte variant, missing the final two bytes, is not a truncation at all — it happens to be a complete valid prefix, and all three decode it cleanly. None of them warns that data might be missing.
- Only toolbox365 rejects the deprecated group, with
偏移 1 处遇到已废弃的 group wire type(sgroup); binarycon marksGroup Check = MATCHED. - For the varint that means −1, toolbox365 lists uint, int and sint side by side; binarycon shows uint64 and zigzag only, and DevKit matches binarycon.
- On empty input both tools leave the previous result on screen; toolbox365 adds
输入错误: 请先粘贴 payload. Old output sitting next to a new prompt is easy to misread in a screenshot. DevKit clears the result when the input is cleared. - None of the three expands a packed repeated field into integers; all show a length-delimited byte run. That ambiguity is inherent to schema-free decoding, not a flaw in one tool.
Where DevKit differs
The difference is just three things, each verifiable in three steps:
- Every field carries an exact start/end span, and the tree and hex panes are linked both ways: hover a tree row and its bytes light up; click a byte and the owning field is located. Try it
- A .proto is an optional overlay, not a prerequisite: decode without one, or add one to layer field names, types and enums on top — fields absent from the schema get labelled as such.
- The payload, schema and type name all live in the URL hash, so copying the address bar hands a colleague the exact bytes and schema. Both competitors offer only a copy button.
What DevKit does not do
- Packed repeated fields are not expanded into integers — same as both competitors.
- No semantic interpretation of protobuf Editions or extensions; only the wire types are decoded.
- No schema-versus-schema breaking-change diff — that is a different class of tool.
Which one to use
For a quick look at field values, all three work, and binarycon's OFFSET column and toolbox365's three numeric interpretations each have a use. If you need to know which bytes belong to which field, or want to hand someone a schema-aware reading of a payload, the linked highlight and share link here are the shorter path.
This page records behaviour on 2026-11-23 only. Tools change; if you see a result that contradicts the table, email us and we will re-test and correct it.