ETX

ASCII Code 3

End of Text

About This Character

ASCII code 3 (0x03) represents the End of Text (ETX) control character. This is a non-printable character defined in the original ASCII standard (1963). It belongs to the communication control group, used in data transmission protocols to manage the flow of information between devices. Control characters occupy codes 0–31 and 127 in the ASCII table and were originally designed for controlling hardware devices, managing communication links, and formatting text output. While many control characters have become obsolete with modern computing, several like LF (Line Feed), CR (Carriage Return), TAB, and ESC remain essential in everyday programming and text processing.

Character Encoding

Decimal 3
Octal 003
Hexadecimal 0x03
Binary 00000011
HTML Code 
HTML Entity
Unicode U+0003
Unicode Name END OF TEXT
URL Escape %03
Quoted-Printable =03
UTF-8 (Hex) 03
Category Control — Communication Control

How to Type in Code

JavaScript
// Using escape sequence
let char = '\x03';
// Using String.fromCharCode
let char2 = String.fromCharCode(3);
Python
# Using escape sequence
char = '\x03'
# Using chr()
char = chr(3)
HTML
<!-- Using HTML entity -->
&#3;
C#
// Using escape sequence
char c = '\x03';
// Using cast
char c2 = (char)3;

See Also

Copied!