Skip to content
hateitall

ASCII Table

Look up any ASCII character or code in every number base, with names and escapes, in one searchable table.

Processed locallyIn: Text, NumberOut: Reference

Loading tool…

How to use ascii table

  1. Type a character, a decimal code, a hex code such as 0x41 or part of a name.

  2. Show all codes, only printable characters or only control codes.

  3. Turn on the extra columns for octal, binary and HTML entities.

  4. Click a row to copy its character, or the escape for a control code.

What this tool does

  • Every code from 0 to 127 with its decimal, hex, octal and 7-bit binary value.
  • Names for all 33 control codes, with their C style escapes such as \n and \t.
  • HTML numeric references for every character and named entities where they exist.
  • Search by the character itself, its code or its name.

How the result is verified

The table is generated from the character codes themselves with String.fromCharCode and number base conversion, so every row is consistent by construction.

Frequently asked questions

What is the difference between ASCII and UTF-8?

UTF-8 is a superset: the first 128 code points are the same bytes as ASCII. Characters beyond that, such as é or emoji, use two to four bytes in UTF-8.

Why do Windows text files end lines with CR LF?

Windows uses carriage return (13) then line feed (10) to end a line, a habit from typewriters and teleprinters. macOS and Linux use line feed alone.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Escape special characters so text matches literally in a regex

Text→ RegexLight on device

Searchable git commands by task, with undo recipes and risk warnings

Text→ CommandLight on device

Convert a picture to ASCII text art, block characters or coloured HTML.

PNG · JPEG · WebP +→ TextLight on device

Compare two texts line by line with changed words highlighted

Text · Code→ DiffModerate on device