ASCII 126
ASCII 126 is Tilde, written ~.
Every representation
| Character | ~ |
| Name | Tilde |
| Decimal | 126 |
| Hexadecimal | 0x7E |
| Octal | 0176 |
| Binary | 01111110 |
| HTML entity | ~ |
| Escape sequence | \x7E |
| Unicode | U+007E |
| Group | Punctuation or symbol |
What it is for
Tilde. Expands to the home directory in shell, and appears in URLs for user directories.
Where the number comes from
Codes 32 to 126 hold the printable characters. The punctuation was distributed around the letters and digits so that the most common characters fell into positions that were convenient for the teleprinter keyboards of the time.
Frequently asked questions
What is ASCII 126?
Tilde, the character ~. In hexadecimal it is 0x7E, in octal 0176, and in binary 01111110.
How do I type ASCII 126?
Type ~ directly. In a string literal it can also be written \\x7E, and in HTML as ~.
Is ASCII 126 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 119 — w
- ASCII 120 — x
- ASCII 121 — y
- ASCII 122 — z
- ASCII 123 — {
- ASCII 124 — |
- ASCII 125 — }
- ASCII 127 — DEL
Full ASCII table · Text to binary converter · Number base converter