Hex to Text Converter

Hex to text converter — decode hexadecimal bytes into a readable string, free online.

About

About the Hex to Text Converter

Paste hexadecimal bytes from a log, a packet capture, a hex dump or a CTF challenge and read them as plain text. Spaced bytes, one long unspaced string, and 0x or \x prefixes all work, and the bytes are decoded as UTF-8 so non-English characters and emoji come out correctly.

Hex shows up wherever software displays raw bytes: network captures, cookie values, database blobs, crash dumps and escape sequences like \x48\x69 in source code. A quick tell that a hex string is text is that printable ASCII sits between 20 and 7e, so text-heavy hex is full of 4x, 5x, 6x and 7x pairs. Bytes are read as UTF-8; older Latin-1 data stores é as the single byte e9, which isn't valid UTF-8 on its own, so the converter reports an error rather than printing the wrong character — in UTF-8 the same é is c3 a9.

Choose what to view about this tool

Guide

Using the Hex to Text Converter

  1. 1

    Step 1

    Paste your hex into the Hex bytes box — Hexadecimal is already selected as the byte format.

  2. 2

    Step 2

    Spaced (48 65 6c), unspaced (48656c) and prefixed (0x48 0x65 or \x48\x65) hex all work, in upper or lower case.

  3. 3

    Step 3

    Click "Convert to text" to decode it, entirely in your browser.

  4. 4

    Step 4

    Copy the decoded text, or edit it and click "Text to hex" to re-encode.

  • Decodes hexadecimal bytes into readable text in one click
  • Accepts spaced hex (48 65 6c), unspaced hex (48656c) or a mix of both
  • Strips 0x and \x prefixes, so hex copied from code works as-is
  • Accepts upper- and lowercase hex digits
  • Reads bytes as UTF-8, so multi-byte characters like € and emoji decode correctly
  • Reports invalid hex or broken UTF-8 instead of guessing
  • Runs entirely in your browser — free, private and unlimited

Developers

Developers use it to read the text inside a hex dump, log line or protocol trace without writing a script.

CTF players

Capture-the-flag players use it to decode hex-encoded flags and clues in a single step.

Security analysts

Security analysts use it to check what a hex-encoded payload or obfuscated string really says.

Blockchain users

Crypto users use it to read text hidden in hex-encoded transaction input data and memos.

More text and byte conversions

Examples

Hex to Text Converter examples

3 worked examples

01

Unspaced hex string

776f726c64 is split into 77 6f 72 6c 64 and decodes to "world".

02

Escaped hex from code

\x48\x69\x21 decodes to "Hi!" — the \x prefixes are removed and the bytes 48, 69 and 21 are read as H, i and !.

03

Multi-byte characters

e2 82 ac decodes to the euro sign €, and f0 9f 98 80 decodes to the 😀 emoji.

FAQ

Frequently asked questions

Quick answers to common questions about the Hex to Text Converter.

How do I convert hex to text?

Paste the hex into the box above and click "Convert to text". Every two hex digits are read as one byte, and the bytes are decoded as UTF-8 text in your browser.

Does the hex need spaces between bytes?

No. 48656c6c6f decodes to "Hello" just like 48 65 6c 6c 6f does — unspaced hex is split into two-digit bytes, as long as it has an even number of digits. Spaces, commas, semicolons and new lines also work as separators.

Can I paste hex with 0x or \x prefixes?

Yes. 0x48 0x69 and \x48\x69 both decode to "Hi" — the prefixes are stripped before decoding.

Is hex upper or lower case?

Either. 4F4B and 4f4b both decode to "OK", because hexadecimal digits aren't case-sensitive.

Why do I get an error?

Usually one of three things: a character that isn't 0–9 or a–f, an odd number of digits in an unspaced run, or bytes that aren't valid UTF-8 (for example a lone e9 from older Latin-1 text). Check the input for stray characters or a missing digit.

Can it decode emoji and non-English text?

Yes. f0 9f 98 80 decodes to 😀 and e2 82 ac decodes to €, since multi-byte UTF-8 sequences are joined back into single characters.

Is hex to text the same as hex to decimal?

No. Hex to text treats each byte as a character code and shows the letters. To get the numeric value of a hex number — ff is 255 — use the hex to decimal converter.

Can I convert text back to hex?

Yes. Type in the Text box and click "Text to hex", or use the dedicated text to hex page.

Is it safe to paste sensitive hex data here?

Yes. Decoding happens entirely on your device and nothing is sent to a server. The tool is free, with no sign-up and no usage limit.

Still have a question? Contact us

Report a problem

Hex to Text Converter

What went wrong?
    or paste a screenshot