Hex to Text Converter

Free online hex to text converter that decodes any hexadecimal string back to readable text. Ignores 0x prefixes, \x escapes, and any separators — just paste and the readable output appears instantly. Full UTF-8 support means emojis, accented letters and non-Latin scripts all decode correctly. No signup, runs entirely in your browser.

Input

Type or paste — output updates live
Tip: Paste hex in any format — 0x48 0x65, \x48\x65, 48:65, or plain 4865. The decoder strips everything except the hex digits and groups them into byte pairs automatically. Press Ctrl+Enter (or Cmd+Enter) to convert.

Output

Ready when you are

Your decoded text will appear here

Paste some hex in the input box or click Example to see how it works.

What does this Hex to Text Converter do?

This free online hex to text converter reads a hexadecimal string — numbers in base 16 that use the digits 0-9 and letters A-F — and turns it back into readable text. Each pair of hex digits represents one byte, and each byte maps to a character through an encoding like UTF-8. For example, the hex string 48 65 6C 6C 6F decodes to the word Hello.

The tool works in both directions. Paste hex into the input box and the decoded text appears immediately, live, as you type. Switch to the Text → Hex tab to go the other way — type any text and it gets encoded into hex using the case, separator and prefix options you choose.

The decoder is very forgiving. It strips 0x prefixes, \x escapes, HTML entities like H, and any separator characters (spaces, commas, colons, newlines). All it actually cares about are the hex digits themselves, which get grouped into byte pairs and decoded as UTF-8.

Everything runs locally in your browser. Whatever you paste never leaves your device, there is no signup, and there are no usage limits. Decode as much hex as you want, as many times as you want.

How to convert hexadecimal code to text

  1. Paste your hex. Drop in any hex string — with or without separators, with or without 0x prefixes. The decoder strips everything that isn't a hex digit.
  2. Watch the decoded text. The output appears immediately — no button press needed. Every pair of hex digits is decoded as UTF-8 bytes back into characters.
  3. Check the stats. The panel shows the number of hex digits, the number of bytes, and the length of the decoded output.
  4. Copy or download. Use the Copy Output button to grab the decoded text, or Download to save it as a plain text file.
  5. Need to reverse it? Click the Text → Hex tab, type your text, and it encodes into hex using the same settings.

Why use this Hex to Text Converter?

Live decoding

Output appears the instant you paste. No button press needed — everything runs in your browser.

Format-tolerant

Ignores 0x prefixes, \x escapes, and any separator. Paste hex in any common format and it just works.

Two-way conversion

Decode hex to text or encode text back to hex with a single click. Same tool, both directions.

Full UTF-8 support

Emojis, accented letters, Arabic, Chinese, Hindi and Cyrillic all decode correctly.

100% private

Everything runs locally. Your hex never leaves your device — no server, no logs, no tracking.

Works offline

Once the page loads, you can decode hex to text without an internet connection.

Hex character reference

Here are a few common characters and what they look like in hexadecimal. This is what the decoder looks up when it reads each byte pair.

CharacterHexDecimalBinary (8-bit)
H487201001000
e6510101100101
l6C10801101100
o6F11101101111
A416501000001
a619701100001
0304800110000
Space203200100000
!213300100001
Newline \n0A1000001010

So 48 65 6C 6C 6F decodes to "Hello", and 48 69 21 decodes to "Hi!". Hex is case-insensitive — 6c, 6C, 6c all mean the same byte.

Common hex formats you can paste

The decoder is designed to be forgiving about formatting. Here are the most common hex notations you might encounter, all of which decode correctly:

FormatExampleCommon in
Plain byte pairs48 65 6C 6C 6FHex editors, documentation, most tools
0x prefixed0x48 0x65 0x6CC, C++, Java, security tools
\x escaped\x48\x65\x6CPython, JavaScript, shell scripts, regex
HTML entitiesHeHTML source, web pages
Colon separated48:65:6C:6C:6FMAC addresses, network captures, packet dumps
Comma separated48, 65, 6CData exports, spreadsheet output
No separator48656C6C6FCompact strings, database storage

You can mix formats freely within one paste — the decoder only looks at the hex digits, so any separators and prefixes are ignored.

Common uses for hex to text conversion

Debugging encoding issues

When a file shows up with garbled characters (mojibake) or a database stores strings incorrectly, looking at the raw hex often reveals the problem. Being able to decode it back to text quickly is essential for tracking down encoding bugs.

Reading network captures and packets

Wireshark, tcpdump and similar tools show packet payloads in hex. When the payload is text, converting to readable form is the fastest way to understand what's happening on the wire.

Inspecting memory dumps and shellcode

Security researchers work with hex constantly — memory dumps, shellcode, exploit payloads, and forensic artifacts are all typically hex encoded. Converting to text is a routine operation.

Web development

URLs and HTML entities use percent-encoding or hex escapes. When debugging a broken link or inspecting HTML source, decoding hex reveals the underlying string.

Learning about encodings

Decoding hex back to text is one of the best ways to see how UTF-8, Latin-1 and other encodings actually work at the byte level.

Frequently asked questions

Hex to text conversion means reading a hexadecimal string (base-16 numbers using digits 0-9 and letters A-F), grouping the digits into pairs, and turning each pair back into a character. For example, 48 65 6C 6C 6F decodes to the word Hello.
Yes, completely free. No signup, no watermark, no hidden charges. Decode as much hex as you want for personal, educational or commercial use.
Yes. The tool decodes hex back into UTF-8, so emojis, accented letters and scripts like Arabic, Chinese or Hindi all come out correctly as long as the original bytes were valid UTF-8.
No. The tool automatically strips 0x, \x, &#x and any other non-hex characters before decoding. You can paste hex in any common format: 0x48 0x65, \x48\x65, or plain 48 65.
Any. The decoder ignores spaces, commas, colons, newlines and any other character that isn't a hex digit. Only the digits 0-9 and letters A-F (upper or lower case) are actually read.
The tool pads the string with a trailing zero so the total number of digits is even. This handles the common edge case where a trailing digit is missing without crashing.
Yes. Switch to the Text to Hex tab and paste your text. The same tool encodes it into hex using the case, separator and prefix options you choose.
Absolutely. Everything runs in your browser using JavaScript. The hex you paste never leaves your device — no server processing, no logging, no data storage.
Yes. Once the page loads, the hex to text converter works without an internet connection.
Yes. The tool is fully responsive and works on phones, tablets, laptops and desktops.