U+0031

Digit One1

Digit One is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "number", "digit", "numeral", "ascii".

Quick facts

Unicode
U+0031
Decimal
49
Hex
0x0031
Octal
0o61

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0031
Official nameUnicodeData.txt, Unicode 18.0.0DIGIT ONE
DecimalBase 1049
HexadecimalBase 160x0031
OctalBase 80o61
BinaryBase 20000000000110001
General categoryNumber, decimal digitNd
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)1
HTML entity (hex)1
CSS content escapeUse inside content: "…"\0031
URL encodedPercent-encoded UTF-81

Programming languages

FormatValueCopy
JavaScript / TypeScript\u0031
JSONUTF-16 surrogate pairs\u0031
Python\u0031
Java / C# / Kotlin\u0031

Byte encodings

FormatValueCopy
UTF-81 byte31
UTF-16 (BE)0031
UTF-32 (BE)00000031

How to type Digit One

  • Windows

    Hold Alt and type +31 with the hex numeric keypad option enabled, or type 31 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 0031. Or open Character Viewer (Control+Command+Space) and search "Digit One".

  • Linux

    Press Ctrl+Shift+U, type 31, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: 1 in HTML, \0031 in CSS, and \u0031 in JavaScript.

Official Unicode reference

Character name
DIGIT ONE
Block
Basic Latin (U+0000–U+007F)
General category
Nd — Number, decimal digit

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Digit One symbol?

Click the Copy button at the top of this page, or select 1 and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Digit One?

Digit One is U+0031 (decimal 49, hexadecimal 0x0031, octal 0o61). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Digit One?

The Unicode Standard (version 18.0.0) names this character "DIGIT ONE". Its General_Category is Nd (Number, decimal digit).

What is the HTML code for Digit One?

Use 1 or 1. In CSS, use content: "\0031".

How do I type Digit One in code?

JavaScript: "\u0031". Python: "\u0031". JSON and Java: "\u0031". The UTF-8 byte sequence is 31.

Is Digit One an emoji?

No. Digit One is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all basic latin (ascii)