Slash symbol /

Click to copy a forward slash /, a backslash \ or a special slash such as the fraction slash ⁄ and division slash ∕. Tips below explain which one to use in URLs, file paths, fractions and file names.

How to type it 28 symbols on this page

Slash symbols9

Backslash symbols8

Related lines4

Slash shortcuts7

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 “solidus”.

In Microsoft Word, type 002F and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “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+002F. Every format is on the solidus page.

Codes for every slash symbol

SymbolNameUnicodeHTMLAlt code
solidus U+002F / –
fraction slash U+2044 ⁄ –
division slash U+2215 ∕ –
fullwidth solidus U+FF0F / –
big solidus U+29F8 ⧸ –
rising diagonal U+27CB ⟋ –
box drawings light diagonal upper right to lower left U+2571 ╱ –
double solidus operator U+2AFD ⫽ –
triple solidus binary relation U+2AFB ⫻ –
reverse solidus U+005C \ –
reverse solidus operator U+29F5 ⧵ –
fullwidth reverse solidus U+FF3C \ –
small reverse solidus U+FE68 ﹨ –
big reverse solidus U+29F9 ⧹ –
falling diagonal U+27CD ⟍ –
box drawings light diagonal upper left to lower right U+2572 ╲ –
ocr double backslash U+244A ⑊ –
box drawings light diagonal cross U+2573 ╳ –
vertical bar (absolute value) U+007C | –
broken bar U+00A6 ¦ Alt 0166
double vertical line U+2016 ‖ –

Forward slash vs. backslash

The forward slash / leans to the right. It is the one in web addresses (example.com/page), dates (10/01/2026), fractions (3/4), "per" (km/h) and pairs like and/or. Its formal name is solidus, and it is also called a stroke, an oblique or a virgule.

The backslash \ leans the other way. It is mainly a computer character: Windows uses it in file paths (C:\Users), and programming languages use it to escape characters (\n means a new line). Outside computing it has almost no use, so for a date, fraction or web address you want the forward slash.

Fraction slash, division slash and other special slashes

Unicode has several slashes for specific jobs. The fraction slash ⁄ is meant for building fractions, and some fonts use it to draw a proper fraction with small numbers. The division slash ∕ is the math operator for division, the big solidus ⧸ is a larger math slash, and the fullwidth / fits Chinese and Japanese text. The box-drawing diagonals ╱ ╲ ╳ join up without gaps, which makes them handy for text art and borders.

Look-alikes also help where the real slash is forbidden. Windows file names cannot contain / or \, so a name like "Q1∕Q2 report" uses the division slash instead. Keep the real slash in URLs and paths, where software must recognize it.

How to type a slash

On US keyboards, / shares a key with ? next to the right Shift key, the number pad has its own / key, and \ sits above Enter. With Alt codes, Alt + 47 types / and Alt + 92 types \. On phones, / is on the 123 keyboard and appears on the main keyboard when you type a web address.

In Discord, Slack and many games, a / at the start of a message runs a command such as /shrug. Writing fractions? The fraction symbols page has ready-made ½ ¾ ⅓ characters, and the division symbol page covers ÷.

Frequently asked questions

What is the difference between / and \?

The forward slash / is used in web addresses, dates and fractions. The backslash \ leans left and is used in Windows file paths and programming.

What is the Alt code for a slash?

Alt + 47 types a forward slash / and Alt + 92 types a backslash \ on Windows.

What is a fraction slash?

The fraction slash ⁄ (U+2044) is a special slash for writing fractions like 3⁄4. Some fonts use it to draw a true fraction with small numbers.

Why can't I use a slash in a file name?

Windows reserves / and \ for folder paths. Paste a look-alike such as the division slash ∕ if you need a slash in a file name.