I can't find any way to write ~ on a Mac. So every time I need it I have to copy paste it from somewhere.

I am using a Spanish keyboard, so maybe that is the issue.

  • If the linked topic doesn't answer your question, you can add that information to yours and petition a moderator to reopen by flagging for moderator attention.
    – Daniel Beck
    Jul 2, 2011 at 17:12
  • On a Spanish keyboard, it's on Option-ñ (Option being Apple's Alt equivalent) as a dead key, and Shift-Option-ñ as character.
    – Daniel Beck
    Jul 2, 2011 at 17:15
  • I know the question is closed but I keep wondering why computer companies keep designing international keyboards that make access to common characters difficult. Jul 2, 2011 at 17:17
  • @Andrew So they can use the additional keys for more common, language-specific characters. Not everyone is a Unix user or programmer.
    – Daniel Beck
    Jul 4, 2011 at 9:45
  • 1
    @Andrew The @ is probably because there's no AltGr on a Mac keyboard, the English shift-2 is identical. The German default for window switching changed around 10.5, before it was the same as in English (the key next to left shift). The German mac keyboard layout was one of the reasons I decided to get the international layout though.
    – Daniel Beck
    Jul 4, 2011 at 17:55

1 Answer 1


This has been answered in the comments, its ⎇ + ñ (+ shift does not work) followed by space. I find the keyboard viewer usefull, you can place a symbol in your menu bar for quick access: Open System Preferences -> Language and Text -> Input Sources -> [x] "Show input menu in menur bar".

This will give you this:

Mac OS Keyboard Viewer

It will update its layout with the modifier keys pressed. Blind keys are marked orange.

  • There are two spanish layouts, Spanish iso provides cmd-shift-ñ for the non-deadeye version.
    – Daniel Beck
    Jul 4, 2011 at 17:52
  • The Spanish layout is the most dificult one for developers. What about <,> characters? Thank you
    – Kostanos
    Oct 4 at 9:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .