Reverse solidus

\ is the Unicode character “REVERSE SOLIDUS” (U+005C). It belongs to the Basic Latin block and was added in Unicode 1.1. Click it to copy, or use the codes below.

\ codes

UnicodeCode point U+005C
HTML codeDecimal, works in any HTML page \
HTML hexHexadecimal HTML code \
CSSFor the CSS content property \005C
JavaScriptEscape in JavaScript strings \u005C
PythonEscape in Python strings \u005C
URL encodedPercent-encoded UTF-8 %5C
UTF-8Bytes in UTF-8 5C
UTF-16Code units in UTF-16 005C

How to type \

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Press Win + . to open the emoji and symbol panel, then search for “reverse solidus”.

In Microsoft Word, type 005C and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “reverse solidus”.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+005C. Every format is on the reverse solidus page.

About \

Unicode name
REVERSE SOLIDUS
Code point
U+005C (92)
Block
Basic Latin
Category
Other Punctuation
Unicode version
1.1