copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('B'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
B
LATIN CAPITAL LETTER B
Overview
B (LATIN CAPITAL LETTER B) is the Unicode character at code point U+0042. It belongs to the Basic Latin block, in the Uppercase Letter (Lu) general category. Its script is Latn.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| unicode | U+0042 | |
| decimal | 66 | |
| htmldecimal | B | |
| htmlhex | B | |
| css | \0042 | |
| javascript | \u{42} | |
| python | \u0042 | |
| java | \u0042 | |
| go | \u0042 | |
| ruby | \u{42} | |
| rust | \u{42} | |
| ccpp | \u0042 | |
| urlencoded | B | |
| utf8bytes | 42 | |
| utf16bebytes | 00 42 | |
| utf32bebytes | 00 00 00 42 |
How to Use
HTML:
B
CSS:
content: "\0042"
JavaScript:
"\u{42}"
Python:
"\u0042"
Properties
- Block
- Basic Latin
- Script
- Latn
- Category
- Uppercase Letter (Lu)
- Bidirectional
- L
- Combining
- 0
- Mirrored
- No
Compare
Frequently Asked Questions
What is the B character (LATIN CAPITAL LETTER B)?
B (LATIN CAPITAL LETTER B) is the Unicode character U+0042.
What is the Unicode codepoint of LATIN CAPITAL LETTER B?
The LATIN CAPITAL LETTER B character (B) has codepoint U+0042.
How do I type or copy LATIN CAPITAL LETTER B?
Copy B directly, or use the HTML entity, UTF-8, and code encodings shown on this page.