Straight Quotation Mark (")
U+0022QUOTATION MARKBasic Latin
Also known as double quotequotation marks
The straight double quote " is the quotation mark on the keyboard. Programming languages use it to mark text strings, while printed prose usually uses curly quotation marks, “like this.”
Symbol codes
- Unicode
U+0022- Alt Code
Alt+34- HTML Code
"- CSS Code
\22- HTML Entity
"- HEX Code
"
Other quotation marks
- Left Double Quotation Mark: The left curly double quotation mark, used to open quotes in printed English.
- Right Double Quotation Mark: The right curly double quotation mark, used to close quotes.
- Double Prime: The double prime, the correct symbol for inches and seconds, as in 12″.
About Straight Double Quote
The straight double quote " is the quotation mark on the keyboard. Programming languages use it to mark text strings, while printed prose usually uses curly quotation marks, “like this.”
" is encoded in Unicode as code point U+0022 (decimal 34). Its official Unicode name is QUOTATION MARK.
It belongs to the Basic Latin block (U+0000–U+007F), its General Category is Other Punctuation (Po), and it was added in Unicode 1.1, released in 1993. Its script value is Common: it is shared across writing systems rather than belonging to one.
Common uses
- Marking text strings in code and spreadsheet formulas
- Quoting words in plain-text messages
- Exact-phrase searches, as in "heart symbol"
Examples
- Code string
- print("Hello")
- Exact search
- "copy and paste"
Sources: Unicode Character Database 18.0.0, the HTML Standard’s list of named character references, and Unicode’s code page mappings.
How to type or insert Straight Double Quote
- Windows
- Press Shift+' on a U.S. keyboard layout. On a U.K. layout, press Shift+2.
- macOS
- Press Shift+' on U.S. and British layouts.
- iPhone and iPad
- Tap 123 and touch and hold the " key to choose straight or curly quotes.
- Any device
- Select Copy symbol, then paste with Ctrl+V, or ⌘+V on a Mac.
- Windows Alt code
- With Num Lock on, hold Alt, type 34 on the numeric keypad, then release Alt.
- Microsoft Word
- Type
0022, then press Alt+X. - macOS Character Viewer
- Press Control+⌘+Space and search for “quotation mark”.
- Linux (GTK and IBus)
- Press Ctrl+Shift+U, type
0022, then press Space. - HTML
"or". In a UTF-8 page you can also paste the character itself.- CSS
content: "\22";in a::beforeor::afterrule.- JavaScript
"\u0022"
Technical properties
Unicode 18.0.0
- Code point
- U+0022
- Decimal
- 34
- Unicode name
- QUOTATION MARK
- Block
- Basic Latin · U+0000–U+007F
- General category
- Other Punctuation (Po)
- Script
- Common
- Introduced
- Unicode 1.1
- JavaScript
- "\u0022"
Common questions about Straight Double Quote
What is the Straight Double Quote symbol?
The straight double quote " is the quotation mark on the keyboard. Programming languages use it to mark text strings, while printed prose usually uses curly quotation marks, “like this.” In Unicode it is U+0022, officially named QUOTATION MARK. It is also known as double quote and quotation marks.
What is the difference between straight and curly quotes?
Straight quotes " are the keyboard character used in code. Curly quotes “ ” are the typographic marks used in books and articles; word processors usually convert straight quotes to curly ones as you type.
Should I use " for inches?
In casual text, many people do. The correct symbol for inches is the double prime ″, which typesetters use in measurements such as 6′2″.
How do I copy and paste the Straight Double Quote symbol?
Select Copy symbol at the top of this page, then paste with Ctrl+V on Windows and Linux or ⌘+V on a Mac. On a phone, tap Copy symbol, then touch and hold where you want it and choose Paste. " pastes as ordinary text, so it works in documents, messages, and code.
How do I type the Straight Double Quote symbol on Windows?
Turn on Num Lock, hold Alt, type 34 on the numeric keypad, then release Alt. In Microsoft Word, type 0022 and press Alt+X to turn the code into ". In any app, open Character Map from the Start menu, search for “quotation mark”, then select and copy the character.
How do I type the Straight Double Quote symbol on a Mac?
Press Control+⌘+Space to open the Character Viewer, search for “quotation mark”, and double-click the result to insert it.
How do I type the Straight Double Quote symbol on an iPhone or Android phone?
The simplest way is to copy it from this page and paste it where you need it. If you use it often, save it as a text shortcut: on iPhone, go to Settings > General > Keyboard > Text Replacement; with Gboard on Android, go to Gboard settings > Dictionary > Personal dictionary.
Can I use the Straight Double Quote symbol in Word, Google Docs, and social media?
Yes. " is a standard Unicode character, so you can paste it into Microsoft Word, Google Docs, emails, and posts or bios on Instagram, X, Facebook, and TikTok. In Google Docs you can also choose Insert > Special characters and search for “quotation mark”. In Word, choose Insert > Symbol > More Symbols, set from to Unicode (hex), and enter 0022 as the character code.
Is the Straight Double Quote symbol an emoji?
No. " is a text symbol, not an emoji. It takes the color and size of the surrounding text, and its exact shape depends on the font.
Why does the Straight Double Quote symbol show as a box or question mark?
An empty box or a question mark means the font on that device has no glyph for ". The character is still there: it appears correctly wherever a font covers Unicode’s Basic Latin block, and free font families such as Google Noto cover nearly all of Unicode.
What are the HTML and CSS codes for the Straight Double Quote symbol?
In HTML, write " (decimal) or " (hexadecimal), or the named entity ". In CSS, use content: "\22"; in a ::before or ::after rule, and in JavaScript "\u0022". See all HTML codes.