Free 100% In-Browser Tool

Hex to ASCII Converter: Convert Hex Bytes to Text Online

Convert hexadecimal byte sequences into human-readable ASCII text, and encode plain text into hexadecimal bytes.

Quick Answer:Paste space-separated or continuous hex bytes (e.g. '48 65 6c 6c 6f') to decode them into readable ASCII text ('Hello'). You can also type text to encode to hex.
Initializing tool...

Privacy First: 100% Client-Side Processing

Processed in your browser. Files are never uploaded.

How to Use the Hex to ASCII Converter: Hexadecimal Bytes to Text

  1. 1Paste your hexadecimal bytes into the left textarea (e.g. 48 65 6C 6C 6F).
  2. 2The tool parses 2-digit hex pairs and decodes them into text characters instantly.
  3. 3Alternatively, type plain text into the right box to encode it into hex bytes.
  4. 4Click 'Copy' to copy the decoded text or encoded hex bytes to your clipboard.

Formula & How It Works

Hexadecimal Byte to ASCII Decoding

Char = String.fromCharCode(parseInt(Hex_Byte, 16))

Splits hex string into 2-character byte pairs, converts base-16 to decimal, and converts code points to UTF-8 characters. Source: ANSI INCITS 4-1986.

Worked Examples

Decoding 'Hello World' in Hex

Input: 48 65 6c 6c 6f 20 57 6f 72 6c 64

Explanation: 0x48 = 'H', 0x65 = 'e', 0x6C = 'l', 0x6C = 'l', 0x6F = 'o', 0x20 = ' ', etc.

Result: Hello World

Encoding Simple Greeting

Input: Toolzy

Explanation: 'T' -> 0x54, 'o' -> 0x6F, 'o' -> 0x6F, 'l' -> 0x6C, 'z' -> 0x7A, 'y' -> 0x79.

Result: 54 6F 6F 6C 7A 79

Decoding Hex Newlines and Tabs

Input: 41 0A 42

Explanation: 0x41 = 'A', 0x0A = Linefeed (\n), 0x42 = 'B'.

Result: A B

Frequently Asked Questions

How do you convert Hex to ASCII?▼

Take every two hexadecimal digits, convert them from base 16 to a decimal number, and look up the corresponding character in the standard ASCII table. For example, hex 41 = 65 = 'A'.

What is 48 65 6c 6c 6f in text?▼

48 65 6c 6c 6f decodes to the word 'Hello'.

Can I convert backwards from ASCII text to Hex?▼

Yes! Simply type or paste your plain text into the text box and the converter will automatically generate the corresponding hex byte string.

Why must hex strings have an even number of characters?▼

In computer architecture, 1 byte consists of 8 bits, which is represented by exactly 2 hexadecimal digits (4 bits each). An odd character count indicates a missing half-byte.

Can I enter hex with '0x' prefixes or spaces?▼

Yes, the tool automatically cleans spaces, commas, hyphens, and '0x' prefixes.

Is my text data private?▼

Yes. All conversion runs entirely in client-side JavaScript in your browser memory.

Quick Reference & Conversion Table

ASCII CharacterHexadecimal (Base 16)Decimal (Base 10)Binary (8-bit)
Space0x20320010 0000
00x30480011 0000
90x39570011 1001
A0x41650100 0001
Z0x5A900101 1010
a0x61970110 0001
z0x7A1220111 1010
Newline (\n)0x0A100000 1010

⚠️ Common Pitfalls to Avoid

  • •Entering an odd number of hex characters without leading zero padding (each ASCII character requires 2 hex digits).
  • •Trying to decode non-printable control characters that render as invisible or unprintable glyphs.
  • •Confusing Hex-to-ASCII with Hex-to-Decimal (Hex 48 as ASCII is 'H', as decimal it is 72).

💡 Practical Real-World Uses

  • •Inspecting raw binary communication streams from microcontrollers (UART, SPI, I2C).
  • •Decoding obfuscated strings in malware analysis and cybersecurity reverse engineering.
  • •Analyzing raw HTTP payload hex dumps and API webhook signatures.
Last reviewed & updated: 2026-11-07
Free & Open Access
Related Utilities

Explore complementary calculators and converters with instant client-side execution

More in Text & Dev

Explore Other Tool Categories

Browse our full collection of 50 free web utilities

View All 8 Categories