ASCII 126 — ~
The printable character "~" at ASCII code 126.
All Representations
1260x7E0o17601111110~Character Details
| Character | ~ |
| Name | ~ |
| Decimal | 126 |
| Hexadecimal | 0x7E |
| Octal | 0o176 |
| Binary | 01111110 |
| HTML Entity | ~ |
| Category | Symbol |
| Printable | Yes |
About ASCII 126 (~)
The tilde has significant roles in computing beyond its use as a diacritical mark in Spanish and Portuguese orthography. In Unix shells, '~' expands to the current user's home directory path ('~/Documents' becomes '/home/user/Documents'). In C++ class definitions, '~' prefixes destructor method names (~ClassName). In mathematics and plain text, '~' often approximates the 'approximately equal to' symbol (≈). In URLs, '~' historically appeared in personal web page paths ('~username'). In bitwise operations across C-family languages, '~' is the unary NOT operator that inverts all bits.
Symbol characters in ASCII include mathematical operators, logical notation, and special-purpose marks that serve critical roles across programming, mathematics, and digital communication. Symbols are heavily context-dependent — the same character may act as an arithmetic operator in one language, a regex metacharacter in another, and a shell configuration flag in a third context. This contextual polyvalence makes symbols among the most functionally overloaded characters in computing, requiring careful attention to their meaning in each domain.
In the ASCII encoding table, Tilde is assigned code point 126 in decimal (0x7E hexadecimal, 176 octal, 01111110 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Tilde works reliably across all operating systems, programming languages, and internet protocols.
Related ASCII Characters
Nearby ASCII Codes
Explore the Full ASCII Table
Browse all 128 ASCII characters with codes, representations, and detailed references.