Digit Four 4
4 (U+34) is a standard Unicode character that you can copy and paste anywhere text is accepted. This page provides a concise reference with safe tips, internal links, and practical guidance so you can use it reliably across apps and platforms.
What it is and where it’s used: Digit Four is part of the Symbols family (block: Basic Latin). If you need styled or decorative alternatives, try our Fancy Text tool to generate compatible text that works in most modern interfaces.
Copy and input: the quickest method is to copy the character here. You can also insert it by its codepoint U+34
in many development tools or editors. Some operating systems provide a character viewer or input palette that lets you search by name or code and insert the glyph into documents.
Display and fallback: if you see an empty box (tofu) or a placeholder rectangle, the active font might not include this codepoint. Switching to a font with broader Unicode coverage or using a fallback font usually fixes the issue. On the web, ensure the page’s font stack includes a general‑purpose fallback.
Related references: browse the Categories for similar characters. When choosing a symbol, prefer the official codepoint for semantic clarity and better compatibility with search, copy, and accessibility tooling.
See our category page for related symbols.
Technical details
- Codepoint:
U+34
- General Category:
Nd
- Age:
1.1
- Bidi Class:
EN
- Numeric Type:
Decimal
- Numeric Value:
4
- Block:
Basic Latin
- Script:
Common
- UTF-8:
34
- UTF-16:
0034
- UTF-32:
00000034
- HTML dec:
4
- HTML hex:
4
- JS escape:
\u0034
- Python \N{}:
\N{DIGIT FOUR}
- Python \u:
\u0034
- Python \U:
\U00000034
- URL-encoded:
4
- CSS escape:
\34
How to type / insert
Fast copy: click the Copy button near the top of this page.
By codepoint: in many editors and IDEs, you can insert via the Unicode code U+34
or a built‑in character picker.
HTML: use the numeric entity 4
(hex) or 4
(decimal) when an HTML entity is needed.
Compatibility & troubleshooting
Font support: if the symbol does not render, the current font likely lacks this codepoint. Choose a font with broad Unicode coverage or allow a fallback font.
Web pages: ensure your CSS font stack includes a general fallback; avoid relying on images for common symbols to preserve accessibility and copyability.