Zero Signup ToolsFree browser tools

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.

38 chars / 13 bytes

Text output

Decoded as UTF-8. Invalid bytes appear as the replacement character.

Hello, world!

Per-byte breakdown

#HexDecimalBinaryASCII
0487201001000H
16510101100101e
26c10801101100l
36c10801101100l
46f11101101111o
52c4400101100,
6203200100000
77711901110111w
86f11101101111o
97211401110010r
106c10801101100l
116410001100100d
12213300100001!

How to use

  1. Pick a direction: Hex to text or Text to hex. Use Swap and use the result to chain a round trip.
  2. 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.
  3. 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.
  4. Toggle Uppercase hex if you need A-F in the output instead of a-f.
  5. 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

All tools
All toolsConverter Tools