Forward Slash Symbol codes and values
| Format | Value |
|---|---|
| Unicode | U+002F |
| HTML (decimal) | / |
| HTML (hex) | / |
| CSS | \002F |
| JavaScript | \u002F |
The official Unicode name is "Solidus".
How to type the forward slash symbol
Windows
- In Microsoft Word, type
002Fand press Alt + X to turn the code into /. - Or press Win + . to open the emoji and symbol panel and search for it.
Mac
- Press Control + Command + Space to open the Character Viewer and search for "solidus".
- Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type
002F.
Linux
- In GTK apps press Ctrl + Shift + U, type
002fand press Enter.
Web pages
Write / in HTML, or paste the character directly into a UTF-8 page.
Encoding details
| Encoding | Value |
|---|---|
| Code point | U+002F (decimal 47) |
| UTF-8 bytes | 2F |
| URL encoded | %2F |
| Category | Po |
What the forward slash symbol means
The forward slash is a common punctuation mark used to indicate division, fractions, or alternatives. It also serves as a directory separator in web addresses and file paths across many operating systems.
Using the forward slash symbol well
This character is standard ASCII (U+002F) and requires no special encoding. Avoid adding spaces around it in file paths or URLs, but consider spacing rules when using it to separate words in prose.
Characters next to it in Unicode
| Character | Code | Name |
|---|---|---|
| , | U+002C | Comma |
| - | U+002D | Hyphen-Minus |
| . | U+002E | Full Stop |
| 0 | U+0030 | Digit Zero |
| 1 | U+0031 | Digit One |
| 2 | U+0032 | Digit Two |
FAQ
What is the Unicode for the forward slash symbol?
The forward slash symbol / is U+002F (Solidus).
How do I type / on a keyboard?
There is no classic Alt code for it. On Windows type 002F in Word and press Alt + X, on Mac use the Character Viewer, and on Linux press Ctrl + Shift + U then 002f.
What is the HTML code for /?
Use /. The hexadecimal form is /.
More symbols
- ∃ There Exists Symbol: previous page
- ♪ Eighth Note Symbol: next page
- Symbols to copy and paste: the full list