Typing X with Accents on Windows, Mac & Mobile

The letter X with accent — forms like X̀, X́, X̂, X̃ and x̌, has no single-character version in Unicode. Each one is built from two code points: a plain X followed by a combining accent mark.

That means there’s no Windows Alt code for the finished letter. The fastest routes are to copy the glyph below, or in Word type the base X, then the mark’s hex code, then press Alt+X.

Click any character to copy it. Every button holds a two-code-point sequence, so pasting it drops the accented X straight into your document.

Why X with an accent works differently

Common accented letters like é or ñ exist as precomposed characters, one code point that holds both the letter and the mark. Unicode never assigned those for X, because no widely-used writing system needs them.

So every accented X you see here is a combining sequence: the base letter (U+0058 for X, U+0078 for x) plus a combining diacritic that the font stacks on top. The visible result looks like one letter, but your computer stores two characters. That distinction changes how the text behaves in search, filenames and forms, which is covered in the troubleshooting section below.

Quick reference: every accented X and its codes

There is no Windows Alt code for any of these, because Alt codes produce single code points and these are two-code-point sequences. Use the Word column, copy from the widget above, or the combining-mark methods below. In the Word column, type a plain X (or x) first, then type the four hex digits shown, then press Alt+X.

GlyphNameUnicode sequenceWord (after base, then Alt+X)HTML
Capital X, graveU+0058 U+03000300X̀
Capital X, acuteU+0058 U+03010301X́
Capital X, circumflexU+0058 U+03020302X̂
Capital X, tildeU+0058 U+03030303X̃
Capital X, macronU+0058 U+03040304X̄
Capital X, breveU+0058 U+03060306X̆
Capital X, dot aboveU+1E8A0307Ẋ
Capital X, diaeresisU+1E8C0308Ẍ
Capital X, ring aboveU+0058 U+030A030AX̊
Capital X, double acuteU+0058 U+030B030BX̋
Capital X, caronU+0058 U+030C030CX̌
Capital X, dot belowU+0058 U+03230323X̣
Capital X, cedillaU+0058 U+03270327X̧
Capital X, ogonekU+0058 U+03280328X̨
Capital X, line belowU+0058 U+03310331X̱
Small x, graveU+0078 U+03000300x̀
Small x, acuteU+0078 U+03010301x́
Small x, circumflexU+0078 U+03020302x̂
Small x, tildeU+0078 U+03030303x̃
Small x, macronU+0078 U+03040304x̄
Small x, breveU+0078 U+03060306x̆
Small x, dot aboveU+1E8B0307ẋ
Small x, diaeresisU+1E8D0308ẍ
Small x, ring aboveU+0078 U+030A030Ax̊
Small x, double acuteU+0078 U+030B030Bx̋
Small x, caronU+0078 U+030C030Cx̌
Small x, dot belowU+0078 U+03230323x̣
Small x, cedillaU+0078 U+03270327x̧
Small x, ogonekU+0078 U+03280328x̨
Small x, line belowU+0078 U+03310331x̱

The uppercase and lowercase forms differ only in the base letter. U+0058 for capital X, U+0078 for small x.

The combining mark that follows is identical in both cases. The marks themselves cover the usual diacritic set: grave and acute (slanting strokes), circumflex and caron (the ^ and its mirror ˇ), tilde, macron (flat bar), breve (cup), the dot and ring and diaeresis above, plus the below-baseline marks, dot below, cedilla, ogonek and line below.

Windows

There is no Alt code that produces a finished accented X, because Alt codes only enter single characters and these are combining sequences. Building one by hand takes two steps.

  1. Type a plain X or x.
  2. Open Character Map (search “charmap” from Start), find the combining mark you want in the Combining Diacritical Marks range, copy it, and paste it directly after the X.

The simplest route on Windows is still to copy the exact glyph from the widget at the top of this page. For repeated use, our on-screen accent keyboard lets you assemble any base letter plus mark without hunting through Character Map.

Mac

