Identify the ASCII ampersand

How to confirm a character is the ASCII ampersand (U+0026, decimal 38), tell it apart from Unicode lookalikes, and judge whether substituting or styling it is safe.

The ampersand most people type is the ASCII ampersand: code point U+0026, decimal 38, hexadecimal 0x26. Unicode also contains several characters that look like an ampersand but are stored as different code points. If you are checking pasted text, reviewing a styled-text tool's output, or deciding whether a decorative ampersand is safe to use, the question is not how the character looks. The question is which code point is actually stored.

Is a lookalike ampersand suitable for your use?

For anything that will be searched, parsed, edited, read aloud or processed by software, use the plain ASCII ampersand. It is the only form that markup languages, URLs, command shells and most search systems treat as the ampersand. The main benefit of a Unicode lookalike is visual: a wider, smaller, turned or ornamental shape. The tradeoff is that the text no longer contains the character other systems expect. A lookalike can be reasonable in a purely decorative setting where nobody needs to find, copy or reuse the text, and only if a plain-text equivalent is available wherever the content matters.

How to tell the ASCII ampersand from its lookalikes

Rendering alone is unreliable. Fonts draw these characters differently, and some fonts draw two of them almost identically. Check the code point instead. These are the values to compare against, using the official Unicode character names:

Character | Code point | Unicode name | Notes
& | U+0026 | AMPERSAND | The ASCII character, decimal 38
& | U+FF06 | FULLWIDTH AMPERSAND | East Asian fullwidth form; compatibility-equivalent to U+0026
﹠ | U+FE60 | SMALL AMPERSAND | Small form variant; compatibility-equivalent to U+0026
⅋ | U+214B | TURNED AMPERSAND | Rotated shape used in some logic notation; no equivalence to U+0026

Useful visual clues: the fullwidth form usually has extra space on either side and lines up with CJK text. The small form often sits lower or appears reduced next to normal letters. The turned form is upside down. These clues depend on the font, though, so use them only to decide what to check, not as a final answer.

Checking the code point yourself

Most programming languages can report a character's code point directly. In Python, the standard library can print both the code point and the Unicode name:

import unicodedata

for ch in "&&﹠⅋":
    print(f"U+{ord(ch):04X}", unicodedata.name(ch))

For the four characters in the table, this prints the code points and names listed there. In JavaScript, '&'.codePointAt(0) returns 38. If you are looking for a non-programming way to check, search for terms like "Unicode character inspector", "code point lookup" or "identify Unicode character". No specific tool has been verified for this article, so confirm that any tool you find shows the hexadecimal code point and the official character name, not just a picture.

What substitution, reversal and mirroring actually change

Text styling tools that offer "fancy fonts" do not change a font. They replace each character with a different Unicode code point. A tool that outputs & in place of & has changed the stored data, not just the appearance. CSS styling is different: a font family, size or transform applied in a web page changes how U+0026 is displayed while the underlying character stays the same. When a tool says it uses a "font", check which of these two things it does.

Reversing a string, whether by character or by word, moves the ampersand to a new position but does not change it. U+0026 is a single code point with no combining marks, so a correct reversal leaves it intact. Mirroring is less clear-cut. The ampersand is not one of the characters Unicode marks as mirrored in right-to-left text, so bidirectional display does not flip it. Upside-down or "mirror text" generators that produce ⅋ are substituting a different character, which is a stored change, not a visual effect.

Copying, sharing and reuse

The ASCII ampersand has defined roles in several common formats, and lookalikes do not fill those roles:

  • HTML and XML: a literal ampersand in text is written as & (or &). A lookalike does not need escaping, but it also is not the ampersand character the format refers to.
  • URLs: & separates query parameters, and a literal ampersand inside a value is percent-encoded as %26. A lookalike will not separate parameters.
  • Command shells: & has operator meanings such as running a command in the background. Pasting a fullwidth ampersand into a command will not behave like the ASCII character.
  • Search and find: a search for & will generally not match &, ﹠ or ⅋ unless the system applies compatibility normalization, and it will not match ⅋ even then.

Unicode compatibility normalization (NFKC or NFKD) converts the fullwidth and small forms back to U+0026. It leaves the turned ampersand unchanged. This is useful if you need to clean pasted text:

import unicodedata

unicodedata.normalize("NFKC", "&﹠⅋")  # returns "&&⅋"

Normalization also changes other characters in the string, so apply it only where compatibility folding is acceptable for the whole text.

Accessibility

Screen readers usually have a defined way to announce the ASCII ampersand, often as "and" or "ampersand" depending on the product and its punctuation settings. How a given screen reader handles the fullwidth, small or turned forms was not tested for this article, and results may differ across products, versions and voices. Do not assume that one device announcing a lookalike correctly means others will. If the ampersand carries meaning, as in a company name, a title or an instruction, use U+0026 or write the word "and".

Summary of the decision

If the code point is U+0026, you have the ASCII ampersand and it will behave as expected in markup, URLs, code and search. If it is U+FF06 or U+FE60, it looks similar and normalizes back to ASCII, but it will not work as an ampersand until it is normalized. If it is U+214B, it is a different symbol. For anything beyond decoration, use the plain ASCII character and keep any styled version as an optional extra rather than a replacement.