All tools

Discord Spoiler Text Generator

Type your text and copy it back with Discord spoiler bars around it.

  1. 1Type text
  2. 2Pick a style
  3. 3Paste it
redact / discord-spoiler-text-generator
Ready to copy
Hide
Paste this into Discord
||The butler did it||

21 of 2,000 characters

How it looks in Discord (click to reveal)
From Redact
Some messages need more than a spoiler
Anyone in the channel can click a spoiler open. Redact deletes your Discord messages and DMs in bulk, on desktop or mobile.
See Redact for Discord
Runs in your browser. Your text never leaves your device.

What the spoiler generator does

Four ways to hide text in a Discord message, and one to take spoilers out.

Hide all of it or part of it
Wrap the whole message in one spoiler, or give every line its own so readers can open one answer at a time. Handy for quiz answers, puzzle hints and trivia nights.
Every word or every letter
Each word or each letter gets its own spoiler, so readers have to click them open one by one. It's a joke format people use to tease a reveal or drag out a punchline.
See it before you send it
The preview shows the blacked-out bars the way they'll sit in your message. Click one to open it, just like a reader would in Discord.
Watch the length
Every spoiler adds four bar characters. A per-letter spoiler grows fast, so the counter warns you before you pass Discord's 2,000-character limit, or 4,000 with Nitro.
Take spoilers back out
Paste a message full of || bars and pick Remove spoilers to get plain text back. That's quicker than clicking open every bar when someone hid a whole paragraph letter by letter.
Stays on your device
Your text is turned into spoilers right in your browser. None of it is sent to Redact, to Discord or to anyone else.

Discord spoiler text: FAQ

Every Way to Do It

How to spoiler text on Discord by hand

The generator handles text. Images, files and links need Discord's own controls, so all of those are below too.

Two bars on each side

The quickest spoiler is two vertical bars before the text and two after it.

The ending is ||they were dead the whole time||.

Readers see "The ending is" followed by a dark bar, and the words appear when they click it. The bar key is usually above Enter, typed with Shift. On a phone it sits on the symbols keyboard.

You can hide just part of a message, and you can use more than one spoiler in the same message. That's what makes this method better than the others for quizzes, where each answer gets its own bar:

Q1: Capital of Australia? ||Canberra||
Q2: Smallest planet? ||Mercury||

The /spoiler command

Start a message with /spoiler and Discord shows a box for the text. Whatever you type there is sent as one spoiler covering the whole message. It's the same on desktop, web and mobile, and it saves hunting for the bar key on a phone.

The catch is that it's all or nothing. If you only want to hide the last line of a message, use the bars instead.

Highlight and click the eye

On desktop and in the browser, type your message, select the words you want hidden, and a small formatting bar pops up above them. The eye icon at the end of it turns the selection into a spoiler. Discord adds the bars for you, so you'll see them appear around your selection before you send.

Spoiler an image, video or file

Bars around text don't hide an attachment. Each attachment has its own spoiler switch.

On desktop, drag the file into the message box or upload it with the plus button. Hover over the preview that appears above the box and click the eye icon. The preview blurs, which tells you it worked.

On mobile, add the photo or file, tap its thumbnail before you send, and turn on Mark as spoiler.

Two things catch people out:

  • The message you type with an attachment isn't hidden along with it. If the caption gives away the picture, put bars around the caption as well.
  • A file whose name starts with SPOILER_ is sent as a spoiler. Renaming a file to SPOILER_ending.png before you upload it works on any device, and it's how bots send spoiler images.

Spoiler a link

Put the bars around the URL, the same as with text:

||https://example.com/finale-recap||

The link stays hidden until a reader clicks the bar. Server invites are the exception. Discord still shows the invite's preview card under the message, so the bars hide only the link text.

Hide every word or every letter

Wrapping each word, or each letter, in its own bars makes a reader click their way through the whole message:

||y||||o||||u|| ||w||||i||||n||

It's mostly a joke format, for dragging out a punchline or a reveal, and nobody wants to type that by hand. The generator does it in one click, and it leaves the spaces between words unhidden so a sentence still looks like a sentence.

Watch the length. Every spoiler adds four characters, so one letter becomes five. A free account's message limit is 2,000 characters, which works out to roughly 400 letters spoilered one at a time. Nitro raises the limit to 4,000. The generator counts the result for you and warns you when it's too long to send.

When the bars show up instead

Sometimes a message goes out with the bars in plain sight and nothing hidden. There are three usual causes.

  1. It's inside code. Spoilers don't work between backticks, in inline code or in a code block.
  2. A stray bar ends it early. A | inside the hidden text can pair up with the bars around it. Put a backslash in front of it, \|, and Discord shows it as a plain bar. The generator does this for you.
  3. There's only one bar on a side. It takes two on each side. A single | is plain text.

Want to show the bars on purpose, say to teach someone the trick? Put a backslash before every bar, \|\|like this\|\|, and Discord prints the bars as typed.

Turning spoilers off for yourself

If you'd rather never click a spoiler again, Discord has a setting for that. Open User Settings, go to Chat, and find Show spoiler content. It has three choices:

  • On click is the default. Every spoiler stays hidden until you click it.
  • On servers I moderate opens spoilers automatically only in servers you moderate, so you can read them while checking a channel.
  • Always opens every spoiler for you everywhere.

It only changes what you see. Everyone else still gets the bars.

Taking spoilers back out

Someone pasted a whole paragraph one letter at a time and you want to read it, or quote it somewhere else? Copy the message, paste it into the generator and choose Remove spoilers. You get the plain text back with the bars stripped out.

A spoiler hides nothing from anyone who clicks

A spoiler is a courtesy, not a lock. Anyone who can read the channel can open it, bots and moderation tools read the text inside it, and it sits in your Discord data package like any other message. Pasting a phone number or an address behind bars doesn't make it private. If something you posted shouldn't be readable at all, the fix is deleting it.

Try Redact for Free

We are frequently adding support to other social network services. You can receive direct updates from us in Redact's Discord Channel.