1

U+0031 DIGIT ONE

Basic Latin · Decimal digit

NameDIGIT ONE
Code pointU+0031
Decimal49
BlockBasic Latin
CategoryDecimal digit (Nd)
UTF-831
UTF-160031
UTF-3200000031
HTML1 1
CSS\0031
JavaScript\u0031
Python\u0031
URL-encoded%31
Numeric value1

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.

Nearby entries