U+0030

Digit Zero0

Digit Zero 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+0030
Decimal
48
Hex
0x0030
Octal
0o60

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0030
Official nameUnicodeData.txt, Unicode 18.0.0DIGIT ZERO
DecimalBase 1048
HexadecimalBase 160x0030
OctalBase 80o60
BinaryBase 20000000000110000
General categoryNumber, decimal digitNd
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)0
HTML entity (hex)0
CSS content escapeUse inside content: "…"\0030
URL encodedPercent-encoded UTF-80

Programming languages

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

Byte encodings

FormatValueCopy
UTF-81 byte30
UTF-16 (BE)0030
UTF-32 (BE)00000030

How to type Digit Zero

  • Windows

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

  • macOS

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

  • Linux

    Press Ctrl+Shift+U, type 30, 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: 0 in HTML, \0030 in CSS, and \u0030 in JavaScript.

Official Unicode reference

Character name
DIGIT ZERO
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 Zero symbol?

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

Digit Zero is U+0030 (decimal 48, hexadecimal 0x0030, octal 0o60). 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 Zero?

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

What is the HTML code for Digit Zero?

Use 0 or 0. In CSS, use content: "\0030".

How do I type Digit Zero in code?

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

Is Digit Zero an emoji?

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