BudiBadu Logo
Toolbadu

ASCII to Hex Converter

Convert between ASCII text and hexadecimal representation with various formatting options.

ASCII Input

Format Options

Hex Output

48 65 6c 6c 6f 20 57 6f 72 6c 64 21
Characters: 12
Bytes: 12
Hex Pairs: 12
Lines: 1

Character Analysis

HPrintable
7248
ePrintable
10165
lPrintable
1086c
lPrintable
1086c
oPrintable
1116f
Space
3220
WPrintable
8757
oPrintable
1116f
rPrintable
11472
lPrintable
1086c
dPrintable
10064
!Printable
3321

Quick Examples

ASCII & Hex Guide

Understanding ASCII & Hexadecimal

ASCII (American Standard Code for Information Interchange) assigns numeric values to characters. Each character is represented by a number from 0-127, which can be displayed in hexadecimal (base-16) format using digits 0-9 and letters A-F. Hexadecimal is commonly used in programming, debugging, and data analysis because it's more compact than binary and easier to read than decimal.

Conversion Methods

  • ASCII to Hex: Each character's ASCII code is converted to its hexadecimal representation
  • Hex to ASCII: Hexadecimal pairs are converted back to their corresponding ASCII characters
  • Format Options: Supports uppercase/lowercase, separators, prefixes, and line breaks
  • Auto-detection: Automatically detects various hex input formats

Supported Hex Formats

Raw Hex: 48656c6c6f
Continuous hex digits without separators
Space Separated: 48 65 6c 6c 6f
Hex bytes separated by spaces (most common)
0x Prefix: 0x48 0x65 0x6c 0x6c 0x6f
Programming language style (C, JavaScript, etc.)
\x Notation: \x48\x65\x6c\x6c\x6f
Escape sequence format (strings, regex)
Comma/Hyphen Separated: 48,65,6c,6c,6f or 48-65-6c-6c-6f
Alternative separator formats

Request a Feature

Have an idea to improve this tool? Share your suggestions and help us make it better! (One request per day)

0/1000 characters