How to Type the At Sign

Copy @, check its Unicode and HTML codes, and use Windows-layout, Mac viewer, and keyboard-layout troubleshooting guidance.

T

Technobezz Editorial

Editorial Team

Aug 24, 2026
4 min read

Copy the at sign

Copy the standard U+0040 at sign used in email addresses and usernames.

  • At sign

    U+0040

    Also called at symbol, commercial at

Choose a copy button to place a character on the clipboard.

Ways to type the at sign

The key location follows the active regional keyboard layout.
PlatformMethod
Windows U.S. layout

Keyboard shortcut

Shift plus 2
  1. Hold Shift.
  2. Press 2.
Shift+2

This mapping is specific to Microsoft's U.S. layout.

Windows U.K. layout

Keyboard shortcut

Shift plus '
  1. Hold Shift.
  2. Press the apostrophe key.
Shift+'

Microsoft's U.K. layout places @ in the shifted apostrophe position.

Windows German layout

Keyboard shortcut

AltGr plus Q
  1. Hold AltGr.
  2. Press Q.
AltGr+Q

This mapping is specific to Microsoft's German layout.

Windows Spanish layout

Keyboard shortcut

AltGr plus 2
  1. Hold AltGr.
  2. Press 2.
AltGr+2

This mapping is specific to Microsoft's Spanish layout.

Windows

Switch installed layout

Windows plus Space
  1. Press Windows and Space.
  2. Choose the installed layout that matches the physical keyboard.
Windows+Space

The shortcut cycles through installed keyboard layouts.

macOS

Keyboard Viewer

  1. Open Keyboard Viewer for the active input source.
  2. Hold Shift or Option to reveal modifier characters.
  3. Use the displayed @ mapping.

Apple documents country and region differences in physical keyboard layouts.

HTML

Direct character or numeric reference

@, @, @, or @

UTF-8 HTML can contain @ directly.

Keyboard-layout diagnostic flowA decision flow for checking active layouts and using an on-screen viewer when a key produces the wrong symbol.KEYBOARD-LAYOUT DIAGNOSTICWhen a key produces the wrong symbolYESNO
Keyboard-layout diagnostic flowDiagnose the active layout before treating a printed key position as a universal shortcut.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered weekly. Join 50,000+ readers.

Copy @ from the panel above. On the Windows U.S. layout it is the shifted 2 key, but the shortcut changes on U.K., German, and Spanish layouts, so check the active layout before treating a different result as a broken key.

Identify the at sign

Unicode names @ COMMERCIAL AT and assigns it U+0040 in the Basic Latin block. HTML can represent the same character literally, with the named reference @, with decimal @, or with hexadecimal @.

The character stays U+0040 even when its physical key location changes. Country and regional layouts assign punctuation to different key combinations, so a shortcut should always be labeled with the layout it describes.

Type @ on the Windows U.S. layout

Hold Shift and press 2. Microsoft's U.S. layout reference places @ in the shifted digit-2 position.

Type @ on the Windows U.K. layout

Hold Shift and press the apostrophe key. Microsoft's U.K. layout reference places @ in that shifted position rather than on Shift-2.

Type @ on German and Spanish Windows layouts

Microsoft's German layout places @ on AltGr-Q, while its Spanish layout places @ on AltGr-2. These mappings show why a universal Shift-2 instruction is unreliable.

Check or switch the Windows keyboard layout

Windows lets you add and change installed keyboard layouts. Use the input indicator in the taskbar, or press Windows-Space to cycle through installed layouts. Select the layout that matches the physical keyboard and then use that layout's @ mapping.

Find @ with Mac Keyboard Viewer

Apple's Keyboard Viewer displays the active input source and reveals how characters change when you press modifier keys such as Shift or Option. Open Keyboard Viewer and inspect the current mapping instead of applying a shortcut copied from another country's layout. Apple separately documents that physical keyboard layouts vary by country and region.

Use @ in HTML

A UTF-8 HTML document can contain @ directly. The WHATWG named-character table defines @, and HTML character-reference syntax also accepts decimal @ and hexadecimal @ for U+0040.

Fix the wrong output

  1. 1.Check the input indicator to identify the active Windows layout.
  2. 2.Compare the active layout with the labels on the physical keyboard.
  3. 3.Press Windows-Space to select another installed layout when needed.
  4. 4.On Mac, use Keyboard Viewer to inspect the active input source and modifier positions.
  5. 5.Copy @ directly when you need the character before changing a layout.

Common questions

Why does Shift-2 produce another character?

Microsoft's U.S. Windows layout maps @ to Shift-2; it is not a universal shortcut. The U.K., German, and Spanish Windows references place @ on other key combinations.

Does the code point change with the keyboard layout?

No. The keyboard mapping changes, but the standard at sign remains U+0040 COMMERCIAL AT.

Official references

Share

U.S. punctuation key mapA simplified U.S. keyboard reference showing punctuation pairs and their shifted characters.U.S. KEYBOARD REFERENCEPunctuation changes with ShiftThe upper label is produced with Shift on the U.S. layout.
U.S. punctuation key mapU.S. punctuation pairs. Check the active software layout when the printed keycaps or output differ.

Related symbols

Continue with another copy-and-type reference.

More symbol and keyboard help