U+0039
Digit Nine9
Digit Nine 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+0039
- Decimal
- 57
- Hex
- 0x0039
- Octal
- 0o71
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+0039 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | DIGIT NINE | |
| DecimalBase 10 | 57 | |
| HexadecimalBase 16 | 0x0039 | |
| OctalBase 8 | 0o71 | |
| BinaryBase 2 | 0000000000111001 | |
| General categoryNumber, decimal digit | Nd | |
| Unicode blockU+0000–U+007F | Basic Latin | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | 9 | |
| HTML entity (hex) | 9 | |
| CSS content escapeUse inside content: "…" | \0039 | |
| URL encodedPercent-encoded UTF-8 | 9 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u0039 | |
| JSONUTF-16 surrogate pairs | \u0039 | |
| Python | \u0039 | |
| Java / C# / Kotlin | \u0039 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-81 byte | 39 | |
| UTF-16 (BE) | 0039 | |
| UTF-32 (BE) | 00000039 |
How to type Digit Nine
Windows
Hold Alt and type +39 with the hex numeric keypad option enabled, or type 39 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 0039. Or open Character Viewer (Control+Command+Space) and search "Digit Nine".
Linux
Press Ctrl+Shift+U, type 39, 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: 9 in HTML, \0039 in CSS, and \u0039 in JavaScript.
Official Unicode reference
- Character name
- DIGIT NINE
- 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 Nine symbol?
Click the Copy button at the top of this page, or select 9 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 Nine?
Digit Nine is U+0039 (decimal 57, hexadecimal 0x0039, octal 0o71). 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 Nine?
The Unicode Standard (version 18.0.0) names this character "DIGIT NINE". Its General_Category is Nd (Number, decimal digit).
What is the HTML code for Digit Nine?
Use 9 or 9. In CSS, use content: "\0039".
How do I type Digit Nine in code?
JavaScript: "\u0039". Python: "\u0039". JSON and Java: "\u0039". The UTF-8 byte sequence is 39.
Is Digit Nine an emoji?
No. Digit Nine 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.