DevKits

ASCII 13

Carriage Return (CR)

Control character

Returns the cursor to the start of the line (\r). Used with LF as line terminator on Windows (CRLF).

All encodings at a glance

Decimal13
Hexadecimal0x0D
Octal0015
Binary00001101
HTML numeric entity
URL encoding%0D
UTF-8 bytes0x0D

Code snippets

JavaScript

String.fromCharCode(13); // "CR"
13.toString(16); // "0d"

Python

chr(13)           # control char CR
ord(chr(13))      # 13
hex(13)           # '0x0d'

HTML

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

Nearby codes