Mac has no Alt codes. The macOS Character Viewer handles combining marks well.

  1. Type your X or x.
  2. Press Control + Command + Space to open the Character Viewer.
  3. Search “combining grave” (or acute, tilde, and so on), then double-click the mark to insert it after the letter.

The dead-key accents built into the U.S. and international layouts are designed for vowels, so they won’t stack a mark onto X. Character Viewer or a paste is the reliable path.

Word, Outlook and OneNote

Word’s Alt+X converter is the cleanest way to build these without copying. It reads the hex digits sitting just before the cursor.

  1. Type X (or x).
  2. Type the combining mark’s hex code from the table, for a grave that’s 0300.
  3. Press Alt+X. The digits convert into the combining mark and stack onto the X.

So X then 0300 then Alt+X gives X̀; x then 030C then Alt+X gives x̌. The same Insert → Symbol dialog and Alt+X trick also work in Outlook and OneNote. Note that these are hexadecimal codes for Alt+X only, they are not Windows Alt codes and won’t work with the Alt-plus-numeric-keypad method.

Excel, PowerPoint and Google Sheets

Alt+X does not work in Excel, PowerPoint or Google Sheets, so combining sequences are awkward to type there. Paste is the practical answer.

In PowerPoint, Insert → Symbol lets you pick the base letter and then a combining mark from the Combining Diacritical Marks subset, inserted one after the other. In Excel and Google Sheets, build the character in Word or copy it from this page, then paste into the cell. In a Sheets cell, press F2 to enter edit mode first, or the paste can land oddly.

Google Sheets has no Insert Symbol menu at all, so don’t go looking for one. The UNICHAR() function can emit a combining mark, ="x"&UNICHAR(768) returns x̀ — but for one-off use, pasting the finished glyph is faster.

Google Docs

Google Docs has a proper special-character tool that draws well for this job.

  1. Type your X or x.
  2. Go to Insert → Special characters.
  3. Search “combining” plus the mark name, or draw the shape in the sketch box, then click the mark to drop it after the letter.

The mark appears on the preceding X automatically. If it lands on its own, place your cursor right after the letter before inserting.

iPhone and Android

Mobile keyboards use press-and-hold accent menus, but those menus only appear for letters that have common accented forms, vowels, n, c and a few others. Holding X shows no accent options on either iOS or Gboard.

The reliable method on both platforms is to copy the glyph from this page and paste it. If you need one regularly, set up a text replacement: on iPhone, Settings → General → Keyboard → Text Replacement, paste the accented X as the phrase and assign a shortcut like xac.

On Android, Gboard → Settings → Dictionary → Personal dictionary does the same. After that, typing the shortcut inserts the character anywhere.

Chromebook

ChromeOS has no Alt codes, and a USB numpad won’t change that, the feature is Windows software, not keypad hardware. Chromebooks use a hex entry method instead.

  1. Type X, then press Ctrl+Shift+U. An underlined u appears.
  2. Type the combining mark’s hex code, 0300 for grave, without the U+ prefix.
  3. Press Enter or Space. The mark stacks onto the X.

Some web text fields intercept Ctrl+Shift+U. If nothing happens, paste the glyph from this page instead, or use the symbol picker at Launcher+Shift+Space.

Notion, Slack, Discord and Canva

None of these apps has a shortcut for building a combining sequence, so paste the finished glyph from the copy widget above. That works identically in all four.

To avoid pasting repeatedly, lean on a text replacement. Slack has its own under Preferences → Advanced, and both Notion and Canva pick up your operating system’s replacements automatically. In Discord, paste is the only route, it has no text-expansion feature of its own, so a system-level replacement is the closest thing to a shortcut.

HTML and CSS for the web

On a web page, write the base letter followed by the combining mark’s numeric entity. For X with a grave that’s X̀, and for x with a caron it’s x̌. The hex form works too: X̀ for the grave.

In CSS content values, escape the mark with a backslash and its hex code, for example content: "x\0301". Keep the base letter and the escape adjacent so the browser stacks them.

Troubleshooting accented X

The mark sits beside the X instead of on top. The combining character landed after a space or in the wrong spot. Delete the mark and retype it directly after the letter, with nothing in between.

