Home › Keyboard Help › Backslash

Backslash on Keyboard (\) — where it is & how to type it

Find the backslash key on US, UK, German, French and Mac keyboards, type it with Alt 92 on Windows, or tap below to copy it.

Tap to copy the backslash
Alt 92WindowsU+005CUnicode

Where is the backslash key?

It depends on your keyboard layout.

US keyboard — above Enter

PEnter

On US keyboards, the \ key sits between ] and Enter (sometimes one row lower, right above Enter). Shift + \ types |.

UK keyboard — left of Z

ShiftZXC

On UK keyboards, the \ key is between the left Shift and Z. Shift + \ types |.

\

Backslash & Related Symbols

Click any symbol to copy it.

8 characters

How to type a backslash on every keyboard

Find your device or layout.

Keyboard / deviceHow to type \
US (Windows)Key above or next to Enter
UK (Windows)Key left of Z, next to left Shift
German (QWERTZ)AltGr + ß
French (AZERTY)AltGr + 8
SpanishAltGr + º (key left of 1)
Any Windows PCAlt + 92 on the numeric keypad
Mac (US)\ key above Return
Mac (German)⌥ + ⇧ + 7
iPhone & iPad123 › #+= › \
Android (Gboard)?123 › =\< › \
Chromebook / LinuxCtrl + Shift + U, then 5c and Enter

Backslash vs forward slash

They lean in opposite directions and do different jobs.

SymbolNameUsed for
\Backslash
leans back · U+005C
Windows file paths (C:\Users), escape codes in programming (\n, \t), regular expressions.
/Forward slash
leans forward · U+002F
Website addresses (https://), Mac/Linux paths, fractions (1/2), “and/or”.

Common uses — copy an example

Tap to copy the whole thing.

Backslash key not working?

Quick fixes for the most common problems.

It types # or another symbol: Windows is set to the wrong layout (often UK on a US keyboard). Press Win + Space to switch.
It shows ¥ or ₩: Japanese and Korean fonts draw the backslash as ¥ or ₩. It is still a backslash — file paths and code work normally.
Your keyboard has no \ key: hold Alt and type 92 on the numeric keypad, or copy it from this page.
The key does nothing: it may be stuck or damaged — see Keyboard not working.

Frequently asked questions

Quick answers about the backslash.

Where is the backslash key on a keyboard?

On US keyboards it is above or next to Enter. On UK keyboards it is to the left of Z. It usually shares the key with the vertical bar |.

What is the Alt code for backslash?

Hold Alt and type 92 on the numeric keypad.

How do I type a backslash on a German or French keyboard?

German: AltGr + ß. French AZERTY: AltGr + 8.

Why does my backslash look like ¥ or ₩?

Japanese and Korean fonts show the backslash character as the yen or won sign. It is the same character, so paths and code still work.

What is the difference between backslash and forward slash?

The backslash (\) leans back and is used in Windows paths and code. The forward slash (/) leans forward and is used in web addresses and fractions.

What is the backslash also called?

Its official name is “reverse solidus”. People also call it a backslant, backwhack or simply “slash back”.

Related guides

More keyboard help and symbols.

Copied!