formersi
U+211Aℚ

U+211A · Letterlike Symbols

Double-struck capital q (ℚ): how to type it

Copy ℚ with one click. It has no Alt code or Option-key shortcut; Word’s Alt + X and the codes below work everywhere.

  • WindowsNo Alt code. Use Word’s Alt + X, Character Map, or copy it here.
  • MacCtrl+⌘ Cmd+Space Character Viewer, then search
  • Word211AthenAlt+X
  • iPhoneNo long-press for it. Copy it here.
  • HTMLℚ or ℚ
Code point
U+211A
decimal 8474
Windows
None
not in code page 437/1252
Mac
None
use the Character Viewer
Added
Unicode 1.1
Uppercase letter

Every way to type ℚ

Only methods that exist on that system are shown as shortcuts.

Windows no Alt code

There is no Alt code for this character. Open Character Map (charmap), tick Advanced view, search “double-struck capital q”, then Select and Copy. Or use Word’s Alt + X below.

Mac Character Viewer

Ctrl+⌘ Cmd+Space

No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “double-struck capital q” and double-click it.

Microsoft Word Alt + X

211AthenAlt+X

Type 211A, then press Alt + X (Word for Windows).

Google Docs menu

Insert › Special characters, then search “double-struck capital q”, or paste it from here.

iPhone and iPad copy

Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).

Android symbol pages

Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.

Linux Unicode input

Ctrl+Shift+Uthen211athenEnter

GNOME and most GTK apps (IBus).

Chromebook Unicode input

Ctrl+Shift+Uthen211athenEnter

Type the code after the underlined u appears.

How ℚ is stored in UTF-8

3 bytes (24 bits) for 1 code point

length and continuation bitsbits of the code point
Computed from U+211A with the UTF-8 rules of RFC 3629. Same bytes as text: see “Codes” below.

Codes

For HTML, CSS, JavaScript, JSON, Python and URLs.

HTML entity&Qopf;
UnicodeU+211A
HTML decimal&#8474;
HTML hex&#x211A;
CSS content\211A
JavaScript\u211A
JSON\u211a
Python\u211a
UTF-8 bytesE2 84 9A
UTF-16211A
URL encoded%E2%84%9A
Python name\N{DOUBLE-STRUCK CAPITAL Q}

From the Unicode Standard

Names, aliases and notes from the Unicode 13.0 names list.

  • Unicode name DOUBLE-STRUCK CAPITAL Q
  • Category Uppercase letter (Lu)
  • Block Letterlike Symbols
  • Also called the set of rational numbers

Related symbols

Look-alikes named in the Unicode notes first, then neighbours in the same block.

SymbolNameCodeAlt code
ℛScript capital rU+211B–
ℙDouble-struck capital pU+2119–
ℜBlack-letter capital rU+211C–
℘Script capital pU+2118–
ℝDouble-struck capital rU+211D–
℗Sound recording copyrightU+2117–

Questions

Is there an Alt code for ℚ?

No. Double-struck capital q (U+211A) is not in code page 437 or 1252, so Alt + numpad codes cannot type it. In Word type 211A and press Alt + X, or copy it from this page.

How do I type ℚ on a Mac?

Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.

What is the HTML code for ℚ?

Use &Qopf; or &#8474; (decimal) or &#x211A; (hex).

Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.