All representations
| Format | Value |
|---|
| Name | CR – Carriage return |
| Decimal | 13 |
| Hexadecimal | 0x0D |
| Octal | 015 |
| Binary | 00001101 |
| HTML numeric entity | / 
 |
| Unicode code point | U+000D |
| URL encoded | %0D |
| Escape sequence | \r |
| UTF-8 bytes | 0D (one byte, same as ASCII) |
Notes
- Windows text files end each line with CR LF (13 10). Classic Mac OS used CR alone.
- Written as
\r. - Caret notation:
^M.
Nearby codes
| Dec | Hex | Char | Name |
|---|
| 11 | 0B | VT | VT – Vertical tab |
| 12 | 0C | FF | FF – Form feed |
| 14 | 0E | SO | SO – Shift out |
| 15 | 0F | SI | SI – Shift in |
Get this code in code
JavaScript String.fromCharCode(13)
Python chr(13)
C (char)13