4
ASCII 52
ASCII Character
Digit Four
ASCII byte 52 (0x34) — Unicode U+0034. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.
How to type 4
Windows
- Copy 4 with the Copy Symbol button above and paste it anywhere.
- In HTML, use 4 or hex 4.
- In JavaScript, use String.fromCharCode(52).
Mac
- Copy 4 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 0034 (from U+0034), 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 4.
Linux
- Copy 4 with the Copy Symbol button and paste it.
- Press Ctrl + Shift + U, type 0034 (from U+0034), then press Enter or Space.
- On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
- In HTML, use 4.
ASCII character details
| Parameter | Value | Copy |
|---|---|---|
| Symbol |
4
|
|
| Symbol Name |
Digit Four
|
— |
| ASCII Decimal |
52
|
|
| ASCII Hex |
0x34
|
|
| Unicode Code |
U+0034
|
|
| HTML Decimal Code |
4
|
|
| HTML Hex Code |
4
|
|
| CSS Code |
\0034
|
|
| JavaScript Code |
\u0034
|
|
| Category |
ASCII Printable Characters (32–126)
|
— |
FAQs about Digit Four ASCII Code Symbol
What is the ASCII code for Digit Four ASCII Code Symbol?
ASCII decimal 52, hex 0x34, Unicode U+0034.
How do I copy 4?
Click Copy Symbol on this page to copy the character directly.
How do I type ASCII 52 in JavaScript?
Use String.fromCharCode(52) to output this character in JavaScript.
About this ASCII Character
ASCII byte 52 (0x34, U+0034) is digit four. Part of the complete standard ASCII table (0–127).
Tags: digit-four,ascii,extended-ascii,52,0×34,U+0034,ascii table,copy symbol
