DevKits

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

Decimal10
Hexadecimal0x0A
Octal0012
Binary00001010
HTML numeric entity

URL encoding%0A
UTF-8 bytes0x0A

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

&#10;   <!-- numeric entity (no named entity for this character) -->

Nearby codes