| Symbol Name | Apostrophe |
| Unicode Version | 1.1 |
| Unicode | U+0027 |
| Unicode block | |
| General category | Other Punctuation (Po) |
| CSS Code | \0027 |
| Hex Code | 0x0027 |
| HTML Code | ' |
| LaTeX | ' |
| Symbol | ' |
| URL encode (UTF-8 percent) | %27 |
| Spoken / screen reader name | Apostrophe |
| UTF-8 | 27 |
| UTF-16 | 0027 |
| UTF-32 | 00000027 |
1\documentclass{article}2\usepackage{pifont}3'4\end{document}You can type the apostrophe symbol on most modern devices with the help of following methods:
Alt + 39 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "apostrophe", or use Unicode Hex Input with 0027.
Ctrl + Shift + U, type 0027, 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 bracket and quote support.
1span.apostrophe::before { content: "\0027"; }1<span>'</span>Apostrophe symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u0027' or String.fromCodePoint(39) |
| Python | '\N{APOSTROPHE}' or chr(39) |
| Rust | '\u{0027}' |
| C / C++ | UTF-8 source or wchar_t with U+0027 |
| Go | string(rune(0x0027)) |
| Ruby | "\u{0027}" |