HomeGuidesDiscord Spoiler Tag
Official Markdown Reference Guide

Discord Spoiler Tag: The Complete 2026 Guide

Learn how to use the Discord spoiler tag (||spoiler||) to hide text, blur images, conceal videos, and prevent formatting leaks on desktop and mobile.

Quick Answer: How to Use the Discord Spoiler TagSyntax Summary

To create a spoiler tag on Discord, surround your message with two vertical pipe symbols on each side: ||your spoiler text||. On standard keyboards, type vertical pipes using Shift + \. When sent, Discord covers the text with an interactive black box that server members must click or tap to reveal. For image and video attachments, click the eye icon in the chat preview or rename the file to begin with SPOILER_.

Want live Discord formatting with instant chat preview?
Generate bold, subtext (-#), and ANSI colors directly in our visual editor.
Open Generator Tool

1. How to Spoiler Text in Discord (All Platforms)

Desktop (Windows, Mac, Linux, Web)

Type two pipes (||) on both sides of the words you want to conceal.

# Input:
The secret code is ||alpha_779||

Tip: You can also highlight text with your cursor and click the floating Eye icon.

Mobile (iOS iPhone, iPad, Android)

On touch keyboards, find the vertical bar symbol in numbers/symbols (|) and type it twice before and after your message.

# Context Menu Shortcut:
Double tap text > Select > Tap arrow > "Mark as spoiler"

Works universally across iOS Discord and Android Discord builds.

2. How to Spoiler Images, Videos & Files in Discord

Discord allows you to blur entire image uploads so users must click the media card to unblur it. There are two reliable methods:

Method A: The Attachment Eye Icon

Click the + button to attach a picture. Before pressing Send, hover over the image thumbnail and click the Eye Icon labeled "Mark as spoiler".

Method B: The SPOILER_ File Prefix

Rename your image file before uploading so it starts with SPOILER_. For example: SPOILER_chart.png. Discord automatically blurs any file matching this convention.

Need to hide only part of a screenshot?

Discord's image spoiler tag blurs the entire image thumbnail. If you want to black out a single API key or password while leaving the rest of the image readable, use our Client-Side Screenshot Redactor before attaching it to Discord.

3. Nested Formatting Rules (Bold Spoilers, Italics, Code)

When mixing spoiler tags with other Discord Markdown formatting, keep syntax brackets symmetric to avoid parser confusion.

Formatting StyleMarkdown SyntaxRendered Result
Bold Spoiler**||Secret Text||**Hidden spoiler that reveals in bold font
Italic Spoiler*||Secret Text||*Hidden spoiler that reveals in italic font
Subtext Spoiler-# ||Secret Subtext||Small muted subtext enclosed in a spoiler mask
Inline Code Spoiler||`token_value`||Monospace code snippet hidden behind spoiler
Strikethrough Spoiler~~||Secret Text||~~Crossed out text behind spoiler mask
Common Mistake: Never cross syntax tags like **||Text**||. Discord will treat the closing asterisks as raw text and leak your message!

Spoiler Syntax by Platform

Discord
||spoiler text||

Double vertical bars. Tap or click to reveal.

Reddit
>!spoiler text!<

Strict zero spacing. See our Reddit Guide.

Telegram
||spoiler text||

Double bars or contextual menu. See our Telegram Guide.

Frequently Asked Questions

How do you type vertical bars on keyboard?

On US ANSI keyboards, hold Shift and press the backslash key (\), located above the Enter key.

Can I hide spoilers on mobile without typing bars?

Yes. Select any text in the mobile chat box, tap the context menu arrow, and select "Mark as spoiler". Discord automatically inserts the double pipes around your selection.

Do Discord spoiler tags encrypt sensitive passwords?

No. Discord spoiler tags are strictly a visual UI mask. The raw characters are sent unencrypted over the network and can be read by bots, webhooks, and anyone inspecting Discord packets. Never use Discord spoiler tags to store credit cards or private credentials.

How do I un-spoiler all text permanently?

In Discord Settings > Text & Images > Show Spoiler Content, you can set spoiler visibility to "Always" so spoiler boxes are automatically uncovered when messages load.

Try the Interactive Formatter

Test spoilers, bold text, subtext, and ANSI colors with live Discord chat preview.

Go to Generator