Network & Web
VarInt Encoder
Run VarInt Encode with a reviewed destination and request settings. Enter input, adjust the options, then copy or download the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
VarInt Encoder encodes an integer as a variable-length VarInt.
It returns encoded bytes. The operation runs in your browser. Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Enter one integer.
- Run the encoder.
- Review the byte output before embedding it.
Example
Input: 8
Settings: VarInt Encoder: Use the built-in operation behavior.
Result: It returns encoded bytes. The operation runs in your browser.
Limits
- VarInt Encoder: The input must be an accepted integer.
- VarInt Encoder: It encodes one integer, not a complete Protobuf message.
- VarInt Encoder: The receiving format must expect VarInt encoding.