B
ASCII 66
ASCII Character
Latin Capital Letter B
ASCII byte 66 (0x42) — Unicode U+0042. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.
How to type B
Windows
- Copy B with the Copy Symbol button above and paste it anywhere.
- In HTML, use B or hex B.
- In JavaScript, use String.fromCharCode(66).
Mac
- Copy B with the Copy Symbol button and paste it (fastest method).
- Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
- Select Unicode Hex Input from the menu bar input menu.
- Hold Option (⌥), type 0042 (from U+0042), then release Option.
- Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.
- In HTML on Mac editors, you can also paste B.
Linux
- Copy B with the Copy Symbol button and paste it.
- Press Ctrl + Shift + U, type 0042 (from U+0042), then press Enter or Space.
- On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
- In HTML, use B.
ASCII character details
| Parameter | Value | Copy |
|---|---|---|
| Symbol |
B
|
|
| Symbol Name |
Latin Capital Letter B
|
— |
| ASCII Decimal |
66
|
|
| ASCII Hex |
0x42
|
|
| Unicode Code |
U+0042
|
|
| HTML Decimal Code |
B
|
|
| HTML Hex Code |
B
|
|
| CSS Code |
\0042
|
|
| JavaScript Code |
\u0042
|
|
| Category |
ASCII Printable Characters (32–126)
|
— |
FAQs about Latin Capital Letter B ASCII Code Symbol
What is the ASCII code for Latin Capital Letter B ASCII Code Symbol?
ASCII decimal 66, hex 0x42, Unicode U+0042.
How do I copy B?
Click Copy Symbol on this page to copy the character directly.
How do I type ASCII 66 in JavaScript?
Use String.fromCharCode(66) to output this character in JavaScript.
About this ASCII Character
ASCII byte 66 (0x42, U+0042) is latin capital letter b. Part of the complete standard ASCII table (0–127).
Tags: latin-capital-letter-b,ascii,extended-ascii,66,0×42,U+0042,ascii table,copy symbol
