Skip to content

U+0027 · Basic Latin

Apostrophe '

Apostrophe is the Unicode character U+0027 (official name “APOSTROPHE”) from the Basic Latin block. It belongs to SymbolHero’s punctuation collection. Copy it with the button, or use the codes and keyboard methods below to type it yourself.

UnicodeU+0027
HTML'
'U+0027

Character codes

Unicode code pointU+0027
Decimal39
HTML named entity'
HTML (hex)'
HTML (decimal)'
CSS\0027
JavaScript\u0027
Python\u0027
UTF-8 bytes27
UTF-160027
URL-encoded%27

Character details

Official nameAPOSTROPHE
Unicode blockBasic Latin
General categoryOther Punctuation (Po)
SymbolHero categoryPunctuation
EmojiNo

How to type '

Windows

  • In Microsoft Word or Outlook: type 0027 then press Alt + X.
  • Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “apostrophe”, then Select and Copy.

Mac

  • Press Control + Command + Space to open the Character Viewer, search “apostrophe”, and double-click the result.
  • With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type 0027.

iPhone & Android

  • Tap Copy at the top of this page, then long-press where you want it and choose Paste.

Docs & web

  • Google Docs: Insert → Special characters, then search “apostrophe” or enter U+0027.
  • HTML: ' or '
  • Excel / Google Sheets: =UNICHAR(39)

Questions

What is the Unicode for '?

It is U+0027 (APOSTROPHE), decimal 39.

Is there a Windows Alt code for it?

No standard Alt code exists for this character. In Word type 0027 then Alt+X, or copy it from this page.

How do I type it on a Mac?

There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “apostrophe”, or copy it from this page.

What is the HTML code?

Use the named entity ' or the numeric reference '.