Toolman

ASCII code for substitute

26

Substitute — a control character, not printable

Decimal26
Hexadecimal0x1A
Octal0032
Binary00011010
HTML entity

What it is

Replaced a character that arrived corrupted. On DOS and Windows it doubled as an end-of-file marker in text mode, which is why Ctrl+Z ends console input on Windows.

The full entry

ASCII 26 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 substitute?

The ASCII code for substitute is 26 in decimal, 0x1A in hexadecimal and 0032 in octal.

What is substitute in binary?

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

Is substitute a printable character?

No. Substitute 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