Smart Deals - promotions, discount codes and sales

ASCII Table Viewer

Free online ASCII Table Viewer that runs directly in your browser.

Secure (SSL)
Client-Side Processing
100% Free
Instructions
  • 1
    Enter data
    Enter content, paste text or load a file from disk.
  • 2
    Click the button
    The tool will immediately process your data in the browser.
  • 3
    Get the result
    Copy the finished text or save the file to your device.
function runTool() {
  return "Result ready in 0.1s";
}
79 characters

table: +--------+-----------+-------+ | Name | Role | Level | +--------+-----------+-------+ | Alicia | Developer | 3 | | Bruno | Support | 2 | | Chen | Analyst | 4 | | Daria | Admin | 5 | +--------+-----------+-------+

Rate this tool:

Related tools

Other tools you may find useful

ASCII table preview - each character with DEC, HEX and BIN code

ASCII (American Standard Code for Information Interchange) defines 128 characters for the first 7 bits of a byte. The tool displays the full ASCII table with codes in four formats (decimal, hexadecimal, octal, binary) and also supports extended ASCII (Latin-1, CP1250).

ASCII chart online ASCII codes ASCII chart character ASCII code

ASCII character ranges

0-31: control characters (non-printing). 0=NUL, 7=BEL, 8=BS, 9=TAB, 10=LF (Unix newline), 13=CR (Windows newline), 27=ESC, 32=SP (space). 32-126: printable characters (letters, numbers, special characters). 33=!, 48-57=0-9, 65-90=A-Z, 97-122=a-z, 127=DEL.

Extended ASCII (128-255)

Standard ASCII 7-bit: 0-127. Extended (8-bit): 128-255 – defined by code pages: Latin-1 (ISO-8859-1): 128-255 = Western European characters. CP1252 (Windows): similar. Latin-2 (ISO-8859-2): Poland, Czech Republic, Slovakia. CP1250 (Windows PL). Unicode (UTF-8): replaces all code pages.

Character conversion

Character "A" → DEC 65, HEX 41, OCT 101, BIN 01000001. Character "a" → DEC 97, HEX 61, OCT 141, BIN 01100001. Difference between lowercase and uppercase: bit 5 (32 = 0x20). A=65=0x41, a=97=0x61. Toggle case: XOR with 0x20. Polish "ą" in CP1250: 0xB9=185, in UTF-8: 2 bytes C4 85.

Applications of the ASCII table

Debugging binary protocols. Character conversion for data formats. Escape sequences: \n=10, \t=9, \r=13 in C/PHP/Python. Forms check: checking whether the input contains only ASCII (no non-ASCII). Cryptography: Caesar cipher (ASCII code shift).

FAQ

What is Unicode and how does it relate to ASCII?

ASCII defines 128 codes (7 bit). Unicode: the encoding standard for all characters in the world - over 149,000 characters (emoji, Arabic, Chinese, math). UTF-8: ASCII compatible multi-byte Unicode encoding for 0-127. UTF-8 bytes 0-127 = identical to ASCII.

Why does Unix use LF (10) and Windows uses CRLF (13,10)?

Unix: 1 newline = LF (Line Feed, 10). Windows: 2 characters = CR+LF (Carriage Return + Line Feed, 13+10) – historical telex computers: CR returns the cursor to the beginning of the line, LF advances the paper by line. Mac (old): CR. Mac (new, OS X): LF. That's why Windows files have "^M" at the end of the line in vim.

How to check the ASCII code of a character in different languages?

Python: ord("A") = 65, chr(65) = "A". JavaScript: "A".charCodeAt(0) = 65, String.fromCharCode(65) = "A". PHP: ord("A") = 65, chr(65) = "A". C: (int)'A' = 65 (char to int casting). SQL: ASCII("A") = 65 (SQL Server, MySQL).

What are escape sequences?

\n = LF (10), \t = TAB (9), \r = CR (13), \\ = backslash (92), \" = quotation marks (34), \0 = NUL (0), \a = BEL (7), \b = BS (8). text.replace(/[^\x00-\x7F]/g, ""). PHP: iconv("UTF-8","ASCII//IGNORE",$text).Related tools: HEX to text converter, Base2-Base36 converter and bitwise calculator.

Install Webp.pl Have the tools in your own pocket!