,
Comma
PrintableASCII 44 | Hex 0x2C | U+002C
Positioned at ASCII 44, the comma separates items in lists across natural languages and programming alike. In CSV (Comma-Separated Values) files defined by RFC 4180, commas delimit fields, and fields containing commas must be enclosed in double quotes. Many European locales use the comma as the decimal separator instead of the period, which causes parsing failures when software assumes the US/UK convention. JavaScript's trailing comma after the last array element was invalid before ES5 (2009).
ASCII Code
Decimal
44
Hexadecimal
0x2C
Octal
54
Binary
0010 1100
URL Escape
%2C
Unicode
Code Point
U+002C
Escape
\u002c
UTF-8 Hex
0x2C
UTF-8 Binary
00101100
UTF-16
0x002C
UTF-32
0x0000002C
HTML Entities
Numeric
,
Hex
,
Named
,
How to Type
Windows Alt CodeAlt + 44
HTML Entity
,
Unicode InputU+002C
Source Code Representations
C / Java
"\u002C"CSS
\002CJavaScript
"\u002C"Perl
\x{002C}Python 2
u"\u002C"Python 3
\u002CRuby
\u{002C}Frequently Asked Questions
What is ASCII code 44?
ASCII code 44 represents the Comma character. In hexadecimal it is 0x2C, in binary 0010 1100, and in octal 54. It is a printable character that appears as "," in text.
How do I type ASCII 44 on a keyboard?
On Windows, hold Alt and type 44 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity , or ,.