U+0038

Digit Eight8

Digit Eight 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+0038
Decimal
56
Hex
0x0038
Octal
0o70

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0038
Official nameUnicodeData.txt, Unicode 18.0.0DIGIT EIGHT
DecimalBase 1056
HexadecimalBase 160x0038
OctalBase 80o70
BinaryBase 20000000000111000
General categoryNumber, decimal digitNd
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)8
HTML entity (hex)8
CSS content escapeUse inside content: "…"\0038
URL encodedPercent-encoded UTF-88

Programming languages

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

Byte encodings

FormatValueCopy
UTF-81 byte38
UTF-16 (BE)0038
UTF-32 (BE)00000038

How to type Digit Eight

  • Windows

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

  • macOS

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

  • Linux

    Press Ctrl+Shift+U, type 38, 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: 8 in HTML, \0038 in CSS, and \u0038 in JavaScript.

Official Unicode reference

Character name
DIGIT EIGHT
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 Eight symbol?

Click the Copy button at the top of this page, or select 8 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 Eight?

Digit Eight is U+0038 (decimal 56, hexadecimal 0x0038, octal 0o70). 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 Eight?

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

What is the HTML code for Digit Eight?

Use 8 or 8. In CSS, use content: "\0038".

How do I type Digit Eight in code?

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

Is Digit Eight an emoji?

No. Digit Eight 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)