Backslash (\)
The backslash (\) is a line that leans back, from top left to bottom right. It is a computer character: Windows separates the folders in a file path with it (C:\utilities). It is the mirror image of the ordinary forward slash (/).
Easily confused with
- Slash (/)The slash (/), also called the forward slash, the virgule, the solidus or, in British English, the oblique, is a line leaning to the right. It separates alternatives (and/or), stands for “per” (miles/hour), divides the parts of web addresses and dates, and marks line breaks when verse is quoted in running text.
- Yen and yuan sign (¥)The yen sign (¥) stands for two currencies: the Japanese yen and the Chinese yuan (renminbi). The official form in both countries has two crossbars.
- Won sign (₩)The won sign (₩) stands for the won, the currency of South Korea (and, as a separate currency, of North Korea). It is a W crossed by one or two horizontal lines.
- Set difference (A ∖ B)A ∖ B, read “A minus B”, is the set difference: the elements of A that are not in B. It is also written A − B.
How to read it
Unicode names it REVERSE SOLIDUS (U+005C), with backslash as its other name; the ordinary slash is SOLIDUS (U+002F), also called slash, forward slash and virgule. The American Heritage Dictionary defines the backslash simply as “a backward virgule”. The forward slash is the one with jobs in ordinary writing: the dictionary lists separating alternatives (and/or), standing for “per” (miles/hour), dividing the parts of a web address and marking line breaks in quoted verse. Windows uses the backslash between the parts of a file path; Microsoft’s documentation calls it “the standard Windows separator” and says forward slashes in a Windows path are converted to it.
Also searched as: \, backslash meaning, backslash symbol, backslash vs forward slash.
Backslash or forward slash
The two lean in opposite directions. Web addresses use the forward slash (the American Heritage Dictionary’s example is whitehouse.gov/kids/patriotism/), and Windows file paths use the backslash. Unicode lists two mathematical look-alikes of the backslash, the set minus ∖ (U+2216) and the mathematical falling diagonal ⟍ (U+27CD).
The backslash in MATLAB
In MATLAB the backslash is the operator for solving a system of linear equations. Cleve Moler, who developed MATLAB, wrote in 2013 that every computer system he worked with in the 1970s had a backslash, which he put down to Bemer and the coming ASCII standard. He later learned that the German mathematician Kurt Hensel had used the same notation in a paper of 1928.
Clean up pasted text
stringmash.comText cleanerTurn curly quotes, dashes, non-breaking spaces and hidden characters into plain ones, in one pass.Read next
- Next in Punctuation and typographic symbolsVertical bar (|)The vertical bar (|), called the pipe in computing, is a single upright line. On a command line it joins programs so that one program’s output becomes the next one’s input; in maths, a pair of bars around a number means its absolute value.
- The same shape in Asian flagsFlag of JordanJordan’s flag has three equal stripes of black, white and green and a red triangle at the pole holding a white seven-pointed star. Al-Mamlaka, Jordan’s public broadcaster, explains the stripes as the Umayyad, Abbasid and Fatimid caliphates, the red triangle as the Hashemite family, and the seven points of the star as the seven verses of the Fatiha, the opening chapter of the Quran.
More punctuation and typographic symbols
The same shape elsewhere
Browse symbols drawn with lines.
Sources
- C0 Controls and Basic Latin: Range 0000–007F (code chart), The Unicode Standard, Version 18.0, Unicode Consortium, Basic Latin, 002F and 005C
- backslash (American Heritage Dictionary entry), The American Heritage Dictionary of the English Language, Fifth Edition, HarperCollins Publishers, backslash, n.
- slash (American Heritage Dictionary entry), The American Heritage Dictionary of the English Language, Fifth Edition, HarperCollins Publishers, slash, n. 2
- How ASCII Got Its Backslash, Bob Bemer, Computer History Vignettes, bobbemer.com, Full text
- Guide to the Robert (Bob) Bemer papers, Finding aid, collection X3054.2005, catalog 102724781 (2018), Computer History Museum, Abstract; Biographical/Historical Note
- Backslash, Cleve Moler, Cleve’s Corner, 19 August 2013, MathWorks, Father of ASCII; Choosing backslash; Hensel
- File path formats on Windows systems, .NET documentation, Microsoft Learn, Canonicalize separators
Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 1, 2026. How we research
Added .