\

Backslash Symbol (\)

Copy and paste the backslash \ with one click

Unicode Character
\
Unicode Hex
U+005C
HTML Entity
\
Decimal Code
92

About the Backslash Symbol

Last reviewed on October 31, 2026

\ leans from top left to bottom right. Windows file paths use it, as in C:\Users, and programming languages use it to escape characters, as in \n for a new line. It is the mirror of the forward slash.

Its official Unicode name is Reverse Solidus. Browse the Punctuation & Special page for related characters.

How to Type Backslash on a Keyboard

Windows: Press the backslash key on a US keyboard
Mac: Press the backslash key
Microsoft Word: Type 005C then press Alt+X
Phone & tablet: Copying \ from this page is fastest — see our mobile typing guide

Backslash Code for HTML, CSS & JavaScript

HTML: \
CSS: content: '\005C';
JavaScript: '\u005C'
Unicode: U+005C

Frequently Asked Questions

How do I type backslash \ on Windows?

Press the backslash key on a US keyboard. You can also copy \ straight from this page.

How do I type \ on a Mac?

Press the backslash key.

What is the Unicode and HTML code for backslash?

It is Unicode code point U+005C, named Reverse Solidus. In HTML, use \ or the numeric reference \.