Netstring encode
ClientLength-prefixed framing used in JSON adjacent protocols.
Wrap UTF-8 payload in D. J. Bernstein netstring format.
About Netstring encode
Wrap UTF-8 payload in D. J. Bernstein netstring format. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.
How to use this page
Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.
5:hello,
Common use cases
- Netstring encode for quick local checks without uploading data.
- Copy results into tickets, docs, or classroom notes.
Common mistakes to avoid
Unexpected input shape
See the intro and how-to notes for accepted formats.
FAQ
Is processing local?
Yes—this runs entirely in your browser.
Agent prefill?
Use q or qb for the main text field when supported.
More tools
Related utilities you can open in another tab—mostly client-side.
LEB128 (ULEB + SLEB)
ClientEncode/decode unsigned and signed LEB128 (WebAssembly, DWARF, varint-style) from decimal or hex; BigInt in the browser.
Bencode (BitTorrent) encode & decode
ClientJSON ↔ BitTorrent bencode—strings, integers, lists, dicts; wire bytes as hex; bigint-friendly JSON; client-side.
JSON formatter
ClientJSON format online: pretty-print, minify, validate, escape, download .json.
Encoding tools
ClientHub index: Base64 & URL, Base64url, Base32, Crockford, LEB128, ASCII85, Z85, Base58, base-36, bencode, Morse, quoted-printable, URI, Punycode/IDN, Unicode escapes, data URLs, MIME, hex, HTML entities, JWT, JSON helpers, crypto.