@

ASCII Character: At sign

ASCII Code 64 · Unicode U+0040 · Hex 0x40

at-sign at commercial-at

About the At sign Character

ASCII code 64 (0x40) represents the At sign character "@". The "At sign" character (@) with ASCII code 64 is a punctuation or special symbol in the printable ASCII range. Punctuation characters serve important roles in both natural language writing and programming syntax. The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.

Encoding Details

ASCII Code 64
Hexadecimal 0x40
Octal 100
Binary 01000000
Unicode U+0040
Unicode Name COMMERCIAL AT
HTML Numeric @
HTML Entity @
URL Escape %40
UTF-8 (Hex) 40
Quoted-Printable @

Source Code Examples

JavaScript
// Character literal
let char = '@';
// Using char code
let char2 = String.fromCharCode(64);
// Unicode escape
let char3 = '\x40';
Python
# Character literal
char = '@'
# Using chr()
char = chr(64)
# Using ord() to get code
code = ord('@')  # Returns 64
HTML
<!-- Direct character -->
@
<!-- HTML entity (numeric) -->
&#64;
<!-- Hex entity -->
&#x40;
C#
// Character literal
char c = '@';
// Using cast
char c2 = (char)64;
// To get code from char
int code = (int)'@';  // Returns 64

Navigate

Copied!