Discord Spoiler Text Generator: Hide Text With ||Spoiler|| Tags
Discord hides text when it sits between two pairs of vertical bars, like ||this||. This spoiler text generator adds the bars for you. Hide a whole message, every word, every line or every character, check the preview, and copy the result into a message.
Preview (click a block to reveal it)
How to use it
- Type or paste your text in the box above.
- Choose what to hide. One big spoiler, each word, each line or each character.
- Try the preview. Click a black block to reveal it, the same way readers do in Discord.
- Press Copy and paste it into a message.
The modes
| Mode | Output looks like | Good for |
|---|---|---|
| Everything | ||The butler did it|| | A plot twist or an answer |
| Each word | ||The|| ||butler|| ||did|| ||it|| | Word games, guessing games |
| Each line | One spoiler per line | Lists of answers or rankings |
| Each character | One spoiler per letter | Hangman, puzzles, codes |
What spoilers can and cannot do
- Readers click or tap the block to reveal it. Once revealed it stays revealed on their screen.
- You can use
||in normal messages and in many bot messages. It is not a way to keep a secret from moderators or from anyone who can see the message. - The text is still in the message. Search, notifications and screen readers may show it. Notification previews on a phone can show the hidden text.
- On an image, use the Mark as spoiler option when uploading. Typing the bars does not hide an attachment.
Never put passwords, tokens or personal details in a spoiler. It is formatting, not protection.
Tips
Blank space outside the bars stays visible, so the generator keeps spaces and line breaks out of the spoilers. This keeps each block tight, and it avoids the stray empty spoilers that appear when bars wrap only whitespace. If your text already contains ||, the pieces will clash, so remove them first or use the markdown escaper.
For spoiler-free channels, a server can post a rule in its rules channel. The rules template generator has a starting point. Staff running a quiz or giveaway can pair spoilers with the giveaway message generator or the giveaway and poll docs so the answer stays hidden until the reveal.
Spoiler etiquette
Use spoilers for plot twists, quiz answers and results people may not want to see yet. Say what the spoiler is about outside the bars, such as "Season finale:", so people can decide whether to open it. For long text, one block is easier to read than dozens of small ones.
Related tools
See how it all renders in the markdown previewer, shrink text with the small text generator, or build a masked link with the hyperlink generator.
Common questions
How do I make a spoiler in Discord?
Put two vertical bars on each side of the text, like ||text||.
Can I spoiler each word separately?
Yes. Choose Each word in the tool and it wraps every word in its own bars.
Does a spoiler hide text from notifications?
Not always. The raw text can appear in a phone notification, so do not use spoilers for anything private.
How do I spoiler an image?
Use the Mark as spoiler option on the upload. Typing bars does not hide a picture.