ASCII Converter & Table

Convert text to ASCII codes (or back) and browse the complete printable ASCII table with decimal, hexadecimal and character values.

ASCII Converter

Edit either box. Codes may be separated by spaces or commas.

🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.

How it works

ASCII assigns a number to every basic character: capital A is 65, lower-case a is 97, the digit 0 is 48, and a space is 32. Converting between text and these codes is handy for debugging, teaching, escaping tricky characters, or working with protocols that transmit numbers instead of letters.

Type in the Text box and the character codes appear below; type codes in the ASCII codes box and the text reappears above. The two boxes are linked so you always see both sides. Codes can be separated by spaces or commas, which means you can paste output from many other tools directly. Use the Decimal / Hex toggle to switch the code format — hex is common in low-level and web contexts.

Decoding is validated: each token must be a legal decimal or hex number within range, so a typo shows an error rather than a broken result. Characters beyond classic 7-bit ASCII use their Unicode code point, so the tool still behaves sensibly for accented and extended characters even though its focus is standard ASCII.

Examples

Text Hi → decimal codes 72 105.
Codes 72 101 108 108 111 → text Hello.
Switch to Hex: Hi48 69.
Codes 65, 66, 67 (comma-separated) → text ABC.

Full printable ASCII table (32–126)

DecHexChar
320x20space
330x21!
340x22"
350x23#
360x24$
370x25%
380x26&
390x27'
400x28(
410x29)
420x2A*
430x2B+
440x2C,
450x2D-
460x2E.
470x2F/
480x300
490x311
500x322
510x333
520x344
530x355
540x366
550x377
560x388
570x399
580x3A:
590x3B;
600x3C<
610x3D=
620x3E>
630x3F?
640x40@
650x41A
660x42B
670x43C
680x44D
690x45E
700x46F
710x47G
720x48H
730x49I
740x4AJ
750x4BK
760x4CL
770x4DM
780x4EN
790x4FO
800x50P
810x51Q
820x52R
830x53S
840x54T
850x55U
860x56V
870x57W
880x58X
890x59Y
900x5AZ
910x5B[
920x5C\
930x5D]
940x5E^
950x5F_
960x60`
970x61a
980x62b
990x63c
1000x64d
1010x65e
1020x66f
1030x67g
1040x68h
1050x69i
1060x6Aj
1070x6Bk
1080x6Cl
1090x6Dm
1100x6En
1110x6Fo
1120x70p
1130x71q
1140x72r
1150x73s
1160x74t
1170x75u
1180x76v
1190x77w
1200x78x
1210x79y
1220x7Az
1230x7B{
1240x7C|
1250x7D}
1260x7E~

The 95 printable ASCII characters cover the space, digits, uppercase and lowercase letters, and common punctuation. Bookmark this table for quick reference when working with character codes, escape sequences, or low-level text processing.

Frequently asked questions

Decimal or hex — which should I use?
Decimal codes (like 65) are easiest to read; hex codes (like 41) are common in programming and web work. Use the toggle to switch; the text re-encodes instantly.
How do I separate multiple codes?
Use spaces or commas between codes. Both are accepted when decoding, so pasted lists usually work as-is.
What about characters beyond standard ASCII?
Extended and Unicode characters use their code point value. The tool handles them, though its primary focus is the standard ASCII range.
What happens if a code is invalid?
Decoding shows a clear error naming the offending token instead of producing garbled text, so mistakes are easy to spot.
Is my text sent anywhere?
No. Encoding and decoding happen entirely in your browser, so your text and codes never leave your device.
What is ASCII?
ASCII (American Standard Code for Information Interchange) maps characters to numbers 0–127. Letters, digits, punctuation and control characters each have a code — for example 'A' is 65 and 'a' is 97. It's the foundation most text encoding is built on.
What is the ASCII code for A, a, and 0?
Uppercase 'A' is 65, lowercase 'a' is 97, and the digit '0' is 48. Uppercase letters run 65–90, lowercase 97–122, and digits 48–57. The full table is below.
What's the difference between printable and control characters?
Codes 32–126 are printable (space, letters, digits, punctuation). Codes 0–31 and 127 are control characters — like tab (9), line feed (10) and carriage return (13) — that instruct devices rather than display a glyph.
How do I convert ASCII codes back to text?
Paste the numbers (space-separated) and switch to decode mode; each number is turned back into its character. This tool handles both directions.
Is ASCII the same as Unicode?
ASCII is a small 128-character subset. Unicode extends it to cover every writing system and emoji, but the first 128 Unicode code points are identical to ASCII, so ASCII text is always valid Unicode.