Discord Spoiler Tags: How to Hide Text, Images and Links

Discord Spoiler Tags: How to Hide Text, Images and Links

To hide text on Discord, wrap it in two vertical bars, like ||this is hidden||, or type /spoiler before your message. Images and videos are hidden by ticking Mark as Spoiler before you send them, and links are hidden the same way as text, by wrapping the URL in || bars. Anyone can click a spoiler to reveal it, so it hides content from accidental view, not from people.

A spoiler tag hides part of a Discord message behind a dark bar until someone clicks it. It is the built-in way to talk about a film ending, a game result, or a quiz answer without ruining it for everyone in the channel. The tag works on text, images, videos, and links, on desktop, in a browser, and on phones. Our site started as a text repeater, and the same copy-paste tricks power the Discord guides below.

This post covers every method: the || syntax, the /spoiler command, the eye icon, image spoilers, link spoilers, and what to do when a tag does not work. It also covers the one thing people get wrong about spoilers, which is that they are not private. A spoiler hides content from a quick glance. It does not stop anyone from clicking to see it.

What are Discord spoiler tags?

Discord spoiler tags are a formatting mark that hides content until the reader chooses to reveal it. Hidden text shows as a dark bar. Hidden images and videos show blurred, with a SPOILER label. The reader clicks or taps once, and the content appears.

You can hide one word in the middle of a sentence, or a whole message. You can hide a link, so nobody sees where it leads until they click. You can hide an image, so nobody sees it in the channel preview. The tag works in servers, in direct messages, and in group chats, and it works the same way on Windows, Mac, in a browser, on Android, and on iPhone.

Three limits matter, and Discord states two of them in its own support article. First, a spoiler is visual hiding only, not security. Anyone in the channel can reveal it with one click, so never use a spoiler for a password, a personal detail, or anything you truly need to keep private. If it must stay secret, delete the message instead. Second, text inside a code block cannot be hidden with a spoiler tag. Discord says so directly: text marked as spoiler within code blocks will not be hidden. Third, a Discord server invite link cannot be hidden. The invite shows as an embed, and embeds ignore spoiler tags.

How to spoiler text on Discord

There are three ways to use Discord spoiler tags on text, and they all do the same thing. Pick the one that fits how you type.

Method 1: the || syntax (works everywhere)

Type two vertical bars before the text and two after it:

||The hero dies in the last chapter||

Send the message, and the text appears as a dark bar. This is the fastest method, and it is the only one that works the same on every platform, including phones. The vertical bar key is usually above the Enter key on a desktop keyboard, or on the symbols page of a phone keyboard.

Keep the bars tight against the text, with no space between || and the first letter. A space right after the bars can break the tag on some clients, so type ||hidden||, not || hidden ||.

You can hide part of a sentence and leave the rest visible:

The ending is ||the hero dies||, do not read further.

Method 2: the /spoiler command

Type /spoiler at the start of your message, then your text:

/spoiler The hero dies in the last chapter

Discord hides the whole message. This method is useful on a phone, where finding the vertical bar key takes an extra tap. It is also the method to use if you want the entire message hidden and do not want to type bars at all.

Method 3: highlight and click the eye icon

Type the message first, then highlight the part you want to hide. On desktop and in a browser, an eye icon appears when you hover over the selection. Click it, and Discord adds the || bars around the text for you. On iPhone, select the text and tap to open the context menu, where Mark as Spoiler appears.

MethodDesktop and browserMobileHides
|| text ||YesYesAny part of a message
/spoilerYesYesThe whole message
Highlight plus eye iconYesiPhone context menuAny part of a message

How to spoiler images and videos on Discord

For text, Discord spoiler tags use bars. For images and videos, they use a toggle before you send them.

On desktop or in a browser, attach the file to your message. Before you send it, look at the upload preview. There is a Mark as Spoiler checkbox, or an eye icon above the attachment. Tick it or click it, and the file sends blurred with a SPOILER label. The reader clicks it to reveal the image or video.

On mobile, the option depends on your app version. Newer versions show Mark as spoiler when you tap the attachment in the preview before sending. If your app does not show the option, there is a second way that works on any platform: rename the file before you upload it so its name starts with SPOILER_, for example SPOILER_screenshot.png. Discord treats any file with that name as a spoiler and blurs it on arrival. This trick works for images, videos, and other attachments, and it works from a phone, where the toggle is sometimes missing.

Two details are worth knowing. First, an image caption is separate from the image. Marking the image as a spoiler does not hide the caption text, so wrap the caption in || bars if it gives anything away. Second, once a spoiler image is sent, you cannot unmark it. You would have to delete the message and send it again.

How to spoiler a link on Discord

Discord spoiler tags hide links the same way as text. Wrap the whole URL in || bars:

||https://example.com/film-ending-explained||

The link hides behind a dark bar until someone clicks it. This works for normal links to articles, videos, and pages.

