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