Get decimal, hex, binary, HTML entity, CSS escape and UTF-8 bytes for any character or string
Enter a string to see every character's codes
The definitive reference for character encoding. Look up any character's decimal, hexadecimal, binary, HTML entity, CSS escape, JavaScript string, UTF-8 byte sequence and UTF-16 representation instantly. Includes the full ASCII table, extended character sets and Unicode block reference.
Decimal, hex, binary, HTML entity, CSS escape, JS string, UTF-8 bytes, UTF-16, Unicode code point and more.
Enter any string to see a complete encoding table for every individual character.
Browse the complete ASCII table (0–127) and extended set (128–255) organised by type.
Reference guide to 12 major Unicode blocks with clickable navigation.
Export your string's character breakdown as a CSV file for offline reference.
Look up by typing a character, pasting text, or entering a decimal or hex code point.
When debugging text encoding issues, check for the UTF-8 BOM (Byte Order Mark, U+FEFF) at the start of files — it can cause "mystery characters" to appear. Also watch for the difference between a regular hyphen (-), en dash (–) and em dash (—), which look similar but have different code points.
| Dec | Hex | Abbrev | Meaning | Usage |
|---|---|---|---|---|
| 0 | 0x00 | NUL | Null | String terminator in C |
| 7 | 0x07 | BEL | Bell | Audio alert (rarely used) |
| 8 | 0x08 | BS | Backspace | Delete previous character |
| 9 | 0x09 | HT | Horizontal Tab | Indentation, TSV files |
| 10 | 0x0A | LF | Line Feed | Unix/Mac newline (\n) |
| 13 | 0x0D | CR | Carriage Return | Windows uses CR+LF (\r\n) |
| 27 | 0x1B | ESC | Escape | ANSI terminal sequences |
| 32 | 0x20 | SP | Space | Word separator |
| 127 | 0x7F | DEL | Delete | Originally punched tape erasure |