Toolman

ASCII 5

ASCII 5 is Enquiry — the control character ENQ.

Every representation

CharacterENQ (not printable)
NameEnquiry
Decimal5
Hexadecimal0x05
Octal0005
Binary00000101
HTML entity
Escape sequence\x05
UnicodeU+0005
KeyboardCtrl+E
GroupControl character

What it is for

Asked the receiving station to identify itself. Obsolete outside legacy serial links.

Where the number comes from

Codes 0 to 31 were reserved for control: instructions to a teleprinter rather than characters to print. Code 5 is Ctrl+E because the Ctrl key was originally wired to clear the top two bits of whatever you typed, mapping the letter E at 69 down to 5.

Frequently asked questions

What is ASCII 5?

Enquiry (ENQ), a control character. In hexadecimal it is 0x05, in octal 0005, and in binary 00000101.

How do I type ASCII 5?

Press Ctrl+E in a terminal. In a string literal you can write it as \\x05 in most languages.

Is ASCII 5 printable?

No. Codes 0 to 31 and 127 are control characters — they were instructions to a teleprinter rather than marks on paper, and most terminals show nothing for them.

Nearby codes

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