253

Basically I want to strike through some text; how can I do this?

4
  • 2
    There use to be a Greasemonkey script that added button for this, but Google broke it when they updated Gmail. Not sure if there are any that work now.
    – endolith
    Feb 20 '15 at 19:56
  • 1
    There is script: userscripts-mirror.org/scripts/show/57725. Tested working.
    – hlcs
    May 2 '17 at 14:13
  • 10
    Note to Googlers: Ignore the top answers and just use Alt + Shift + 5 instead. Oct 22 '18 at 7:12
  • 2
    Or cmd + shift + x for Mac users @Pikamander2 Jan 24 '19 at 0:24

10 Answers 10

234

Ok, I have discovered a simple way. Copy this text and paste into your e-mail. Edit the text. Voila!

8
  • 11
    The only bummer is this also carries over the color and font. I've found the extension @GHelper posted to work much better as it just adds a button to the text formatting toolbar in Gmail. Feb 25 '15 at 16:12
  • 3
    After pasting the text, select it and hit Ctrl-Shift-- (Ctrl-Shift-Minus) to shrink it down to Gmail's default font.
    – ladenedge
    Jul 24 '15 at 13:33
  • it doesn't work for me (FF)
    – Ooker
    Jan 2 '16 at 18:55
  • 1
    haha, you made my day the craziest and most efficient answer ever Jan 24 '17 at 21:47
  • 4
    @Michael - If you've already written a bunch of text, you can paste with ctrl-shft-V to paste while maintaining the style of the text you're pasting into.
    – JoeM05
    Apr 21 '17 at 17:42
137

This may not be for everyone (I work in web development), and it's slow, but if you use Chrome or Chromium you can edit the HTML directly and it works fine.

  1. Right-click on the text you want to strike out
  2. Choose 'inspect element'
  3. The inspector will bring up that text - right click on it and choose 'edit html'
  4. Wrap the text you want to strike out with <strike>text</strike>

6
  • 7
    The third step is important. Editing the tag element with that text and adding the <strike>text</strike> there results in <strike>text</strike> being the text in the email (tags visible, without the formatting), and the HTML for it is &lt;strike&gt;text&lt;/strike&gt;.
    – jvriesem
    Apr 24 '15 at 21:56
  • 2
    Such a great answer. This should be the accepted one! Jun 15 '15 at 20:55
  • 1
    alternatively you can add text-decoration: line-through; to the elements style using the dev tools
    – Ben
    Oct 31 '16 at 15:25
  • 5
    Use <s>: the current version of the obsolete <strike>. (<del> should be used exactly for deletions from documents, as in a diff; that is something you would usually not format manually. (@jaepage)) Jun 9 '17 at 19:01
  • This technique works (I used the <s> form suggested by @AaronThoma) and TBH it's more memorable than Google Sheets' Option-Shift-5 or Google Docs' Cmd-Shift-X, neither of which works in Gmail.
    – Jerry101
    Oct 6 '17 at 23:48
63

While this is a very old query, I have found a nifty way to work on it, thus posting it as a solution.

There is a shortcut Alt+Shift+5 to toggle the strike-through. Select the text to strike through, click once Alt+Shift+5 the text is stroked, click once more the text is back to normal.

For Mac: Cmd+Shift+x

4
  • Wow, you made my day ! Works perfectly on Chrome. And yes, this should be the accepted answer. Thx !
    – JYL
    Oct 22 '18 at 15:10
  • 6
    This is the answer, glad I scrolled down, thanks! Works in all browsers I've tried, seems to be an undocumented gmail feature. Looks like gmail uses the same editor as docs, and that shift+alt+5 is a google docs feature.
    – Some_Guy
    Nov 9 '18 at 16:48
  • for me it replaced the text with "fi" Dec 11 '18 at 9:48
  • Confirmed for Firefox on MacOS High Sierra 10.13.6 - definitely the correct answer.
    – Jayx
    Jan 16 '19 at 15:21
14

Personally, I type emails that need more formatting options in the CKeditor demo. Then, I copy the final text into Gmail - the formatting is retained.

2
  • 1
    Hehh, a smart, instant, minimalist idea, +1! :) (It's kind of unfair use of that demo, though, if I'd go by Kantian ethics... ;-o )
    – lunakid
    Jul 12 '15 at 8:14
  • 1
    Yeah, someone should definitely write a userscript or extension to replace Google's Inbox and Gmail textareas with CKeditor... Dec 19 '16 at 9:26
12

There is no native way to do it, so you either do it in Word (or any other text editor that supports it) and then copy/paste the text in the compose window or you install a browser add-on.

3
  • "or you install a browser add-on" ... such as?
    – endolith
    Feb 20 '15 at 19:57
  • @endolith such as StrikeThrough for Gmail. (Disclaimer: I haven’t used it.)
    – Alex
    Mar 3 '15 at 7:18
  • 1
    StrikeThrough for Gmail is long defunct according to its reviews. ( @Alex ) Aug 6 '17 at 16:16
10

On Mac in Google Chrome, select the text, and hit Cmd-Shift-x.

1
7

As of January 2019, you can use new Formatting options - Strikethrough (Alt-Shift-5): enter image description here

Source: https://gsuiteupdates.googleblog.com/2019/01/new-gmail-compose-formatting-and-download-options.html

3

I thought it would be clever to create a bookmarklet in Chrome that would modify the style of selected text using JavaScript.

Unfortunately, I couldn't get that to work, but if you're familiar with the console, you can paste this line into it to strikethrough any selected text:

window.getSelection().anchorNode.parentNode.style.textDecoration = "line-through"

To get to the console, you can right click anywhere in the HTML document of the Chrome Browser and choose "Inspect Element," or you can press "option / command / J" at the same time on a Mac machine.

F12 or "control - shift - J" opens up the console on PCs.

Once you've done this, the console will remember your command, and you can press the up arrow to cycle through past console commands. When you return to this particular one, just press enter again to apply it.

2

January 22nd 2019, Google announced:

We're adding three new features to Gmail:

  • Shortcut to undo/redo in the compose window
  • Shortcut to strikethrough text
  • Ability to download messages as .EML files in rfc822 format from Gmail on the web

from New Gmail compose formatting and download options in the official G Suite Updates blog.

0

Command (or Ctrl) + Shift + X.

2
  • On what OS/browsers have you tested this? This doesn't work for me on Chrome/Windows.
    – MrWhite
    Dec 12 '18 at 20:06
  • Chrome on Mac OS. Just tested again and it is working. Make sure you select the text before hitting Cmd + Shift + X.
    – Izaias
    Dec 13 '18 at 21:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.