ASCII 10
Line Feed (LF)
Control character
The newline character (\n) on Unix and modern systems. Advances to the next line.
All encodings at a glance
| Decimal | 10 |
| Hexadecimal | 0x0A |
| Octal | 0012 |
| Binary | 00001010 |
| HTML numeric entity | |
| URL encoding | %0A |
| UTF-8 bytes | 0x0A |
Code snippets
JavaScript
String.fromCharCode(10); // "LF"
10.toString(16); // "0a"Python
chr(10) # control char LF
ord(chr(10)) # 10
hex(10) # '0x0a'HTML
<!-- numeric entity (no named entity for this character) -->