Forward Slash Unicode Code Point
The forward slash is U+002F SOLIDUS. This guide covers its encodings and escapes, how it differs from lookalike slashes, and when substituting one is safe.
The ordinary forward slash on a keyboard is Unicode code point U+002F, formally named SOLIDUS. It sits in the Basic Latin block, has the decimal value 47, and is identical to the ASCII slash. This guide explains what that code point is, how it is written in common encodings and escape formats, how it differs from several characters that look like it, and what happens when a text transformation swaps the plain slash for a lookalike or reverses text around it.
Quick answer: is substituting or transforming the slash suitable for your use?
For anything that a program, search engine, file system, URL parser or screen reader must interpret, keep the plain U+002F. Only the plain slash works as a path separator, a URL path delimiter, a date or fraction separator in typed data, or a division operator in most programming languages.
A lookalike slash, such as the fraction slash or division slash, has a narrow benefit in typeset text, where it can give better fraction or math rendering in fonts that support it. The cost is that the substituted character is no longer the same character. Searches for "/" will not find it, code will not parse it, and readers or tools that compare text may treat it as different or suspicious. Use a lookalike only for display text where the visual result matters more than how machines handle it, and keep a plain-slash version wherever the text will be copied, searched, or processed.
Identifying the forward slash
These are the character's standard properties as published in the Unicode Character Database:
- Code point: U+002F
- Name: SOLIDUS
- Common names: forward slash, slash, stroke, virgule
- Block: Basic Latin (same as ASCII)
- General category: Po (Other Punctuation)
- Bidirectional class: CS (Common Separator)
- Bidi mirrored: No
The backslash is a separate character, U+005C REVERSE SOLIDUS. The two are often confused in speech, but their code points, uses and behavior differ.
How U+002F is written in common encodings and escapes
Because the slash is an ASCII character, it encodes as a single byte in UTF-8 and has the same numeric value in every Unicode encoding form. The common representations are:
UTF-8 bytes: 2F
UTF-16 code unit: 002F
UTF-32 code unit: 0000002F
HTML numeric (dec): /
HTML numeric (hex): /
HTML named (HTML5): /
URL percent-encoding: %2F
CSS escape: \2F
JavaScript / JSON: \u002F
Python: \u002f or chr(0x2F)
Two notes apply to the table above. JSON also permits the escape / for a slash, although an unescaped slash is equally valid. In URLs, %2F is not always treated the same as a literal slash in a path. Some servers and frameworks decode it into a separator and others keep it as data, so test the specific server before relying on either behavior.
How the forward slash differs from lookalike characters
Several Unicode characters look like a slash but have different identities and properties. Text tools that offer "fancy" or "styled" slashes usually substitute one of these:
| Code point | Name | Category | Typical purpose |
| U+002F | SOLIDUS | Po | General slash, paths, URLs, dates, division in code |
| U+2044 | FRACTION SLASH | Sm | Building fractions such as 1⁄2 in typesetting |
| U+2215 | DIVISION SLASH | Sm | Mathematical division operator |
| U+FF0F | FULLWIDTH SOLIDUS | Po | Slash sized to match East Asian full-width text |
| U+29F8 | BIG SOLIDUS | Sm | Large mathematical solidus |
| U+0338 | COMBINING LONG SOLIDUS OVERLAY | Mn | Strikes through the preceding character, as in negated relations |
| U+005C | REVERSE SOLIDUS | Po | Backslash, not a forward slash |
The differences matter in practice. Under NFKC or NFKD compatibility normalization, the fullwidth solidus folds back to U+002F. The fraction slash and division slash do not fold, so normalization will not turn them back into an ordinary slash. The combining overlay is not a standalone slash at all. It attaches to the character before it, and the not-equal sign U+2260 decomposes canonically to an equals sign followed by U+0338.
What reversal and mirroring actually do to a slash
The words "reverse" and "mirror" can refer to different operations, and each affects a slash differently.
- Character reversal changes stored order. Reversing the string a/b produces b/a. The slash stays U+002F because only its position changes. If the text contains combining marks or multi-code-point emoji, a naive code-point reversal can separate a mark from its base letter or break an emoji sequence. A careful tool reverses by grapheme cluster instead.
- Word reversal changes the order of words. A slash attached to a word, as in and/or, moves with that word unless the tool treats the slash as a separator.
- Mirrored-glyph substitution swaps characters for ones that look flipped. A forward slash appears flipped as a backslash, so mirror-text tools may replace U+002F with U+005C or with the mathematical U+29F5 REVERSE SOLIDUS OPERATOR. The stored character changes, so the result is different text that only looks like a mirrored version of the original.
- CSS presentation, such as a horizontal scale transform, flips how the text is drawn but leaves the stored characters unchanged. Copying it yields the original forward slash.
- Bidirectional display is a separate case. In right-to-left text, the Unicode Bidirectional Algorithm mirrors some paired characters such as parentheses. The solidus is not bidi-mirrored, so the algorithm does not turn it into a backslash. As a Common Separator, though, its visual position relative to neighboring numbers and letters can shift in mixed-direction text.
In short, the transformation changes the stored text only when it substitutes a character or reorders characters. A CSS flip or bidi layout changes appearance only.
Will the result stay readable and usable after copying or sharing?
Copying carries the stored characters and not the visual styling. A slash that was only flipped with CSS pastes as an ordinary slash. A slash that was substituted with a lookalike pastes as the lookalike, and the following consequences apply:
- Search and find: searching for "/" will not match U+2215, U+2044 or U+29F8. Whether search folds U+FF0F depends on whether the system applies compatibility normalization, and that varies between systems.
- Code and data: compilers, interpreters, shells, CSV or date parsers, and file systems expect U+002F. A lookalike slash in a path, URL, or arithmetic expression will not be treated as a separator or operator.
- Security and trust: lookalike slashes appear in Unicode's confusables data and have been used in spoofed web addresses that seem to contain a path. Browsers, mail filters, and moderation systems may flag or display such text differently, so mixing lookalike slashes into links or identifiers can look deceptive even when that is not the intent.
- Fonts: the plain slash is present in essentially every font. Lookalikes such as U+29F8 or U+29F5 may be missing, which leads to fallback glyphs or empty boxes on some devices.
- Editing: a combining overlay attaches to the previous character, so deleting, selecting, or moving the cursor across it can behave unexpectedly.
For accessibility, screen readers generally announce the plain slash, often as "slash." How a particular screen reader announces the fraction slash, division slash, or big solidus depends on its pronunciation dictionary and verbosity settings. This guide does not document any specific product's behavior. Test with the assistive technology your audience uses before relying on a lookalike.
A plain-text equivalent using U+002F is needed whenever the text will be searched, indexed, pasted into forms or code, used as a link or file name, or read by assistive technology whose handling you have not verified. If a lookalike is kept for visual reasons, publish the plain version alongside it, for example in the underlying data, or use CSS styling instead of character substitution.
Evidence gaps
The code point properties, encodings and normalization behavior described here come from the Unicode Standard and common format specifications. This guide makes no claims from tests on particular apps, social platforms, fonts, browsers, or screen readers, and the absence of such evidence is a real gap. If a specific destination matters, paste a sample with each candidate slash into it, then confirm search, copy and paste, and screen-reader output there instead of assuming that one successful rendering carries over to other environments.