Converter Tools
Hex to Text Converter
Convert hex to text and text to hex in your browser. UTF-8 safe, multiple formats (space, 0x array, hex dump), and a per-byte breakdown.
Hex to text converter
Direction
Paste hex digits in any common format. Spaces, commas, colons, semicolons, 0x prefixes, and \x escapes are all accepted.
Text output
Decoded as UTF-8. Invalid bytes appear as the replacement character.
Hello, world!
Per-byte breakdown
| # | Hex | Decimal | Binary | ASCII |
|---|---|---|---|---|
| 0 | 48 | 72 | 01001000 | H |
| 1 | 65 | 101 | 01100101 | e |
| 2 | 6c | 108 | 01101100 | l |
| 3 | 6c | 108 | 01101100 | l |
| 4 | 6f | 111 | 01101111 | o |
| 5 | 2c | 44 | 00101100 | , |
| 6 | 20 | 32 | 00100000 | |
| 7 | 77 | 119 | 01110111 | w |
| 8 | 6f | 111 | 01101111 | o |
| 9 | 72 | 114 | 01110010 | r |
| 10 | 6c | 108 | 01101100 | l |
| 11 | 64 | 100 | 01100100 | d |
| 12 | 21 | 33 | 00100001 | ! |
How to use
- Pick a direction: Hex to text or Text to hex. Use Swap and use the result to chain a round trip.
- For Hex to text, paste your hex digits. Spaces, commas, colons, semicolons, newlines, 0x prefixes, and \x escapes are all accepted by default; switch on Strict mode if you want to reject unexpected characters instead of ignoring them.
- For Text to hex, type or paste any text (including emoji) and pick an output format on the right: Space-separated, Continuous, Colon-separated, Comma-separated, 0x array, \x escapes, or Hex dump.
- Toggle Uppercase hex if you need A-F in the output instead of a-f.
- Read the live result and the per-character or per-byte breakdown table, then click Copy hex or Copy text to grab the converted output.
About this tool
Hex to Text Converter turns hexadecimal byte sequences into readable text and converts text back into hex, with full Unicode support. Encoding runs your input through TextEncoder so each character is rendered as the exact UTF-8 bytes a computer would store: ASCII letters fit in a single byte (one hex pair), while emoji and non-Latin characters span 2 to 4 bytes (2 to 4 hex pairs). Output is available in seven formats, ready to paste anywhere you need it: continuous (48656c6c6f), space-separated (48 65 6c 6c 6f), colon-separated for MAC-style strings (48:65:6c:6c:6f), comma-separated for spreadsheets, a 0x array for C, Go, Rust, and JavaScript source code (0x48, 0x65, 0x6c), backslash-x escapes for shell and Python strings (\x48\x65\x6c), and a classic hex dump with 8-digit offsets and an ASCII gutter on the right. Decoding is forgiving by design: paste hex pairs separated by spaces, commas, colons, semicolons, or newlines, paste an array literal with 0x prefixes, paste a string with \x escapes, or paste a continuous run of digits, and the tool strips noise, validates each pair as a 0 to 255 byte, and reassembles them as UTF-8. A strict mode rejects unexpected characters instead of ignoring them, useful when you want to verify that an input is well-formed. Uppercase or lowercase output is one click away. A per-character breakdown table on the encode side shows code points, byte counts, hex, decimal, and binary side by side, and a per-byte breakdown on the decode side shows the index, hex, decimal, binary, and printable ASCII for each byte, so you can spot a single off-by-one byte without scrolling. Useful for debugging serial and network traffic, inspecting binary files, decoding hex strings from log files or stack traces, converting between formats expected by APIs, embedded systems, and protocols, prepping byte arrays for source code, and any time you have raw bytes in hex but need to read them as text or vice versa. Everything runs locally on your device, so the strings, log lines, captures, and snippets you paste here never leave the browser tab.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Binary Translator
Bidirectional text and binary translation with UTF-8 byte breakdown.
Open tool
DeveloperBase64 Encoder Decoder
Encode and decode Base64 with full Unicode.
Open tool
DeveloperASCII Table
Searchable ASCII reference plus a two-way text-to-code converter.
Open tool
TextUnicode Character Inspector
Per-character breakdown with code points, UTF-8/UTF-16 bytes, and hidden character detection.
Open tool
ConverterNumber Base Converter
Binary, octal, decimal, hex, and custom-base conversion with two's complement.
Open tool
DeveloperURL Encoder Decoder
Encode and decode percent-encoded URLs.
Open tool