ASCII code for comma
44
Comma — ,
| Decimal | 44 |
| Hexadecimal | 0x2C |
| Octal | 0054 |
| Binary | 00101100 |
| HTML entity | , |
What it is
Comma is one of the 95 printable ASCII characters, the set every text encoding in common use still agrees on. UTF-8 encodes it as the single byte 44, which is why ASCII text is also valid UTF-8.
The full entry
ASCII 44 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.
Frequently asked questions
What is the ASCII code for comma?
The ASCII code for comma is 44 in decimal, 0x2C in hexadecimal and 0054 in octal.
What is comma in binary?
00101100 — eight bits, though ASCII only defines seven, so the top bit is always zero.
Is comma a printable character?
Yes. Comma is in the printable range, codes 32 to 126, which is everything ASCII can put on a screen.
Other characters
- ASCII code for hyphen — 45
- ASCII code for period — 46
- ASCII code for forward slash — 47
- ASCII code for the digit 0 — 48
- ASCII code for the digit 1 — 49
- ASCII code for the digit 2 — 50
- ASCII code for the digit 3 — 51
- ASCII code for the digit 4 — 52
- ASCII code for the digit 5 — 53
- ASCII code for the digit 6 — 54
- ASCII code for the digit 7 — 55
- ASCII code for the digit 8 — 56
Every character by name · The ASCII table · Text to binary converter