Digit One

U+0031

About Digit One

Digit One is the Unicode character 1 at codepoint U+0031 in the Basic Latin block of the Basic Multilingual Plane (BMP).

Developer Notes

Unicode Codepoint
Decimal
UTF-8 (hex)
UTF-16 (hex)
HEX Entity
HTML Entity
CSS (\xxxx)
JavaScript
Python

How to Use Digit One

To use the Digit One symbol (1) in HTML, insert the entity 1 directly into your markup. The decimal entity 1 works in any HTML-serialised document.

In CSS pseudo-elements use content: '\31';. In JavaScript and TypeScript the escape '\u0031' evaluates to 1. In Python source, write '\u0031'.

The character encodes to 31 as UTF-8 bytes and 0031 as UTF-16 code units. Its decimal codepoint is 49.

This is a text-based Unicode character. It will render in the current font on most platforms. If a font lacks this glyph, the browser may show a placeholder or fall back to a system font.

Similar Symbols