Prime

Shortcodes

Copy and paste codes for Prime symbol ′ to use in your websites, apps, blogs, and more.

Unicode
U+2032
HTML Code
′
HTML Entity
′
HEX Code
′
CSS Code
\2032
JS/JSON
\u2032
Unix/C/PHP/JAVA
0x2032
URL-encode
%E2%80%B2
copied

Customize Prime Symbol

Customize ′ symbol as you like and download Prime as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.

                        
                    

How to add Prime symbol in HTML, CSS, and JS?

Insert ′ Prime using HTML

1. Copy-paste Prime directly:
<span>′</span>
2. HTML Decimal Code:
<span>&#8242;</span>
3. HTML Entity:
<span>&prime;</span>
4. Hexadecimal Code:
<span>&#x2032;</span>
Preview:

Add Prime symbol with CSS

.prime::before {
    content: '\\2032';
}
Preview: Prime

Prime JavaScript Code

1. Direct Symbol:
document.querySelector('.prime').textContent = '′';
2. Unicode Escape for ′:
document.querySelector('.prime').textContent = '\u2032';
Preview: