U+0027

Apostrophe'

Apostrophe is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "single", "quote", "straight", "apostrophe".

Quick facts

Unicode
U+0027
Decimal
39
Hex
0x0027
Octal
0o47

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0027
Official nameUnicodeData.txt, Unicode 18.0.0APOSTROPHE
Unicode 1.0 nameLegacy aliasAPOSTROPHE-QUOTE
DecimalBase 1039
HexadecimalBase 160x0027
OctalBase 80o47
BinaryBase 20000000000100111
General categoryPunctuation, otherPo
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)'
HTML entity (hex)'
HTML entity (named)'
CSS content escapeUse inside content: "…"\0027
URL encodedPercent-encoded UTF-8'

Programming languages

FormatValueCopy
JavaScript / TypeScript\u0027
JSONUTF-16 surrogate pairs\u0027
Python\u0027
Java / C# / Kotlin\u0027

Byte encodings

FormatValueCopy
UTF-81 byte27
UTF-16 (BE)0027
UTF-32 (BE)00000027

How to type Apostrophe

  • Windows

    Hold Alt and type +27 with the hex numeric keypad option enabled, or type 27 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 0027. Or open Character Viewer (Control+Command+Space) and search "Apostrophe".

  • Linux

    Press Ctrl+Shift+U, type 27, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: ' in HTML, \0027 in CSS, and \u0027 in JavaScript.

Official Unicode reference

Character name
APOSTROPHE
Unicode 1.0 name
APOSTROPHE-QUOTE
Block
Basic Latin (U+0000–U+007F)
General category
Po — Punctuation, other

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Apostrophe symbol?

Click the Copy button at the top of this page, or select ' and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Apostrophe?

Apostrophe is U+0027 (decimal 39, hexadecimal 0x0027, octal 0o47). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Apostrophe?

The Unicode Standard (version 18.0.0) names this character "APOSTROPHE"; its Unicode 1.0 name was "APOSTROPHE-QUOTE". Its General_Category is Po (Punctuation, other).

What is the HTML code for Apostrophe?

Use ' or ', or the named entity '. In CSS, use content: "\0027".

How do I type Apostrophe in code?

JavaScript: "\u0027". Python: "\u0027". JSON and Java: "\u0027". The UTF-8 byte sequence is 27.

Is Apostrophe an emoji?

No. Apostrophe is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all basic latin (ascii)