Discord Spoiler Text Generator

Type a message, choose what to hide, and copy text wrapped in Discord spoiler tags (||like this||). Hide the whole message, each line, each word or every single letter.

29 / 2000
Preview (click a bar to reveal it)
The killer was the butler

The preview approximates Discord's dark theme. Readers have to click each bar separately, which is the point of the per-word and per-letter modes.

How to spoiler text on Discord

Wrap the text in two vertical bars on each side. Discord's Spoiler Tags help article gives three ways to do it, and all of them produce the same thing.

MethodWhat to doWorks on
Type the bars||the butler did it||Desktop, browser, iOS, Android
Slash commandType /spoiler before your message. The whole message is hidden.Where slash commands are available
Eye iconHighlight the text in the message box, then click the eye icon in the small toolbar that pops up (next to bold, italic, strikethrough, quote and code)Desktop and browser
Mark as SpoilerSelect the text in the text box, tap it to open the context menu, then tap Mark as SpoileriOS

You can hide part of a message. The winner is ||Team Blue|| shows "The winner is" and a dark bar. The vertical bar key is usually Shift + backslash on a US keyboard. On a phone keyboard it is on the second symbols page.

How to spoiler an image, video or file

Spoiler bars only work on text. For an attachment, Discord's article says to add the attachment to your message and then click the Mark as Spoiler eye icon on the attachment before you send it. The image is blurred until someone clicks it.

Bots and webhooks do the same thing through the API: Discord's developer docs describe an is_spoiler field on attachments that marks the file "as a spoiler and blurred until clicked".

How to spoiler a link

Put the bars around the URL: ||https://example.com/finale-recap||. Discord says this hides embedded links too, so the preview card is covered along with the address. One exception from the same article: server invite embeds cannot be hidden with spoiler tags.

When spoiler tags do not work

What you seeWhyFix
The bars show as plain || charactersThe text is inside a code block or inline code. Discord states that spoilers inside code blocks are not hidden.Move the text out of the backticks
Only one bar on each side, nothing hiddenA single | is just a characterUse two on each side with no gap between the pair
The spoiler ends earlyThe text itself contains ||, which closes the tagRemove the inner bars or put a backslash before them
An invite link still shows its cardInvite embeds are exemptSend the invite in a separate message or leave it out
The message will not send in per-letter modeEach letter costs 5 characters (the letter plus four bars), so 400 letters reach the 2,000 character message cap (4,000 with Nitro)Use per-word mode or shorten the text

Seeing spoilers, and turning them off

Click a spoiler to reveal it. Leaving the channel hides revealed spoilers again. If you would rather never see the bars, Discord has a setting under User Settings > Text & Images with three choices: reveal on click (the default), always reveal on servers you moderate, or always reveal. Discord's article says this setting is only available in the desktop and browser apps.

Spoiler channels

If a whole topic is a spoiler, a server admin can mark a channel instead of asking everyone to tag messages. In the channel's settings, the Overview tab has a Content Visibility section with a Spoiler Channel toggle. Members see a notice with the channel name and topic and choose whether to enter. Discord's Spoiler Channels FAQ says text, voice, forum and announcement channels can all be spoiler channels, and that setup is done on desktop or in a browser.

Why hide each word or letter?

One long bar tells the reader how long the answer is and reveals everything in one click. Splitting it up is useful for:

  • Quizzes and trivia: hide each answer line separately so people can check one at a time.
  • Guessing games: hide each letter and let the channel reveal them one by one.
  • Content warnings: write the warning in the open and hide the rest: CW food ||the rest of the message||.

More Discord tools