One exception: Discord server invite links cannot be hidden. An invite link turns into a server embed, a preview card with the server name and icon, and spoiler tags do not apply to embeds. If you paste an invite link inside || bars, the embed still shows. The only way to share an invite without showing it is to send it in a direct message, or to describe it in words instead of pasting the link.

Spoiler tags with other formatting

Spoiler tags combine with bold and italic. You can hide bold text like this:

||This bold text is hidden||

Or hide italic text the same way. The formatting stays inside the spoiler, and it appears when the reader reveals it.

What does not combine is code blocks. A spoiler tag inside a code block does nothing, because Discord renders code blocks as plain text and skips the spoiler formatting. If your hidden text sits inside triple backticks, move it out of the code block, or accept that it will show.

Spoiler tags also combine with the -# subtext line, which makes text smaller. That combination is for style, not for hiding, because subtext is visible to everyone. If you want small hidden text, use a spoiler tag on its own.

How to reveal a spoiler

Click the dark bar once on desktop, or tap it once on a phone, and the content appears. The same goes for a blurred image: click it and it shows in full.

A revealed spoiler stays revealed while you stay in the channel. Discord says you can re-hide all spoilers you revealed by leaving the channel. When you come back, the bars are dark again. There is no way to re-hide a single message on its own, and as Discord puts it, you can never unsee what you have seen.

How to turn off spoiler tags

If you would rather see everything at once, you can turn Discord spoiler tags off. Go to User Settings, then Text and Images, and set Show Spoiler Content to Always. Spoilers will then show without a click.

Discord says this setting is currently only available on the desktop and browser app. On mobile there is no switch to turn spoilers off, so you will still need to tap them to reveal them.

Spoiler channels: the channel-level option

In July 2026 Discord added spoiler channels. A server owner can mark a whole channel as a spoiler channel, and everything in it stays hidden until a reader clicks Continue. It is a channel setting, not a message tag, so it suits a channel where almost every message is a spoiler, like a film discussion channel. For hiding one message in a normal channel, the || tag is still the way to do it.

Spoiler tags vs invisible text

Discord spoiler tags and invisible text both hide things on Discord, but they do different jobs. A spoiler hides content until the reader clicks it. Invisible text hides content until someone copies it and pastes it somewhere else, because the characters themselves are blank.

Use a spoiler tag when the reader should be able to reveal the content with one click, like a film ending or a quiz answer. Use invisible text when the content should look like nothing is there at all, like an invisible name or a blank message. Our guide to invisible Discord names covers that trick: https://quicktextrepeater.com/discord-invisible-name/

The two tricks also stack in a fun way. An invisible name plus a spoiler tag in your messages makes a profile that gives almost nothing away at a glance. The small text generator is the third piece of the same kit: https://quicktextrepeater.com/tiny-text-generator/ It makes the small letters that work in Discord names, bios, and messages, which our small text in Discord post explains: https://quicktextrepeater.com/how-to-make-small-text-in-discord/

Neither trick is real privacy. A spoiler is one click from visible, and invisible text is one copy-paste from visible. Both are for fun and for courtesy, not for secrets.

Why your spoiler tag is not working

The most common cause is a space. If you typed || hidden || with spaces inside the bars, the tag may not apply. Delete the spaces and type ||hidden||.

The second cause is a code block. Text inside triple backticks ignores spoiler tags. Take the text out of the code block and the tag will work.

The third cause is a server invite link. Invite embeds cannot be hidden, so the preview card will show even inside || bars. Send the invite in a direct message instead.

The fourth cause is the mobile image toggle. If your phone app has no Mark as spoiler option on the attachment preview, rename the file to start with SPOILER_ and upload it again.

The last cause is not a fault at all: the spoiler already revealed. Once you click a spoiler, it stays visible until you leave the channel. Leave and come back, and it hides again.

FAQ

How do you make spoiler text in Discord?

Wrap the text in two vertical bars, like ||this is hidden||, or type /spoiler before your message. Both work on desktop, in a browser, and on mobile. You can also type the text, highlight it, and click the eye icon on desktop.

Can you add a spoiler to an image on mobile?

Yes for text, and usually for images. Newer mobile apps show a Mark as spoiler option when you tap the attachment before sending. If your app does not show it, rename the file so its name starts with SPOILER_, for example SPOILER_photo.png, and upload it. Discord blurs any file with that name.

Can you hide a Discord server invite link with a spoiler tag?

No. An invite link turns into a server embed, and spoiler tags do not hide embeds. The preview card shows the server name and icon even inside || bars. Send the invite in a direct message instead.

How do you turn off spoiler tags on Discord?

Go to User Settings, then Text and Images, and set Show Spoiler Content to Always. Spoilers will then show without a click. Discord says this setting is only available on the desktop and browser app, so mobile users still tap spoilers to reveal them.

Do spoiler tags keep a message private?

No. A spoiler hides content from a quick glance, and anyone in the channel can reveal it with one click. Do not use spoiler tags for passwords, personal details, or anything that must stay secret. Delete the message instead.

References

Similar Posts