Double Quotation Mark Unicode Characters

A practical guide to the double quote character and its Unicode variants: code points, what smart-quote conversion changes, and when straight quotes are safer.

The phrase "double quote character" covers several distinct Unicode characters that can look almost the same on screen. The key on a US keyboard produces one character, word processors often swap it for typographic quotes, many languages use their own quotation marks, and a few unrelated symbols only resemble quotes. The differences are invisible until the text lands in code, a data file, a search box, or a document in another language. This guide explains which character is which, what converting between them actually changes, and when the plain straight quote is the better choice.

Which double quote should you use?

Converting straight quotes to typographic (curly) quotes gives prose a more finished look and makes opening and closing marks easier to tell apart. The tradeoff is that curly quotes are different characters, so anything that expects the straight quote as syntax will break or behave differently. Use plain U+0022 wherever text is likely to be parsed, executed, or matched exactly.

  • Code, command lines, JSON, CSV, configuration files and HTML attribute delimiters: use U+0022 QUOTATION MARK.
  • English prose meant for reading, such as articles, books and formatted documents: U+201C and U+201D are the conventional typographic choice.
  • Other languages: follow the target language's convention, such as „…“ in German, «…» in French, or ”…” in Swedish and Finnish.
  • Any case where you are unsure how the destination will handle the text: keep a plain-text copy that uses straight quotes.

The main double quotation mark code points

Character | Code point | Unicode name | Typical use
" | U+0022 | QUOTATION MARK | Keyboard quote; programming and data syntax; general plain text
“ | U+201C | LEFT DOUBLE QUOTATION MARK | Opening quote in English; closing quote in German
” | U+201D | RIGHT DOUBLE QUOTATION MARK | Closing quote in English; both opening and closing in Swedish and Finnish
„ | U+201E | DOUBLE LOW-9 QUOTATION MARK | Opening quote in German, Polish, Czech and other languages
‟ | U+201F | DOUBLE HIGH-REVERSED-9 QUOTATION MARK | Rare; some typographic styles
« | U+00AB | LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | Guillemet; French, Russian and others
» | U+00BB | RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | Guillemet; closing in French, opening in some other languages
" | U+FF02 | FULLWIDTH QUOTATION MARK | Fullwidth form used alongside CJK text
〝 〞 〟 | U+301D, U+301E, U+301F | REVERSED DOUBLE PRIME / DOUBLE PRIME / LOW DOUBLE PRIME QUOTATION MARK | Occasionally used in East Asian typography

How these look depends on the font. Some fonts draw U+0022 with a slant, and some draw U+201C and U+201D so similarly that the two are hard to tell apart at small sizes. Appearance alone is not a reliable way to identify a quotation mark, so inspect the code point.

What converting between quote styles actually changes

"Smart quote" conversion, whether automatic in a word processor or done with a find-and-replace tool, is a character substitution. The stored text changes from U+0022 to U+201C or U+201D, and every program that later reads the text sees the new characters. That is different from changing the font. A font change affects only how a character is drawn, and the underlying code point stays the same.

Web pages can also show quotation marks that are not in the stored text. The HTML q element, together with the CSS quotes property, tells the browser to draw quote marks as generated content around the quoted words. Those marks are presentation rather than characters in the document source. Whether they are included when someone copies the text depends on the browser, so test this in the browsers your readers use instead of assuming either outcome.

Tool labels can be misleading. A "font" generator that offers fancy quotes is almost always substituting different Unicode characters rather than changing a font. "Reverse" usually means reordering the stored characters. "Mirror" can mean either drawing a glyph flipped or substituting a lookalike character. Check which of these a tool does before relying on its output.

Reversed and mirrored text with quotation marks

When a tool reverses text by code point, quotation marks are moved but not swapped. The left quote ends up on the right and still points the original way, so the result reads as mismatched.

Input:     “Hi”   U+201C U+0048 U+0069 U+201D
Reversed:  ”iH“   U+201D U+0069 U+0048 U+201C

That example contains no combining marks or emoji. If the text has accented letters built from combining characters, or emoji made of several code points, simple code-point reversal can separate those parts and corrupt them. Use a tool that reverses by grapheme cluster (user-perceived character) if that matters.

Bidirectional display is a separate mechanism. In right-to-left text, the rendering engine can draw characters that have the Unicode Bidi_Mirrored property in mirrored form while leaving the stored character unchanged. The guillemets U+00AB and U+00BB have that property. The curly double quotes U+201C and U+201D do not, so they are not automatically flipped in right-to-left text. Quotation conventions in right-to-left languages vary, and mixed-direction text should be checked in the actual destination.

