copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('²'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
²
SUPERSCRIPT TWO
Overview
² (SUPERSCRIPT TWO) is the Unicode character at code point U+00B2. It belongs to the Latin-1 Supplement block, in the Other Number (No) general category.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+00B2 |
|
| Decimal | 178 |
|
| HTML decimal | ² |
|
| HTML hex | ² |
|
| CSS | \00B2 |
|
| JavaScript | \u{B2} |
|
| Python | \u00b2 |
|
| Java | \u00B2 |
|
| Go | \u00B2 |
|
| Ruby | \u{B2} |
|
| Rust | \u{B2} |
|
| C / C++ | \u00b2 |
|
| URL-encoded | %C2%B2 |
|
| UTF-8 bytes | c2 b2 |
|
| UTF-16BE bytes | 00 b2 |
|
| UTF-32BE bytes | 00 00 00 b2 |
How to Use
HTML:
²
CSS:
content: "\00B2"
JavaScript:
"\u{B2}"
Python:
"\u00b2"
Properties
- Block
- Latin-1 Supplement
- Script
- Common Zyyy
- Category
- Other Number (No)
- Bidirectional
- EN
- Combining
- 0
- Mirrored
- No
- Decomposition
- <super> 0032
Frequently Asked Questions
How do I type or copy SUPERSCRIPT TWO?
Copy ² directly, or use the HTML entity, UTF-8, and code encodings shown on this page.