ASCII 45
ASCII 45 is Hyphen-minus, written -.
Every representation
| Character | - |
| Name | Hyphen-minus |
| Decimal | 45 |
| Hexadecimal | 0x2D |
| Octal | 0055 |
| Binary | 00101101 |
| HTML entity | - |
| Escape sequence | \x2D |
| Unicode | U+002D |
| Group | Punctuation or symbol |
What it is for
The character -.
Where the number comes from
Codes 32 to 126 hold the printable characters. The punctuation was distributed around the letters and digits so that the most common characters fell into positions that were convenient for the teleprinter keyboards of the time.
Frequently asked questions
What is ASCII 45?
Hyphen-minus, the character -. In hexadecimal it is 0x2D, in octal 0055, and in binary 00101101.
How do I type ASCII 45?
Type - directly. In a string literal it can also be written \\x2D, and in HTML as -.
Is ASCII 45 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 38 — &
- ASCII 39 — '
- ASCII 40 — (
- ASCII 41 — )
- ASCII 42 — *
- ASCII 43 — +
- ASCII 44 — ,
- ASCII 46 — .
- ASCII 47 — /
- ASCII 48 — 0
- ASCII 49 — 1
- ASCII 50 — 2
- ASCII 51 — 3
- ASCII 52 — 4
Full ASCII table · Text to binary converter · Number base converter