InfyCalculator
💻

Text to ASCII Converter

Convert text to ASCII codes in decimal, hexadecimal and binary, or turn a list of ASCII codes back into text — with a character-by-character table and Unicode code points.

Input
Direction
Code base
Loading calculator…

How it works

Each character → its code point: A = 65, a = 97, 0 = 48, space = 32 · hex = base 16 (A = 41) · binary = 8 bits (A = 01000001) · ASCII covers 0–127; higher values are Unicode code points

ASCII (American Standard Code for Information Interchange) assigns the numbers 0–127 to English letters, digits, punctuation and control characters. Computers store text as these numbers, usually written in decimal, hexadecimal or 8-bit binary. Characters beyond ASCII — such as ñ, á, € or emoji — have larger Unicode code points (ñ is U+00F1 = 241), which UTF-8 stores in two to four bytes.

Worked example

The text “Hi!” converts to the decimal codes 72 105 33 — H = 72, i = 105 and ! = 33. In hexadecimal that is 48 69 21 and in binary 01001000 01101001 00100001. Choosing “ASCII codes → text” and entering 72 105 33 gives back “Hi!”.

Sources: ASCII — Wikipedia · RFC 20 — ASCII format for Network Interchange

Frequently asked questions

What is the ASCII code of A and a?

Uppercase A is 65 (hex 41) and lowercase a is 97 (hex 61). Lowercase letters are always 32 more than their uppercase versions.

What is the ASCII code of ñ or accented letters?

They are not in 7-bit ASCII. Their Unicode code points are ñ = 241, Ñ = 209, á = 225, é = 233. In the old Latin-1 (ISO-8859-1) code page they use the same numbers.

What is the difference between ASCII and Unicode?

ASCII has 128 characters. Unicode extends it to over 149,000 characters; its first 128 code points are exactly ASCII, so plain English text is identical in both.

How do I convert binary to text?

Choose “ASCII codes → text”, set the base to Binary and enter 8-bit groups separated by spaces, for example 01001000 01101001.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.