Text to hex

The UTF-8 bytes, two hex digits each.

Result
The result appears here as you type.

Why you would use this

What the text actually is on disk or on the wire. Watch a plain letter take one byte and an emoji take four — the reason "string length" is such a slippery idea.

More encode & decode