Discord spoiler tags hide text until someone clicks to reveal it

A spoiler tag in Discord is a way to cover up text so other people in a server or direct message have to click it before they see what you wrote. The hidden text appears as a black or blurred box with the word "SPOILER" on it. When someone clicks the box, the text shows. This is useful when you're talking about plot twists in movies, game endings, surprise announcements, or anything else you don't want people to read by accident.

Discord has two ways to add spoilers: you can mark individual words or phrases, or you can hide an entire message. Both methods work the same way on desktop, mobile, and the web version.

Key Takeaways

  • Wrap text in vertical bars with the word "spoiler" to hide individual words: ||spoiler text goes here||
  • You can spoiler-tag a single word, a sentence, or multiple paragraphs in one message.
  • On desktop and web, right-click a message you just sent and select "Mark as Spoiler" to hide the entire thing.
  • Mobile users can swipe left on their own message (iPhone) or long-press it (Android) to find the spoiler option.
  • Once you mark text as a spoiler, you cannot undo it — you have to delete the message and send a new one.

Using spoiler brackets for individual words or sentences

The quickest way to hide text is to type two vertical bars (the | key, usually above backslash) before and after the text you want to hide. Type it like this: ||your text here||. Discord will turn it into a black box with "SPOILER" written on it. This works for a single word, a full sentence, or even multiple paragraphs — as long as you put the bars at the start and end.

For example, if you type "The villain is ||secretly the main character's brother||" the second part will be hidden. When someone clicks the black box, they'll see "secretly the main character's brother" appear.

You can use spoiler brackets multiple times in the same message. If you want to hide three different things, just wrap each one separately: "The movie has ||a plot twist||, ||a sad ending||, and ||a sequel announced||." Each part will get its own spoiler box.

Marking an entire message as a spoiler on desktop and web

If you want to hide everything you just typed instead of picking out specific words, right-click the message you sent. A menu will pop up with several options. Click "Mark as Spoiler" and the entire message will turn into a black box. The message content stays the same — it just gets covered until someone clicks it.

This only works on messages you sent yourself. You cannot mark someone else's message as a spoiler. Also, you have to do this right after you send the message — if you close Discord and come back later, the option may not appear the same way.

Hiding spoilers on iPhone and Android

On iPhone, open the message you want to hide and swipe left across it. A row of icons will appear on the right side. Tap the three dots (more options) and look for "Mark as Spoiler." Tap it and the message will be hidden.

On Android, long-press the message you sent until a menu appears at the bottom of the screen. Tap the three dots or look for "Mark as Spoiler" in the options. The message will be covered when ready.

Like the desktop version, you can only mark your own messages this way. If you want to hide specific words on mobile, use the vertical bar method (||text||) instead — that works everywhere and does not require any menu navigation.

What happens when someone clicks a spoiler

When a reader clicks or taps a spoiler box, the hidden text appears right there in the message. They can click it again to hide it again if they want. The spoiler does not disappear after one click — it stays clickable for as long as the message exists.

On desktop, the spoiler box shows a small eye icon when you hover over it, which signals that clicking will reveal the text. On mobile, the box just looks like a dark rectangle with "SPOILER" written on it.

Removing or editing a spoiler

Discord does not have an "unmark as spoiler" button. If you marked an entire message as a spoiler and want to undo it, you have to delete the message and send it again without the spoiler tag. Click the three dots on your message, select "Delete," and then type it out fresh.

If you used the vertical bar method (||text||) and want to remove the spoiler, edit the message by clicking the three dots and selecting "Edit." Delete the vertical bars around the text and save the change. The text will no longer be hidden.

Common mistakes and how to avoid them

The most common mistake is forgetting the vertical bars on both sides. If you type ||spoiler text without closing bars, Discord will not hide anything — it will just show the bars as regular text. Make sure you have || at the start and || at the end.

Another mistake is trying to mark someone else's message as a spoiler. Discord only lets you mark your own messages. If you need to warn people about a spoiler someone else posted, just reply to their message and use the vertical bar method to explain what it contains.

Some people also try to use spoiler tags in channel names or server descriptions. Those do not work — spoiler tags only function in actual messages and message replies.

Frequently Asked Questions

Can I use spoiler tags in Discord usernames or channel names?

No. Spoiler tags only work in messages and replies. If you try to put ||text|| in a username or channel name, it will just show the vertical bars as regular characters. The spoiler function is limited to message content.

What if I mark a message as a spoiler and then edit it?

The spoiler tag stays in place. If you edit a message that is marked as a spoiler, the entire edited message will still be hidden. You have to delete and resend if you want to remove the spoiler tag.

Do spoiler tags work the same way in direct messages and servers?

Yes. Whether you are messaging one person or posting in a server channel, the vertical bar method (||text||) and the mark-as-spoiler option work identically. The hidden text looks the same and behaves the same way.

Can I put line breaks inside spoiler brackets?

Yes. You can hide multiple paragraphs by putting the opening || at the start of the first paragraph and the closing || at the end of the last one. Everything in between, including line breaks, will be hidden in one spoiler box.

What happens to spoilers if I delete my Discord account?

The messages stay in the server or conversation, and the spoiler tags stay in place. Deleting your account does not remove your old messages or undo their spoiler tags. Only you can delete your own messages.