;

ASCII Character: Semicolon

ASCII Code 59 · Unicode U+003B · Hex 0x3B

About the Semicolon Character

ASCII code 59 (0x3B) represents the Semicolon character ";". The "Semicolon" character (;) with ASCII code 59 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 59
Hexadecimal 0x3B
Octal 073
Binary 00111011
Unicode U+003B
Unicode Name SEMICOLON
HTML Numeric &#59;
HTML Entity ;
URL Escape %3B
UTF-8 (Hex) 3B
Quoted-Printable ;

Source Code Examples

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

Navigate

Copied!