Encode plain text to hexadecimal byte representation. Each character's UTF-8 bytes appear as two lowercase hex digits separated by spaces—matching how many debuggers, packet analyzers, and firmware logs display raw data.
How encoding works
The tool walks the input string code point by code point. For Basic Multilingual Plane characters this matches one byte per character in UTF-8 for ASCII text. Each byte value (0–255) is formatted as a two-digit hex pair (00–ff). Spaces between pairs make long dumps easier to read and copy.
Common use cases
- Inspecting wire-format payloads alongside Base64 or binary tools
- Verifying round-trips with the companion hex-to-text decoder
- Teaching how computers store characters as numeric byte values
- Preparing hex literals for embedded systems or checksum tools
Limitations
Output shows lowercase hex with spaces, not 0x prefixes or uppercase. Multi-byte Unicode characters produce multiple byte pairs—do not assume one pair equals one user-visible glyph. This is encoding, not encryption.
Example
The string Hi encodes to 48 69 (bytes for H and i in UTF-8).