Toolman

ASCII code for end of transmission

4

End of Transmission — a control character, not printable

Decimal4
Hexadecimal0x04
Octal0004
Binary00000100
HTML entity

What it is

Ended a transmission entirely. On a Unix terminal this is what Ctrl+D sends, which is why Ctrl+D at an empty prompt closes the shell: it signals end-of-file on the input.

The full entry

ASCII 4 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 end of transmission?

The ASCII code for end of transmission is 4 in decimal, 0x04 in hexadecimal and 0004 in octal.

What is end of transmission in binary?

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

Is end of transmission a printable character?

No. End of Transmission 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