Xerobit

Backslash Symbol \: Copy and Paste

The backslash symbol is \. Click the button to copy it, or use the Unicode value U+005C, the HTML code or the keyboard shortcuts below to type it anywhere.

  • Symbol
    \
  • Unicode
    U+005C
  • HTML (decimal)
    \
  • HTML (hex)
    \
  • CSS
    \005C
  • JavaScript
    \u005C

Backslash Symbol codes and values

FormatValue
UnicodeU+005C
HTML (decimal)\
HTML (hex)\
CSS\005C
JavaScript\u005C

The official Unicode name is "Reverse Solidus".

How to type the backslash symbol

Windows

  1. In Microsoft Word, type 005C and press Alt + X to turn the code into \.
  2. Or press Win + . to open the emoji and symbol panel and search for it.

Mac

  1. Press Control + Command + Space to open the Character Viewer and search for "reverse solidus".
  2. Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type 005C.

Linux

  1. In GTK apps press Ctrl + Shift + U, type 005c and press Enter.

Web pages

Write \ in HTML, or paste the character directly into a UTF-8 page.

Encoding details

EncodingValue
Code pointU+005C (decimal 92)
UTF-8 bytes5C
URL encoded%5C
CategoryPo

What the backslash symbol means

The backslash is a typographical character primarily used in computing to denote file paths in Windows operating systems. Programmers also use it as an escape character in many coding languages and regular expressions.

Using the backslash symbol well

This is ASCII character U+005C. Be careful when writing string literals in code, as you often need to type two backslashes to represent a single literal backslash character.

Characters next to it in Unicode

CharacterCodeName
YU+0059Latin Capital Letter Y
ZU+005ALatin Capital Letter Z
[U+005BLeft Square Bracket
]U+005DRight Square Bracket
^U+005ECircumflex Accent
_U+005FLow Line

FAQ

What is the Unicode for the backslash symbol?

The backslash symbol \ is U+005C (Reverse Solidus).

How do I type \ on a keyboard?

There is no classic Alt code for it. On Windows type 005C in Word and press Alt + X, on Mac use the Character Viewer, and on Linux press Ctrl + Shift + U then 005c.

What is the HTML code for \?

Use \. The hexadecimal form is \.

More symbols