How to Type Backslash \
Keyboard shortcuts for Windows, Mac, Chromebook, iPhone & Android. Type or copy backslash instantly.
Backslash & Related Characters to Copy
Click any character to copy instantly
The backslash \ is an essential character in programming, file paths, and escape sequences — yet it can be surprisingly hard to find on some keyboards. On US/UK layouts the key is easy to locate, but on German (QWERTZ) and many international keyboards, the backslash is hidden behind key combinations like AltGr+ß.
Whether you need it for Windows file paths (C:\Users\), programming languages, LaTeX commands, or regular expressions, this guide shows you exactly how to type backslash on every major platform and keyboard layout.
All characters on this page are standard Unicode text that works everywhere — in code editors, terminals, browsers, documents, and social media.
When to reach for how to type backslash
How to Type Backslash \ isn't the kind of tool you use every day — it's the kind you reach for at the exact moment a plain text editor runs out of options. A word counter ignores social-media character limits; a case converter doesn't know CamelCase from kebab-case; a base-64 encoder isn't installed on your phone. This page solves one narrow problem well, and it does so without a round-trip to any server: every transformation happens in the browser tab, so the text you paste stays on your device.
The speed difference is measurable. Paste a 10 000-word document and the output updates as you type — there's no latency, no queue, no sign-up wall. Because the output is ordinary Unicode text, it pastes into any app that accepts keyboard input: chat windows, forms, spreadsheets, documents. If you use how to type backslash often, bookmark this page and share the URL with colleagues — their session state will look identical to yours, cache lifetime a full year, page weight under 150 KB.
Backslash FAQ
The alt code for backslash \ is Alt+92. Hold Alt, type 92 on the numeric keypad, then release. Make sure Num Lock is enabled. This works in all Windows applications.
On a German QWERTZ keyboard, press AltGr+ß (the ß key is to the right of the 0 key). AltGr is the right Alt key. On German Mac keyboards, press Option+Shift+7 or Option+ß depending on your macOS version.
The backslash \ leans to the left (top-right to bottom-left). The forward slash / leans to the right (bottom-left to top-right). Backslash is used in Windows file paths (C:\Users) and escape sequences. Forward slash is used in URLs (https://example.com) and Unix/Mac file paths.
On a US/UK Mac keyboard, press the \ key located above the Return key. On German Mac keyboards, press Option+Shift+7 or Option+ß. You can also use the Character Viewer (Control+Command+Space) and search for backslash.
In programming, the backslash \ serves as an escape character. It tells the computer that the next character has a special meaning: \n is a newline, \t is a tab, \\ is a literal backslash. It's also used in Windows file paths, regular expressions, and LaTeX commands.
Yes! The backslash \ is a standard Unicode character (U+005C) that works everywhere: in Instagram bios, tweets, Facebook posts, WhatsApp messages, and any other platform. It displays correctly on all devices and operating systems.