Find the Unicode code point for 1

The digit 1 is U+0031 DIGIT ONE. Learn how to confirm it, how to tell it apart from styled and lookalike ones, and when a plain 1 is the safer choice.

The ordinary digit 1 that you type on a keyboard is U+0031, named DIGIT ONE. It sits in the Basic Latin block, and its value is the same as in ASCII: 49 in decimal, 31 in hexadecimal. Many characters look like a 1 but have different code points. This guide shows how to confirm which one you have and whether a styled version will still work where you plan to use it.

The short answer: U+0031 and its encodings

Property | Value for the plain digit 1
Code point | U+0031
Character name | DIGIT ONE
Block | Basic Latin
Decimal value | 49
UTF-8 bytes | 31 (one byte)
UTF-16 code unit | 0031
HTML numeric references | 1 or 1
General category | Nd (decimal digit), numeric value 1
Bidirectional class | EN (European number)

Is a styled or substitute 1 suitable for your use?

Use the plain U+0031 whenever the number has to be counted, searched, sorted, parsed by software, typed back in, or read aloud by assistive technology. A styled variant such as a bold, circled, superscript or fullwidth one can be useful for short decorative text or for real typographic needs, such as a footnote marker or a mathematical symbol. The cost is that each variant is a separate character. Software that expects U+0031 may not treat it as the number 1. If you use a styled form, keep a plain-text version wherever the value matters.

What a substitution actually changes

There are two different ways to make a 1 look different, and they behave differently. The first is visual presentation. Bold or italic formatting, a different font, or CSS styling changes how U+0031 is drawn, but the stored character stays the same. The second is character substitution. Tools sold as fancy fonts or text generators usually work this way: they replace U+0031 with a different code point that happens to look like a styled 1. Copy that output into any app and you are copying the new code point, not formatting.

In this context, the word 'font' is misleading. A 'bold 1' from a text generator is not a font. It is MATHEMATICAL BOLD DIGIT ONE, a character in its own right. Reversing and mirroring work similarly. Reversing a single 1 changes nothing, because there is only one character to reorder. Unicode has no general 'mirrored 1' character, so a mirrored-looking 1 is either a visual effect such as a CSS transform or a different character chosen for its shape. In right-to-left text, U+0031 is not mirrored. Its bidirectional class (EN) keeps runs of digits in left-to-right order inside the surrounding text.

Common characters that look like 1

Character | Code point | Name | Note
1 | U+0031 | DIGIT ONE | The standard digit
¹ | U+00B9 | SUPERSCRIPT ONE | Compatibility form of 1
₁ | U+2081 | SUBSCRIPT ONE | Compatibility form of 1
1 | U+FF11 | FULLWIDTH DIGIT ONE | Wide form used with East Asian text
① | U+2460 | CIRCLED DIGIT ONE | Compatibility form of 1 in a circle
❶ | U+2776 | DINGBAT NEGATIVE CIRCLED DIGIT ONE | Dingbat symbol
⑴ | U+2474 | PARENTHESIZED DIGIT ONE | Normalizes to (1)
⒈ | U+2488 | DIGIT ONE FULL STOP | Normalizes to 1.
𝟏 | U+1D7CF | MATHEMATICAL BOLD DIGIT ONE | Outside the Basic Multilingual Plane
𝟙 | U+1D7D9 | MATHEMATICAL DOUBLE-STRUCK DIGIT ONE | Mathematical notation
𝟣 | U+1D7E3 | MATHEMATICAL SANS-SERIF DIGIT ONE | Mathematical notation
𝟭 | U+1D7ED | MATHEMATICAL SANS-SERIF BOLD DIGIT ONE | Common in 'bold text' generators
𝟷 | U+1D7F7 | MATHEMATICAL MONOSPACE DIGIT ONE | Mathematical notation
Ⅰ | U+2160 | ROMAN NUMERAL ONE | Normalizes to the letter I, not the digit
١ | U+0661 | ARABIC-INDIC DIGIT ONE | A real digit in another script
१ | U+0967 | DEVANAGARI DIGIT ONE | A real digit in another script

