String to Hex Converter
Text has to become bytes before it can go into a transaction, and those bytes are written in hex. This converter turns a plain string into its hex byte representation for use in calldata and payloads. It runs entirely in your browser.
Type UTF-8 text to see its hex and Base64 encodings. To decode hex back to text, paste it below.
すべてブラウザ内で実行されます。API キー不要、データはこのページから出ません。
Text as hex bytes
Each character is encoded to its UTF-8 bytes and then written in hexadecimal. The result is the form strings take inside calldata, event data and off-chain payloads. For example, the ticker DAI becomes its three-byte hex sequence, ready to be packed into a request.
Preparing on-chain string data
When you assemble raw calldata or a signed message without an ABI helper, you need each text field as hex bytes. Converting here gives you a byte sequence that lines up with what a contract or verifier will read.
よくある質問
Will the output be prefixed with 0x?
The tool shows the raw hex byte sequence; add a 0x prefix yourself when a field or ABI encoder requires it.
Does this send my text anywhere?
No. Conversion is entirely local to your browser with no network call and no API key.
関連ツール
チャージして、キーを取得し、リリース。
セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。
APIキーを取得