NAK
ControlNon-printableDec 21

ASCII 21 NAK

NAK (negative acknowledge) at ASCII code 21.

All Representations

Decimal
21
Hexadecimal
0x15
Octal
0o025
Binary
00010101
HTML Entity


Character Details

Character[NAK]
NameNAK
Decimal21
Hexadecimal0x15
Octal0o025
Binary00010101
HTML Entity
CategoryControl
PrintableNo

About ASCII 21 (NAK)

Negative Acknowledge (NAK) is the counterpart to ACK, indicating that received data was corrupted, invalid, or otherwise unacceptable by the receiver. In error-detection protocols, a receiver sends NAK to request retransmission of a failed data block. The ACK/NAK handshake pattern established by these ASCII control characters became the conceptual foundation for error handling in modern networking — TCP uses acknowledgment numbers and retransmission timeouts to achieve similar reliability, albeit with far greater sophistication than simple binary NAK responses.

Control characters were defined in the original 1963 ASCII standard to manage telecommunications equipment and terminal devices. Unlike printable characters representing visible symbols, control codes perform actions: initiating transmissions, acknowledging received data, triggering device alerts, and structuring information hierarchically. Of ASCII's 128 code points, 33 are designated as control characters (codes 0–31 plus 127), reflecting the standard's deep roots in telegraphy and serial communication systems. While most control codes have fallen out of daily use, several remain essential to modern computing workflows.

In the ASCII encoding table, Negative Acknowledge is assigned code point 21 in decimal (0x15 hexadecimal, 025 octal, 00010101 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Negative Acknowledge works reliably across all operating systems, programming languages, and internet protocols.

Related ASCII Characters

Nearby ASCII Codes

DecHexOctBinCharName
160x100o02000010000DLE
170x110o02100010001DC1
180x120o02200010010DC2
190x130o02300010011DC3
200x140o02400010100DC4
210x150o02500010101NAK
220x160o02600010110SYN
230x170o02700010111ETB
240x180o03000011000CAN
250x190o03100011001EM
260x1A0o03200011010SUB

Explore the Full ASCII Table

Browse all 128 ASCII characters with codes, representations, and detailed references.