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