ETX

ASCII Character: End of Text

ASCII Code 3 · Unicode U+0003 · Hex 0x03

end-of-text etx

About the End of Text 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.

Encoding Details

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

Source Code Examples

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;

Navigate

Copied!