Forward Slash (/)
U+002FSOLIDUSBasic Latin
Also known as slashstroke
The forward slash / is the keyboard symbol that separates parts of web addresses, file paths, and dates. Its Unicode name is SOLIDUS; it also means “or” in phrases such as and/or, and division in code.
Symbol codes
- Unicode
U+002F- Alt Code
Alt+47- HTML Code
/- CSS Code
\2F- HTML Entity
/- HEX Code
/
Other slash symbols
- Backslash: The backslash, which leans the other way and is used in Windows file paths.
- Fraction Slash: The fraction slash, used to build typeset fractions such as 3⁄4.
- Division Slash: The division slash, a mathematical operator.
- Fullwidth Solidus: The fullwidth slash, used in East Asian text.
About Forward Slash
The forward slash / is the keyboard symbol that separates parts of web addresses, file paths, and dates. Its Unicode name is SOLIDUS; it also means “or” in phrases such as and/or, and division in code.
/ is encoded in Unicode as code point U+002F (decimal 47). Its official Unicode name is SOLIDUS.
It belongs to the Basic Latin block (U+0000–U+007F), its General Category is Other Punctuation (Po), and it was added in Unicode 1.1, released in 1993. Its script value is Common: it is shared across writing systems rather than belonging to one.
Common uses
- Separating parts of a URL, as in example.com/blog
- Writing dates and fractions, as in 11/19 and 1/2
- Showing alternatives, as in yes/no
- Division in programming and spreadsheets
Examples
- Web address
- https://example.com/help
- Fraction
- 3/4
Sources: Unicode Character Database 18.0.0, the HTML Standard’s list of named character references, and Unicode’s code page mappings.
How to type or insert Forward Slash
- Windows
- Press the / key next to the right Shift key on U.S. and U.K. layouts, or / on the numeric keypad.
- macOS
- Press the / key next to the right Shift key on U.S. and British layouts.
- iPhone and iPad
- Tap 123; / is in the second row.
- Android
- Tap ?123; / is on the first page of the symbols keyboard.
- Any device
- Select Copy symbol, then paste with Ctrl+V, or ⌘+V on a Mac.
- Windows Alt code
- With Num Lock on, hold Alt, type 47 on the numeric keypad, then release Alt.
- Microsoft Word
- Type
002F, then press Alt+X. - macOS Character Viewer
- Press Control+⌘+Space and search for “solidus”.
- Linux (GTK and IBus)
- Press Ctrl+Shift+U, type
002f, then press Space. - HTML
/or/. In a UTF-8 page you can also paste the character itself.- CSS
content: "\2F";in a::beforeor::afterrule.- JavaScript
"\u002F"
Technical properties
Unicode 18.0.0
- Code point
- U+002F
- Decimal
- 47
- Unicode name
- SOLIDUS
- Block
- Basic Latin · U+0000–U+007F
- General category
- Other Punctuation (Po)
- Script
- Common
- Introduced
- Unicode 1.1
- JavaScript
- "\u002F"
Common questions about Forward Slash
What is the Forward Slash symbol?
The forward slash / is the keyboard symbol that separates parts of web addresses, file paths, and dates. Its Unicode name is SOLIDUS; it also means “or” in phrases such as and/or, and division in code. In Unicode it is U+002F, officially named SOLIDUS. It is also known as slash and stroke.
What is the difference between a forward slash and a backslash?
The forward slash / leans right and is used in web addresses, dates, and fractions. The backslash \ leans left and is used in Windows file paths and as an escape character in programming.
Is the slash called a solidus or a virgule?
All three names refer to the same keyboard character. Unicode calls it SOLIDUS; “slash” and “forward slash” are the everyday names.
How do I copy and paste the Forward Slash symbol?
Select Copy symbol at the top of this page, then paste with Ctrl+V on Windows and Linux or ⌘+V on a Mac. On a phone, tap Copy symbol, then touch and hold where you want it and choose Paste. / pastes as ordinary text, so it works in documents, messages, and code.
How do I type the Forward Slash symbol on Windows?
Turn on Num Lock, hold Alt, type 47 on the numeric keypad, then release Alt. In Microsoft Word, type 002F and press Alt+X to turn the code into /. In any app, open Character Map from the Start menu, search for “solidus”, then select and copy the character.
How do I type the Forward Slash symbol on a Mac?
Press Control+⌘+Space to open the Character Viewer, search for “solidus”, and double-click the result to insert it.
How do I type the Forward Slash symbol on an iPhone or Android phone?
The simplest way is to copy it from this page and paste it where you need it. If you use it often, save it as a text shortcut: on iPhone, go to Settings > General > Keyboard > Text Replacement; with Gboard on Android, go to Gboard settings > Dictionary > Personal dictionary.
Can I use the Forward Slash symbol in Word, Google Docs, and social media?
Yes. / is a standard Unicode character, so you can paste it into Microsoft Word, Google Docs, emails, and posts or bios on Instagram, X, Facebook, and TikTok. In Google Docs you can also choose Insert > Special characters and search for “solidus”. In Word, choose Insert > Symbol > More Symbols, set from to Unicode (hex), and enter 002F as the character code.
Is the Forward Slash symbol an emoji?
No. / is a text symbol, not an emoji. It takes the color and size of the surrounding text, and its exact shape depends on the font.
Why does the Forward Slash symbol show as a box or question mark?
An empty box or a question mark means the font on that device has no glyph for /. The character is still there: it appears correctly wherever a font covers Unicode’s Basic Latin block, and free font families such as Google Noto cover nearly all of Unicode.
What are the HTML and CSS codes for the Forward Slash symbol?
In HTML, write / (decimal) or / (hexadecimal), or the named entity /. In CSS, use content: "\2F"; in a ::before or ::after rule, and in JavaScript "\u002F". See all HTML codes.