| ASCII Control Codes |
| Code |
Name |
Note |
| NUL |
Null |
|
| SOH |
Start of Heading |
|
| STX |
Start of Text |
|
| ETX |
End of Text |
|
| EOT |
End of Transmission |
Not the same as ETB |
| ENQ |
Enquiry |
|
| ACK |
Acknowledge |
|
| BEL |
Bell |
Causes teletype machines to ring a bell. Causes a beep in many common terminals and terminal emulation programs. |
| BS |
Backspace |
Moves the cursor or print head backwards (left) one space. |
| TAB |
Horizontal Tab |
Moves the cursor or print head right to the next tab stop. The spacing of tab stops is dependent on the output device, but is often either 8 or 10. |
| LF |
Line Feed |
Moves the cursor or print head to a new line. On Unix systems, moves to a new line AND all the way to the left. |
| VT |
Vertical Tab |
|
| FF |
Form Feed |
Advances paper to the top of the next page if the output device is a printer |
| CR |
Carriage Return |
Moves the cursor all the way to the left, but does not advance to the next line |
| SO |
Shift Out |
Switches output device to alternate character set |
| SI |
Shift In |
Switches output device back to default character set |
| DLE |
Data Link Escape |
|
| DC1 |
Device Control 1 |
|
| DC2 |
Device Control 2 |
|
| DC3 |
Device Control 3 |
|
| DC4 |
Device Control 4 |
|
| NAK |
Negative Acknowledge |
|
| SYN |
Synchronous Idle |
|
| ETB |
End of Transmission Block |
Not the same as EOT |
| CAN |
Cancel |
|
| EM |
End of Medium |
|
| SUB |
Substitute |
|
| ESC |
Escape |
|
| FS |
File Separator |
|
| GS |
group separator |
|
| RS |
record separator |
|
| US |
unit separator |
|