UTF-8 to Hex Converter

To put text into a transaction you first encode it as UTF-8 bytes and then write those bytes as hex. This tool does that encoding so you can build string arguments and memos by hand. It runs entirely in your browser with no network call.

Type UTF-8 text to see its hex and Base64 encodings. To decode hex back to text, paste it below.

Roda inteiramente no seu navegador. Sem chave de API, nenhum dado sai desta página.

Characters to bytes

UTF-8 turns each character into one or more bytes, which are then written in hex. Hello becomes 48656c6c6f. This is how string data is prepared before it is packed into calldata or attached to an off-chain payload that a contract will reference.

Building calldata by hand

When you construct a raw transaction or a signed message without an ABI encoder, you need the hex byte form of any text field. Encoding it correctly here keeps the bytes aligned with what the contract or verifier expects.

Perguntas frequentes

Are multi-byte characters supported?

Yes. Non-ASCII characters and emoji are encoded as their full multi-byte UTF-8 sequences in hex.

Does this upload my text?

No. Encoding happens locally in your browser. There is no server call and no API key.

Ferramentas relacionadas

Recarregue, pegue a chave e publique.

Autoatendimento. Pague em cripto ou cartão. Medido por créditos: primitivas pesadas custam mais, as simples são baratas.

Obter chave de API