How to identify which quote you have

Most code editors and character-inspection tools can show the code point under the cursor. In a script, the character's name can be printed directly. The Python example below uses only the standard library.

import unicodedata

text = '“Hi” vs "Hi"'
for ch in text:
    if not ch.isalnum() and ch != ' ':
        print(f'U+{ord(ch):04X}  {unicodedata.name(ch)}')

# Output:
# U+201C  LEFT DOUBLE QUOTATION MARK
# U+201D  RIGHT DOUBLE QUOTATION MARK
# U+0022  QUOTATION MARK
# U+0022  QUOTATION MARK

Encodings also matter. U+0022 is a single byte in UTF-8, while curly quotes take three bytes each. If UTF-8 text is incorrectly decoded as Windows-1252, the left curly quote shows up as the garbled sequence “. Seeing that pattern means the problem is the encoding, not the quotation mark itself.

Char  Code point  UTF-8 bytes  HTML named entity
"     U+0022      22           "
“     U+201C      E2 80 9C     “
”     U+201D      E2 80 9D     ”
„     U+201E      E2 80 9E     „
«     U+00AB      C2 AB        «
»     U+00BB      C2 BB        »

To type these directly, macOS on a US layout produces “ with Option+[ and ” with Option+Shift+[. On Windows, numeric-keypad Alt codes based on the Windows-1252 code page work in many applications: Alt+0147 for “, Alt+0148 for ”, Alt+0132 for „, Alt+0171 for « and Alt+0187 for ».

Will the text stay usable after copying or sharing?

Code and structured data are where curly quotes cause the most trouble. JSON strings must be delimited by U+0022. Python reports a syntax error if a curly quote is used where a string delimiter belongs. Shells treat curly quotes as ordinary characters, so a command copied from a formatted document can silently pass different arguments. In CSV, the common convention is to enclose fields in U+0022 and escape a literal quote inside a field by doubling it. Curly quotes are not recognized for either purpose. Snippets meant to be copied should be published as plain text or in a code block where automatic quote conversion is turned off.

Search and matching may not treat straight and curly quotes as equivalent. Standard Unicode normalization does not map U+201C or U+201D to U+0022, so the two styles stay distinct after NFC or NFKC normalization. NFKC does map the fullwidth U+FF02 to U+0022. Some search engines and find features ignore punctuation or fold quote styles together, and others do not. Exact-phrase searches, database lookups and spreadsheet formulas should be tested against the actual system.

Accessibility depends on the assistive technology and its settings. Whether a screen reader announces quotation marks, and what it calls them, typically depends on its punctuation verbosity level, and behavior differs between products. Standard quotation marks are the safest choice for meaning. Decorative lookalikes risk being announced by an unexpected name or skipped. No screen-reader testing was available for this guide, so check with the assistive technology your audience uses if quotation boundaries carry meaning.

Re-entry can undo or repeat a conversion. Pasting into an editor with autocorrect enabled may turn straight quotes into curly ones, and some plain-text fields may handle curly quotes poorly. When the destination is unknown, keep a plain-text version with straight quotes, because U+0022 is the character every text system is designed to handle.

Lookalikes that should not stand in for quotation marks

  • ″ U+2033 DOUBLE PRIME: used for inches, seconds of arc and similar units. Under NFKC it decomposes to two single primes.
  • ʺ U+02BA MODIFIER LETTER DOUBLE PRIME: a letter-like character used in some transliteration schemes.
  • ˝ U+02DD DOUBLE ACUTE ACCENT: a spacing diacritic, not punctuation.
  • 〃 U+3003 DITTO MARK: means "same as above" in East Asian text.
  • ❝ ❞ U+275D and U+275E HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENTS: decorative dingbats that may not appear in every font and are not treated as standard punctuation.

These can look convincing in a styled-text generator, but they carry different meanings and properties. They can disrupt search, spell-checking and assistive technology, and they may display as empty boxes where no installed font covers them.

What remains unverified

The code points, names, encodings and normalization behavior described above come from the Unicode Standard and are stable. This guide had no test results for specific applications, messaging platforms, browsers, search engines or screen readers. Statements about how a particular destination handles curly quotes, generated quote marks or decorative lookalikes are therefore framed as things to check rather than confirmed behavior. If an exact result matters, paste a short sample into the real destination, inspect the code points that arrive, and confirm it reads correctly with any assistive technology your audience depends on.