| Symbol Name | Comma |
| Unicode Version | 1.1 |
| Unicode | U+002C |
| Unicode block | |
| General category | Other Punctuation (Po) |
| CSS Code | \002C |
| Hex Code | 0x002C |
| HTML Code | , |
| LaTeX | , |
| Symbol | , |
| URL encode (UTF-8 percent) | %2C |
| Spoken / screen reader name | Comma |
| UTF-8 | 2C |
| UTF-16 | 002C |
| UTF-32 | 0000002C |
1\documentclass{article}2\usepackage{pifont}3,4\end{document}You can type the comma symbol on most modern devices with the help of following methods:
Alt + 44 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "comma", or use Unicode Hex Input with 002C.
Ctrl + Shift + U, type 002c, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with punctuation support.
1span.comma::before { content: "\002C"; }1<span>,</span>Comma symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u002C' or String.fromCodePoint(44) |
| Python | '\N{COMMA}' or chr(44) |
| Rust | '\u{002C}' |
| C / C++ | UTF-8 source or wchar_t with U+002C |
| Go | string(rune(0x002C)) |
| Ruby | "\u{002C}" |