1
U+0031 DIGIT ONE
Basic Latin · Decimal digit
| Name | DIGIT ONE |
|---|---|
| Code point | U+0031 |
| Decimal | 49 |
| Block | Basic Latin |
| Category | Decimal digit (Nd) |
| UTF-8 | 31 |
| UTF-16 | 0031 |
| UTF-32 | 00000031 |
| HTML | 1 1 |
| CSS | \0031 |
| JavaScript | \u0031 |
| Python | \u0031 |
| URL-encoded | %31 |
| Numeric value | 1 |
Frequently asked questions
What is the character U+0031?
U+0031 1 is officially named DIGIT ONE. It belongs to the Basic Latin block and the category Decimal digit.
How do I type 1?
Windows (Word, WordPad): type 0031, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 0031, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 0031. Or simply copy it from this page.
How do I write 1 in HTML?
As a numeric character reference 1 (decimal) or 1 (hexadecimal). In UTF-8 documents you can also insert the character directly.
How is 1 encoded in UTF-8?
In UTF-8 the character takes 1 bytes: 31. In UTF-16: 0031.