ASCII 10
ASCII 10 is Line Feed — the control character LF.
Every representation
| Character | LF (not printable) |
| Name | Line Feed |
| Decimal | 10 |
| Hexadecimal | 0x0A |
| Octal | 0012 |
| Binary | 00001010 |
| HTML entity | |
| Escape sequence | \\n |
| Unicode | U+000A |
| Keyboard | Ctrl+J |
| Group | Control character |
What it is for
Moved the paper up one line without moving the carriage. Unix and macOS use it alone to end a line; Windows uses CR+LF. This single difference is behind most "the whole file shows as changed" diffs.
Where the number comes from
Codes 0 to 31 were reserved for control: instructions to a teleprinter rather than characters to print. Code 10 is Ctrl+J because the Ctrl key was originally wired to clear the top two bits of whatever you typed, mapping the letter J at 74 down to 10.
Frequently asked questions
What is ASCII 10?
Line Feed (LF), a control character. In hexadecimal it is 0x0A, in octal 0012, and in binary 00001010.
How do I type ASCII 10?
Press Ctrl+J in a terminal. In a string literal you can write it as \\n or \\x0A in most languages.
Is ASCII 10 printable?
No. Codes 0 to 31 and 127 are control characters — they were instructions to a teleprinter rather than marks on paper, and most terminals show nothing for them.
Nearby codes
- ASCII 3 — ETX
- ASCII 4 — EOT
- ASCII 5 — ENQ
- ASCII 6 — ACK
- ASCII 7 — BEL
- ASCII 8 — BS
- ASCII 9 — HT
- ASCII 11 — VT
- ASCII 12 — FF
- ASCII 13 — CR
- ASCII 14 — SO
- ASCII 15 — SI
- ASCII 16 — DLE
- ASCII 17 — DC1
Full ASCII table · Text to binary converter · Number base converter