Toolman

ASCII 45

ASCII 45 is Hyphen-minus, written -.

Every representation

Character-
NameHyphen-minus
Decimal45
Hexadecimal0x2D
Octal0055
Binary00101101
HTML entity-
Escape sequence\x2D
UnicodeU+002D
GroupPunctuation 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

Full ASCII table · Text to binary converter · Number base converter