- Spoiler text on Discord with the eye icon on desktop
- Typing spoiler text on Discord by hand with vertical bars
- Using the spoiler command for a whole Discord message
- Hiding spoiler text on Discord from your phone
- Marking images, files and links as spoilers on Discord
- Strikethrough on Discord and other markdown shortcuts
- Why your Discord spoiler text isn't hiding
- Turning Discord spoiler tags off or on for yourself
- Frequently asked questions
To spoiler text on Discord, highlight the words and click the eye icon, or type two vertical bars before and after them, then send. The detail people trip over: spoilers don't work inside code blocks, so if your words sit between backticks, take them out first.
Picture a members' channel the morning after a season finale: one person types who died, and half the server has it ruined before breakfast. Discord's answer is the spoiler tag: a grey box that hides your words until a reader chooses to click. I love it for community managers too, because it lets people talk freely about a launch, a quiz answer or a competition result without ruining it for anyone who's catching up.
Discord gives you three ways to hide text (the eye icon, typed bars and the /spoiler command), one for images, files and links, and a setting that decides whether you see spoilers at all. Strikethrough and the rest of Discord's formatting come after that. I've described each symbol in words, so you'll know exactly which keys to press.
Spoiler text on Discord with the eye icon on desktop
This is the easiest route if you're on the desktop app or using Discord in a browser.
- Type your message in the chat box as normal.
- Highlight the words you want to hide with your mouse.
- A small formatting toolbar pops up above the text. Click the eye icon.
- Press Enter to send. The highlighted part now shows as a dark box until someone clicks it.
You can hide a single word, one sentence or the whole message. Only the part you highlight gets covered, so you can leave the context visible, for example "The twist in episode 6 is" followed by a hidden reveal.
Typing spoiler text on Discord by hand with vertical bars
If you'd rather keep your hands on the keyboard, you can type the spoiler markers yourself. Put two vertical bars (the pipe key, usually above Enter or next to the left Shift key) straight before the hidden words, and another two vertical bars straight after them, wrapped directly around the text the way Discord's own example shows it.
So a message would read: two vertical bars, the secret part, then two more vertical bars. Discord's Spoiler Tags help article shows exactly this pattern, and it works on phones and computers alike. It's also what the eye icon does behind the scenes: once you mark text as a spoiler, Discord shows two bars at the front and back of it in the chat box. On a phone keyboard, the vertical bar usually sits on the second or third symbols page.
Using the spoiler command for a whole Discord message
When the entire message is a spoiler, there's an even quicker option. Type a forward slash followed by the word spoiler at the very start of the chat box, pick the spoiler command from the list that appears, then type your message. Discord sends the whole thing hidden. It's a handy habit for anyone posting quiz answers in a members' channel, because you don't need to remember where the bars go.
Hiding spoiler text on Discord from your phone
On mobile, the steps depend a little on your device. Discord's help article describes this route for iOS specifically:
- Type your message in the chat box.
- Select the text you want to hide in the text box.
- Tap the selection to open the context menu and choose Mark as Spoiler. Discord wraps the selected text in bars for you.
- Send the message.
On Android, the help article only gives the typed route, so use the bars: two vertical bars, your words, two more vertical bars, then post. Discord's help says the same Markdown works on mobile as on desktop, and wrapping a link in bars hides that too.
Marking images, files and links as spoilers on Discord
Words aren't the only thing you can hide. According to Discord's help centre:
- Images and files: add the attachment to your message, then click the eye icon labelled Mark as Spoiler on the attachment before you send. The picture shows blurred until someone clicks it.
- Links: put two vertical bars before the link and two after it. This works the same way on mobile.
- Server invites: these are the exception. Discord says invite embeds can't be hidden with spoiler tags.
If you're sharing a sneak peek with a launch team, spoiler the image itself rather than only the caption. A spoilered caption with an unspoilered picture gives the game away the moment the image loads.
Strikethrough on Discord and other markdown shortcuts
Discord uses a simple formatting language called markdown, and its Markdown Text 101 help article lists the shortcuts. Strikethrough is the one people ask about most. To cross words out, put two tildes (the squiggly line key, often next to the number 1 or on the hash key) before the text and two tildes after it. The words appear with a line through them, which is great for jokey corrections or ticking things off a shared to-do list.
| Effect | What you type either side of the text |
|---|---|
| Spoiler | Two vertical bars |
| Strikethrough | Two tildes |
| Bold | Two asterisks |
| Italics | One asterisk or one underscore |
| Underline | Two underscores |
A few more from the same article work at the start of a line rather than around words. One, two or three hash symbols plus a space make a big, smaller or smaller still header. A dash, a hash and a space make small grey subtext, and like headers it only works when it sits at the very beginning of the line. A greater-than sign and a space turn the line into a quote, and three greater-than signs quote everything after them. You can also turn words into a clickable masked link by putting the words in square brackets and the web address in round brackets right after.
Code blocks are the one to watch. One backtick (the key usually left of the number 1) either side makes inline code, and three backticks either side make a multi-line block. The same article warns that a code block cancels spoiler formatting, so never put a spoiler inside one.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Formats stack. The Markdown article's own example of underlined bold is two underscores, two asterisks, your words, two asterisks, two underscores, so you build combinations from the outside in. If your group also uses WhatsApp, its formatting rules are different, and I've covered those in my guide to highlighting text in WhatsApp chats.
If your profile feels cluttered, here's how to hide Discord badges.
If you're asking is there a free Nitro trial right now, I've got the details.
Why your Discord spoiler text isn't hiding
If the box doesn't appear, check these first:
- It's inside a code block. Discord's help says text marked as a spoiler inside a code block won't be hidden. Take it out of the code formatting.
- The bars are wrong. Check you've typed two vertical bars each side, not one, and that both pairs are there, wrapped around the words the way Discord's example shows.
- You've switched spoilers off. If your own settings show spoilers all the time, you'll see the text even though others won't. More on that below.
- It's a server invite. Invite embeds can't be spoilered.
Turning Discord spoiler tags off or on for yourself
Some people find the grey boxes annoying, especially moderators who need to scan a busy channel. Discord lets you choose how spoilers show for you, under User Settings, then Text & Images. The options are:
- On click: the default. Spoilers stay hidden until you click them.
- On servers I moderate: spoilers show automatically in servers where you have a role with the Manage Messages permission.
- Always: spoilers show everywhere.
Discord's help notes this setting can only be changed on the desktop or browser app, not on your phone. Your choice only affects what you see. Everyone else still gets the hidden box.
One last thing: once you click a spoiler, it stays revealed while you're in that channel, and Discord hides it again when you leave. You can't un-see it, though, so think twice before clicking in a channel for a show you haven't finished. And if you've already let an ending slip in a YouTube comment, my guide to deleting your YouTube comments shows how to take it down.
Frequently asked questions
How do you spoiler text on Discord?
Highlight the text and click the eye icon, or type two vertical bars before and after the words. You can also type the spoiler slash command at the start of a message to hide all of it.
How do you strikethrough on Discord?
Put two tildes straight before the words and two tildes straight after them. The text shows with a line through it once you send the message.
Can I spoiler a link on Discord?
Yes. Put two vertical bars in front of the link URL and two behind it. Discord says this works for embedded links on mobile too, though server invite embeds can't be hidden.
Why isn't my Discord spoiler working?
The most common reasons are that the text sits inside a code block, there's only one bar on a side, or you've set spoilers to always show for yourself in Text & Images.
How do I hide a spoiler again after clicking it?
Leave the channel. Discord says that re-hides every spoiler you revealed there, though, in its words, you can never unsee what you have seen.