Some characters that look like 1 are not numbers at all. These include the lowercase letter l (U+006C), the capital letter I (U+0049) and the vertical bar | (U+007C). In some fonts they are almost impossible to tell apart from 1, which is one reason to check code points instead of trusting appearance.

The keycap emoji 1️⃣ is a sequence of three code points, not a single character: U+0031 DIGIT ONE, U+FE0F VARIATION SELECTOR-16 and U+20E3 COMBINING ENCLOSING KEYCAP. Inspecting it, counting its length, or reversing it with a tool that works one code point at a time will show the parts separately. A naive reversal moves the combining keycap away from the digit and breaks the emoji.

How to identify the code point of a 1 you have

To identify a character, search for a 'Unicode character inspector', 'code point lookup' or 'Unicode character identifier'. These tools show the code point, official name and block for each character you paste in. Some word processors and code editors also have a command that converts between a character and its hexadecimal code, so check your editor's documentation. If you can run a little code, these short snippets give exact answers and also show every part of a multi-code-point sequence.

# Python
ch = "1"
print(hex(ord(ch)))          # 0x31

import unicodedata
print(unicodedata.name(ch))  # DIGIT ONE

# List every code point in a sequence such as a keycap emoji
for c in "1\uFE0F\u20E3":
    print(f"U+{ord(c):04X}", unicodedata.name(c, "(no name)"))
// JavaScript
const ch = "1";
console.log(ch.codePointAt(0).toString(16)); // "31"

// Iterate by code point, not UTF-16 unit, so U+1D7CF and similar stay whole
for (const c of "\u{1D7CF}") {
  console.log("U+" + c.codePointAt(0).toString(16).toUpperCase());
}

In JavaScript, use codePointAt and for...of rather than charCodeAt and indexed loops. Characters above U+FFFF, such as the mathematical bold digits, take two UTF-16 code units, and indexed access splits them into meaningless halves.

Will a substitute 1 stay readable and usable after copying?

Copying and pasting keeps the code point, so a pasted 𝟏 is still U+1D7CF wherever it lands. Whether it is displayed, found, or understood depends on the destination. These are the practical limits to plan for:

  • Display: if the destination's fonts have no glyph for the character, readers may see an empty box or a fallback symbol instead of a 1.
  • Search and matching: a search for 1 matches U+0031, but it may not match ①, 𝟏 or 1 unless the search engine or app normalizes text first.
  • Numeric parsing: some programming languages accept any Unicode decimal digit when converting text to a number, while others accept only ASCII 0–9. Symbols such as ① or ¹ are generally not accepted as digits. Check the documentation of the language or system you rely on.
  • Normalization: under Unicode compatibility normalization (NFKC), superscript, subscript, circled, fullwidth and mathematical styled ones become the plain 1. ⑴ becomes (1), ⒈ becomes 1., and ROMAN NUMERAL ONE becomes the letter I. Non-Latin digits such as Arabic-Indic and Devanagari one are not changed. Systems that normalize can quietly turn styled text back into plain text.
  • Assistive technology: screen readers may announce a substitute character by its long Unicode name, describe it differently, or skip it. Behavior depends on the screen reader, its settings and the platform.
  • Editing: users often cannot type these characters again, so they cannot easily search for them, correct them or reproduce them.

Evidence gap: no scoped tests of specific apps, websites, social platforms or screen readers were available for this article. A styled 1 rendering correctly in one place does not show that it will render, match or be announced the same way elsewhere. If a particular destination or assistive tool matters, test it directly. Where accessibility or data accuracy is important, give the plain U+0031 version alongside or instead.

Bottom line

The code point for the standard digit 1 is U+0031. Use it for anything functional, such as numbers, codes, quantities, identifiers or text that people need to search or hear read aloud. Use a lookalike only when you specifically need its meaning or appearance and can accept that it is a different character. Confirm what you have with an inspector or a short script rather than by eye.