EmojiKite

Slash (/)

U+002F · SOLIDUS · Unicode 1.1 (1993)

How to type /

Windows

Alt code (numeric keypad)

Alt+47

Turn on Num Lock, hold the Alt key, type 47 on the numeric keypad and let go of Alt: / appears.

Uses the old DOS code page 437, which US-English Windows uses for Alt codes without a leading 0; on Windows set to other languages the result can differ.

Word and Outlook: Alt + X

002F Alt+X

Type 002F and press Alt+X right after it: Word turns the code into /. Press Alt+X again to turn it back into the code.

Emoji and symbols panel (Windows 10 and 11)

Win+.

Press Win + full stop (.) to open the panel, go to the Symbols tab (Ω) and pick /.

No numeric keypad on your laptop? See the other ways in our Alt codes guide.

Mac

Character Viewer

Ctrl+⌘ Cmd+Space

Press Ctrl+⌘+Space (or the Globe key + E), search for “slash” and click / to insert it.

More shortcuts in our keyboard guide

iPhone

Make a shortcut (Text Replacement)

Turn a short word into / once and type it in any app:

  1. Copy / from this page.
  2. Open Settings › General › Keyboard › Text Replacement and tap +.
  3. Paste / as the Phrase and type a Shortcut, for example ;slash.
  4. Now type ;slash anywhere: the keyboard suggests /.

More shortcuts in our keyboard guide

Android

Make a shortcut (Gboard personal dictionary)

Teach your keyboard a short word that turns into /:

  1. Copy / from this page.
  2. Open Gboard settings › Dictionary › Personal dictionary, choose your language and tap +.
  3. Paste / as the word and type a shortcut, for example ;slash.
  4. Type ;slash in any app and tap / in the suggestions.

More shortcuts in our keyboard guide

Linux

Unicode input

Ctrl+Shift+U 002f Enter

Press Ctrl+Shift+U, type 002f and press Enter or Space. Works in GTK apps and with IBus (GNOME, Ubuntu, Fedora).

More shortcuts in our keyboard guide

What / means and how it is used

Slash (/) is the Unicode character U+002F, officially called SOLIDUS. It is in the Basic Latin block and has been part of Unicode since version 1.1 (1993).

People also call it or search for it as: oblique, solidus, stroke, virgule, whack.

On this site it is part of the punctuation (109 symbols), next to © ® ™ § .

Codes for HTML, CSS and JavaScript

Tap Copy next to the code you need.

HTML entity/
HTML decimal/
HTML hex/
CSScontent: "\002F";
JavaScript\u002F
URL%2F
UTF-8 bytes2F
UnicodeU+002F

Will it show on my friend's phone?

/ has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Don't confuse / with

These look alike but are different characters. Search, sorting and screen readers treat them differently, so copy the one you mean.

Names in other languages

What / is called in the 12 languages of this site (Unicode CLDR and our editors). Tap a name to open that language's page.

LanguageName
EnglishSlash
PortuguêsBarra
EspañolBarra diagonal
ItalianoBarra (slash)
FrançaisBarre oblique (slash)
DeutschSchrägstrich
TürkçeEğik çizgi
Bahasa IndonesiaGaris miring
PolskiUkośnik
РусскийСлэш (косая черта)
日本語スラッシュ
한국어슬래시
All Punctuation →

Questions people ask

How do I type / on a laptop without a numeric keypad?

On Windows press Win + full stop (.) and pick / in the Symbols tab, or in Word type 002F and press Alt+X.

What is the difference between / and ⁄?

/ is the slash (U+002F). ⁄ is a different character: fraction slash (U+2044, General Punctuation block). They can look alike, but computers treat them as different letters, so a search for one will not find the other.

How do I type / on an iPhone?

The iPhone keyboard has no key for /. Copy it here, then add it in Settings › General › Keyboard › Text Replacement with a shortcut like ;slash.

What is the HTML code for the slash?

Use the entity / or the numeric code / (hex /). In CSS write \002F, in JavaScript \u002F.

Will / show on every phone?

/ has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Copy it yourself

Your browser blocked automatic copying. The text is selected: long-press it and choose Copy (or press Ctrl+C / ⌘C).

Copy as

Open the full page →