Copy, type, and use

Backslash Symbol

The backslash \ is U+005C REVERSE SOLIDUS. It is used in file paths, escape sequences, regular expressions, and several technical notations.

Character
\
Unicode
U+005C

Backslash Symbol Copy and Paste

Press the Copy button beside \, then paste it with Ctrl+V on Windows, Command+V on Mac, or the Paste command on mobile.

Copy the backslash symbol One click copies the exact Unicode character.
  1. 1
    Copy

    Press the button to copy \.

  2. 2
    Place the cursor

    Open the message, document, form, or profile where you need it.

  3. 3
    Paste

    Use Ctrl+V, Command+V, or the mobile Paste command.

ProseProgrammingData formatsTypography references

What Is the Backslash Symbol?

The backslash \ is the ASCII character U+005C REVERSE SOLIDUS. Its function depends on the surrounding language or notation, including Windows-style paths, source-code escapes, regular expressions, and set-difference conventions.

Prose

Programming

Data formats

Typography references

Backslash Symbol Variants and Related Forms

Forward slash

Solidus

Set minus

Mathematical set difference

Fullwidth reverse solidus

Fullwidth form

Vertical Bar Symbol |

The vertical bar | is U+007C VERTICAL LINE and is used in…

Brace Symbol {}

The characters { and } are U+007B LEFT CURLY BRACKET and U+007D…

Parentheses Symbol ()

() is a two-character pair formed by U+0028 LEFT PARENTHESIS and U+0029…

Absolute Value Symbol (|x|)

The absolute value symbol is |x|. Absolute value is written with vertical…

Underscore Symbol (_)

The underscore symbol is _. _ is U+005F LOW LINE, commonly called…

How to Type the Backslash Symbol

Choose your device or app to insert the backslash symbol without copying it from another page.

Backslash Symbol on Windows

In Microsoft Word, type 005C and press Alt+X. In other Windows apps, use Character Map or copy \ from this page.

Backslash Symbol on Mac

Open Character Viewer with Control+Command+Space, search for reverse solidus, or copy \ from this page.

Backslash Symbol on iPhone and iPad

Tap the copy button for \, paste it into the target app, and verify the backslash after insertion.

Backslash Symbol on Android

Tap the copy button for \, paste it into the target app, and verify the backslash after insertion.

Backslash Symbol on Chromebook

With Unicode input enabled, press Ctrl+Shift+U, type 5c, and press Enter; otherwise copy \.

Backslash Symbol on Microsoft Word

Type 005C, then press Alt+X to convert the code to \.

Backslash Symbol on Google Docs

Use Insert > Special characters and search for reverse solidus, or paste \ from this page.

Backslash Symbol Unicode and HTML Codes

Use these values when you need the backslash symbol in HTML, CSS, source code, or a character reference.

Unicode U+005C
Unicode name REVERSE SOLIDUS
HTML decimal \
HTML hex \
CSS escape 5C

How to Use and Format the Backslash Symbol

Format \ according to the language or notation in which it appears. In a Windows-style path, an escape sequence, or a regular expression, preserve U+005C exactly because replacing it with / or ∖ can change the result.

This page covers the ASCII backslash U+005C REVERSE SOLIDUS. Forward slash /, set minus ∖, and fullwidth reverse solidus \ are distinct characters. Keep the backslash selectable, label it when used in an interface, and verify it in the final font and export format.

  • Preserve \ exactly in file paths, commands, escapes, and regular expressions

  • Do not substitute /, ∖, or \ without an explicit reason

  • Follow the spacing rules of the destination language or notation

  • Keep \ as selectable Unicode text when possible

  • Verify U+005C after import, export, or sanitization

  • Use \ or \ only when an HTML character reference is required

  • Add a readable label when \ is used as a control or diagram item

  • Test the backslash in the final font, mobile layout, PDF export, and screen-reader workflow

Backslash Symbol Examples

  • C:\Users\Name
  • \n escape sequence
  • A \ B
  • Regex: \d+
  • Read as backslash
  • Unicode record: U+005C REVERSE SOLIDUS
  • HTML decimal: \
  • HTML hexadecimal: \
  • CSS escape: 5C
  • Accessible text label: Backslash Symbol

Common Backslash Symbol Mistakes

  • Replacing \ with / in a file path or command
  • Confusing \ with the mathematical set-minus character ∖
  • Losing a backslash from an escape sequence such as \n
  • Adding spaces inside a regular-expression token
  • Assuming every font draws \ at the same angle
  • Converting \ to an image when selectable text is needed
  • Publishing \ without checking U+005C after export
  • Using \ as the only accessible name of a control

More About the Backslash Symbol

Backslash Symbol uses the character \ (U+005C REVERSE SOLIDUS). It is the ASCII backslash used in Windows-style file paths, escape sequences, regular expressions, and several technical notations. The page covers this exact character; the forward slash /, mathematical set minus ∖, and fullwidth reverse solidus \ are separate Unicode values with different uses. Common examples include C:\Users\Name for a file path, \n for a newline escape sequence, A \ B for set difference in conventions that use the ASCII backslash, and \d+ in a regular expression. Each example depends on its language or notation. A backslash in source code does not automatically have the same function in prose, mathematics, a command shell, or a data format, so the surrounding syntax must be preserved. The most important editing mistake is silently replacing \ with /. That change can break a path, an escape sequence, or a pattern even though both characters are diagonal strokes. Editors should also distinguish \ from ∖ and \, keep the character as selectable text, and provide a readable label when it appears in an interface control or diagram. Font differences may change the angle or length of the stroke, but they do not change the encoded value U+005C. For HTML, the backslash may be written literally in UTF-8, as \, or as \. CSS source can represent it with the escape 5C when an escape is required by the surrounding syntax. In Microsoft Word, typing 005C followed by Alt+X produces \. ChromeOS Unicode input can use Ctrl+Shift+U, 5c, and Enter. In other applications, copying the character from this page is reliable as long as the pasted value is checked. Formatting follows the rules of the destination language. Keep a Windows path such as C:\Users\Name intact, preserve both characters in an escape such as \n, and do not add spaces inside a regular-expression token unless the pattern requires them. The cited Unicode, HTML, accessibility, and mathematical-notation references support the encoded identity and the distinctions used on this page. They do not make the backslash interchangeable with every diagonal mark.

Backslash Symbol FAQ

What is the Unicode value of Backslash Symbol?

The backslash is U+005C REVERSE SOLIDUS.

Is \ the same as /?

No. Backslash \ and forward slash / are different characters with different uses.

How is \ written in HTML?

Use literal UTF-8 \, decimal \, or hexadecimal \.

Why can replacing \ break code?

File paths, escape sequences, commands, and regular expressions may assign a specific function to U+005C.

Is ∖ the same as \?

No. ∖ is the dedicated mathematical set-minus character, while \ is ASCII REVERSE SOLIDUS.

How should I verify a copied backslash?

Confirm that the pasted value remains U+005C and test it in the destination syntax.