Toolman

ASCII code for device control 2

18

Device Control 2 — a control character, not printable

Decimal18
Hexadecimal0x12
Octal0022
Binary00010010
HTML entity

What it is

A general device control signal with no fixed modern meaning.

The full entry

ASCII 18 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.

Frequently asked questions

What is the ASCII code for device control 2?

The ASCII code for device control 2 is 18 in decimal, 0x12 in hexadecimal and 0022 in octal.

What is device control 2 in binary?

00010010 — eight bits, though ASCII only defines seven, so the top bit is always zero.

Is device control 2 a printable character?

No. Device Control 2 is a control character — an instruction to a teleprinter rather than a mark on paper, which is why most tables show an empty cell for it.

Other characters

Every character by name · The ASCII table · Text to binary converter