ASCII Converter

Convert ASCII

Results

Visible ASCII text
Binary
Hexadecimal
Decimal

You paste a hex dump from a serial monitor—48656C6C6F0A—and stare at it wondering whether that trailing byte is a newline or a typo. Or a lab handout lists decimal codes 72, 101, 108, 108, 111 and expects readable text back. Flipping between hex nibbles, eight-bit binary groups, and character charts on scratch paper is exactly the kind of busywork that eats an afternoon when you just need to confirm what a firmware string actually says.

Think of each ASCII character as a numbered locker: decimal tells you the locker number, hex writes that number in base-16 shorthand, and binary shows the raw on/off switches inside one byte. This converter opens every locker at once—paste in whichever format your log or spec uses and read text, hex, binary, and decimal side by side without retyping.

How to Use This ASCII Converter

  • Select input type. Choose Text (ASCII) when you have readable characters; Hexadecimal, Binary, or Decimal when your source already lists numeric codes.
  • Enter data in the Input field. Hex accepts spaced pairs (48 65 6C 6C 6F) or a continuous string (48656C6C6F). Binary accepts eight-bit groups (01001000) or a continuous bit stream. Decimal accepts space- or comma-separated integers from 0 to 255.
  • Set the separator for multi-byte outputs—empty space (default), comma and space, or a custom delimiter such as a semicolon when your target system expects it.
  • Read all four outputs—visible ASCII text, binary, hexadecimal, and decimal—updated as you type. Non-printable control bytes appear as escape-style markers (for example \n for line feed) so you can spot protocol framing without guessing.

To get started on a typical decode job, pick Hexadecimal, paste 48656C6C6F, and confirm the visible text reads Hello with matching binary and decimal columns. For transport-safe encoding of whole files or Unicode strings, use Base64 Encode / Decode. For bitwise operations on binary strings, open the Binary Calculator.

ASCII Converter Formulas and Practical Applications

ASCII maps each character to one byte value B from 0 to 255. Standard ASCII uses 0–127 (32 control codes plus 96 printable characters). Extended ASCII fills 128–255 with accented letters and symbols common in Windows-1252 and Latin-1—handy when an old CSV or serial device still speaks single-byte encoding.

When you already have a hexadecimal byte with digits h1h0, the decimal code is:

D = 16 × h1 + h0

Example: 48 hex means 4 × 16 + 8 = 72, which is capital H. For binary, each of the eight bit positions carries a power of two:

D = b7·27 + b6·26 + … + b0·20

So 01001000 is 64 + 8 = 72 again. Encoding runs the opposite direction: character H → decimal 72 → hex 48 → binary 01001000. In my experience, the mistake that trips people up is treating hex as one big integer instead of splitting into byte pairs— 48656C6C6F is five bytes, not one giant number.

Worked example: hex dump to readable text

Input hex 48 65 6C 6C 6F 0A splits into six bytes: 72, 101, 108, 108, 111, 10. The first five render as Hello; byte 10 is line feed, shown here as \n. That pattern shows up constantly in UART logs where each line ends with LF or CR/LF.

Worked example: decimal list from an API spec

A protocol document lists 79 75 as the payload bytes. Enter Decimal mode, paste those values, and the visible text column shows OK—decimal 79 is O, 75 is K. No manual chart lookup required.

Where this shows up in real work

  • Embedded and IoT debugging—translate hex serial traces into strings before comparing against expected AT commands.
  • Security and forensics homework—convert binary or hex ciphertext blocks to printable previews (knowing ASCII is not encryption).
  • Legacy file repair—interpret extended ASCII bytes in old Windows logs where accented characters sit above code 127.
  • Networking labs—read decimal error-code tables from RFC excerpts alongside their hex wire representation.
  • CS coursework—verify hand calculations for binary-to-decimal conversion before submitting encoding exercises.

Unicode and UTF-8 build on the same first 128 code points—English letters in UTF-8 still occupy one byte identical to ASCII. Characters outside the single-byte range (emoji, most CJK text) need multi-byte UTF-8 sequences; this tool stops at 255 by design so byte-level protocol work stays unambiguous.

Standard Units and Conversion Tables

The calculator accepts four input “units” of representation. Each row below is the same byte value B expressed differently—the tool converts between them automatically.

Input format reference

FormatValid rangeExample for letter HNotes
Text (ASCII)Characters with code 0–255HDirect typing; rejects code points above 255
Hexadecimal00–FF per byte48Spaced pairs or continuous even-length strings
Binary8 bits per byte01001000Groups of eight or continuous multiples of eight
Decimal0–255 per value72Space-, comma-, or semicolon-separated list

Common character codes

CharacterDecimalHexBinary
Space322000100000
0 (digit zero)483000110000
A (uppercase)654101000001
a (lowercase)976101100001
Line feed (LF)100A00001010
Carriage return (CR)130D00001101
Tab90900001001

Control characters (0–31)

The first 32 codes are non-printing control characters—think of them as remote buttons for printers and terminals rather than letters on screen. They appear constantly in protocols even though you never see them rendered.

DECHEXCodeTypical use
000NULString terminator in C-style buffers
707BELBell / alert on old teletypes
808BSBackspace
909HTHorizontal tab
100ALFUnix/Linux line ending
130DCRClassic Mac / CR-LF pairs on Windows
271BESCStarts ANSI terminal escape sequences

Printable ASCII ranges

Printable characters occupy decimal 32 through 126: space, punctuation, digits 0–9 (codes 48–57), uppercase A–Z (65–90), and lowercase a–z (97–122). Extended codes 128–255 add currency symbols, accented vowels, and box-drawing characters depending on the legacy code page. Moving onto separator choice: pick comma-space when pasting into spreadsheet columns, or a custom pipe when matching a vendor log format.

Frequently Asked Questions

How do I convert ASCII?

Select the format that matches your source data, paste or type it, and read all four output columns. Each value must represent one byte from 0 to 255. For hex input, split into two-digit bytes such as 48 65 6C 6C 6F or paste 48656C6C6F without spaces—the parser handles both.

How do I convert hex to an ASCII string?

Break the hex string into byte pairs, convert each pair to decimal if you are doing it by hand, then look up each decimal in an ASCII chart. With this tool, choose Hexadecimal as the input type and the visible text column shows the string immediately— including escape markers for control bytes you cannot print.

How many ASCII characters are there?

Original ASCII defines 128 codes (0–127): 32 control characters and 96 printable characters. Extended ASCII doubles the table to 256 codes by adding 128–255, which covers most Western European symbols in legacy single-byte encodings.

What is the ASCII value of the letter a?

Lowercase a is decimal 97, hexadecimal 61, and binary 01100001. Uppercase A is decimal 65, hex 41, binary 01000001. The gap of 32 between upper and lower case in decimal is a quick sanity check when reading hex dumps of mixed-case strings.

Does this tool support Unicode or emoji?

No—this converter handles single-byte codes only (0–255). Emoji and most non-Latin scripts use multi-byte UTF-8 or UTF-16 sequences. For URL-safe percent encoding of Unicode text, use URL Encode / Decode instead.

Is my input sent to a server?

No. Conversion runs entirely in your browser. Nothing is uploaded, stored, or logged by RapidRatio—safe for proprietary log snippets or assignment data you would rather keep local.

Need subnet math after decoding a host string? Try the IP Subnet Calculator. Browse all other calculators on RapidRatio.

Disclaimer. RapidRatio is informational only. Confirm whether your system expects ASCII, UTF-8, UTF-16, or EBCDIC before using output in production pipelines.