ASCII 44
Comma (,)
Printable ASCII
Comma. Separator in almost every data format (JSON, CSV, function arguments).
Common uses & context
The character ',' — Comma — has ASCII code 44 (0x2C), octal 0054, binary 00101100. Comma. Separator in almost every data format (JSON, CSV, function arguments).
Punctuation and symbol codes carry the most syntactic weight per byte in programming: a single ',' can change how a parser reads an entire expression. When ',' needs to appear as literal data rather than syntax, you often have to escape it — in string literals, in regular expressions, in URLs (where it becomes %2C), or in HTML. Knowing its exact code point (44) helps when you filter, validate, or sanitize input byte by byte.
All encodings at a glance
| Decimal | 44 |
| Hexadecimal | 0x2C |
| Octal | 0054 |
| Binary | 00101100 |
| HTML numeric entity | , |
| URL encoding | %2C |
| UTF-8 bytes | 0x2C |
Code snippets
JavaScript
String.fromCharCode(44); // ","
44.toString(16); // "2c"Python
chr(44) # ','
ord(chr(44)) # 44
hex(44) # '0x2c'HTML
, <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Code 44 (0x2C); URL-encoded form%2C.
- ▸In HTML the numeric entity is ,.
- ▸When used as literal data in regex or strings, ',' usually needs escaping — check the rules for your language.
Frequently asked questions
What character is ASCII code 44?
ASCII code 44 is the character ',' (Comma). In hexadecimal it is 0x2C, in octal 0054, and in binary 00101100.
What is 0x2C in ASCII?
Hexadecimal 0x2C equals decimal 44, which is the character ',' (Comma). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x2C = 44) and look up that code point.
How do I write the character with code 44 in code?
In JavaScript use String.fromCharCode(44); in Python use chr(44); in HTML use the numeric entity ,. In a URL it is percent-encoded as %2C, and in UTF-8 it is stored as the byte sequence 0x2C.