LF
WhitespaceNon-printableDec 10

ASCII 10 LF

LF (line feed / newline) at ASCII code 10.

All Representations

Decimal
10
Hexadecimal
0x0A
Octal
0o012
Binary
00001010
HTML Entity



Character Details

Character[LF]
NameLF
Decimal10
Hexadecimal0x0A
Octal0o012
Binary00001010
HTML Entity

CategoryWhitespace
PrintableNo

About ASCII 10 (LF)

Line Feed (LF) moves the cursor down one line and is the standard newline character in Unix, Linux, and macOS, written as '\n' in escape sequences. Windows uses a two-character CR+LF sequence instead, while classic Mac OS used CR alone — this incompatibility has caused countless cross-platform bugs throughout computing history. Git provides core.autocrlf settings to manage line ending conversions between platforms. Network protocols like HTTP and SMTP mandate CR+LF regardless of the host operating system.

Whitespace characters create visual separation and structural formatting in text without rendering a visible glyph. Whitespace handling is a critical design consideration across programming languages, markup systems, and data formats: Python uses indentation for block structure, HTML collapses consecutive spaces into one, and tools like linters flag inconsistent whitespace patterns. The interplay between spaces, tabs, line feeds, and other whitespace characters has produced some of the longest-running formatting debates in the entire history of software development.

In the ASCII encoding table, Line Feed is assigned code point 10 in decimal (0x0A hexadecimal, 012 octal, 00001010 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 Line Feed works reliably across all operating systems, programming languages, and internet protocols.

Related ASCII Characters

Nearby ASCII Codes

DecHexOctBinCharName
50x050o00500000101ENQ
60x060o00600000110ACK
70x070o00700000111BEL
80x080o01000001000BS
90x090o01100001001HT
100x0A0o01200001010LF
110x0B0o01300001011VT
120x0C0o01400001100FF
130x0D0o01500001101CR
140x0E0o01600001110SO
150x0F0o01700001111SI

Explore the Full ASCII Table

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