You see a box (□) or the mark floats oddly. The font lacks that combining glyph or doesn’t position it well over an X. Times New Roman, Arial and Calibri handle the common marks; niche marks like ogonek or double acute render more reliably in a full Unicode font such as Charis SIL, Gentium or Noto Serif. Switch the font for that run of text.

Search or filenames don’t match. Because the accented X is two code points, a system that stores it un-normalized won’t match a search for a plain X, and some filesystems reorder or reject combining marks. If a form rejects your input, paste a plain X instead, or run the text through a Unicode normalizer (NFC) so the sequence is stored consistently.

Copy-paste drops the accent. An app that only accepts a single code point per keystroke can strip the second character. Paste into a plain-text field first to confirm both parts survived, then move the text where you need it.

Alt+2xxx does nothing. A decimal Unicode number is not a Windows Alt code. There is no numeric-keypad Alt code for these letters at all, use Word’s Alt+X, Chromebook’s Ctrl+Shift+U, or a paste.

Where accented X actually appears

Accented X shows up in phonetic and linguistic notation, in mathematics — x̄ (x with macron) is the standard symbol for a sample mean, and x̂ marks an estimate or unit vector, and in transliteration schemes for languages that don’t use the Latin alphabet natively. Because no language uses these as everyday letters, they stay in the combining-sequence world rather than getting their own code points.

Related letters and marks

Other consonants behave the same way and are easy to mix up when you’re building notation:

  • W with accent, another consonant with mostly combining-mark forms rather than precomposed ones.
  • Y with an accent mark. Y does have a few precomposed forms like Ý and Ÿ, so its methods differ from X.
  • V with an accent mark, like X, built almost entirely from combining sequences.
  • Z with accent, Ź, Ž and Ż are precomposed, so Z has real Alt-code options X lacks.
  • U with accents, a vowel with a full set of precomposed characters and press-and-hold menu support.

Related guides and resources

Build any letter-and-mark combination quickly with our accent keyboard tool. For the full method set across every letter, see the complete guide to typing accented letters, or browse more accented-letter guides in the same series.

Frequently asked questions

Why isn’t there a single Alt code for X with an accent?

Windows Alt codes enter one code point at a time, and an accented X is two code points, the letter plus a separate combining mark. Since Unicode never assigned a precomposed accented X, no Alt code can produce the finished letter. Use Word’s Alt+X, a paste, or the combining-mark methods instead.

Why does my accented X look fine in Word but breaks on a website?

Word ships with fonts that position combining marks well. A web page uses whatever font the visitor’s browser applies, and some fonts place the mark poorly over an X or lack the glyph entirely. Set a font with strong Unicode coverage, such as Noto or Charis SIL, for that text.

Can I type accented X on my phone without copying it?

Not from the standard keyboard, holding X shows no accent menu on iPhone or Android. The workaround is a text replacement: save the pasted glyph under a short trigger like xac, and typing that trigger inserts it anywhere afterward.

What’s the difference between x̄ and a plain x with a line drawn over it?

x̄ is real text: an x plus the combining macron (U+0304), which you can copy, search and style. A line drawn as a shape or an over-line border is graphics, not a character, so it won’t survive copy-paste or search. For the statistical mean symbol, always use the combining macron.

Why does a form or filename reject my accented X?

Some systems only accept single-code-point characters or reject combining marks outright, and others store the sequence un-normalized so it won’t match later. Normalize the text to NFC, or substitute a plain X where the field can’t handle the mark.

Which combining mark is the caron versus the circumflex?

The circumflex (U+0302) points up like a ^; the caron (U+030C) is its mirror, a small v shape ˇ. In the table above, X̂ is the circumflex and X̌ is the caron. They’re easy to swap by accident, so check the hex code before you commit.

Does Google Sheets have an Insert Symbol menu for these?

No. Google Sheets has no special-characters menu at all. Build the character with =UNICHAR(), or paste a finished glyph into a cell after pressing F2 to enter edit mode. Google Docs, by contrast, does have Insert → Special characters.

Leave a Comment