How to Hide Text on Discord: Spoiler Tags & More
In this article
To hide text on Discord, wrap it in double vertical bars like ||this|| — this creates a spoiler tag that blurs the text until someone clicks it. You can also use code blocks or change your privacy settings to hide messages from specific people. Here’s the complete guide.
What You'll Need
- The Discord app (desktop, web, or mobile) — all versions support spoiler tags.
- An account with permission to send messages in the server or DM where you want to hide text.
Step-by-Step
Method 1: Using Spoiler Tags (Quickest)
- Open Discord and navigate to the chat box (text field) where you type messages.
- Type your message, then add two vertical bars (
||) before and after the text you want to hide. For example:||Hidden text here||. - Press Enter to send. The text will appear blurred with a dark overlay. Anyone can click it to reveal the content.
- To hide only part of a message, use the bars around just that segment:
This is visible ||but this is hidden||.
Method 2: Using the Formatting Menu (Desktop/Web)
- In the chat box, type your message.
- Highlight the text you want to hide with your mouse.
- A small popup toolbar appears. Click the eye icon (Spoiler) — it looks like an eye with a slash through it.
- Discord will add the
||bars automatically. Send the message.
Method 3: Hiding an Entire Image or File
- Upload an image or file as you normally would (click the plus icon or drag and drop).
- Before sending, click the eye icon next to the file preview (desktop) or tap the spoiler toggle (mobile).
- Send the message. The attachment will be blurred until clicked.
Method 4: Hiding Text from Specific People (Privacy Settings)
- Click the gear icon (User Settings) at the bottom left (desktop) or tap your avatar (mobile).
- Go to Privacy & Safety.
- Scroll to Safe Direct Messaging — you can choose to scan DMs for explicit content, but this doesn’t hide text from individuals.
- To block a user entirely, go to their profile and click Block. This hides all their messages from you (they’ll see a “Message Blocked” notice).
- To mute a server or channel, right-click the server/channel name and select Mute — this hides notifications, not the text itself.
Note: Menu labels can vary slightly by version, device, or region, but the core steps remain the same.
Common Mistakes
- Forgetting the bars: Using only one vertical bar or a slash instead of two bars on each side won’t work. Ensure it’s exactly
||text||. - Spaces inside the bars:
|| hidden ||works, but||hidden||is cleaner. Extra spaces are fine, but don’t put a space between the bars and the text if you want it to look neat. - Using spoiler tags in code blocks: If you put
||text||inside a code block (with backticks), it will show the bars literally instead of hiding the text. Spoiler tags don’t work inside code blocks. - Expecting spoiler tags to hide text from everyone: They only blur the text; anyone can click to reveal. If you need to truly hide from someone, block them or don’t send the message.
Tips
- Use spoiler tags for movie spoilers, game reveals, or sensitive content to keep chats friendly.
- On mobile, you can tap and hold the message you sent to edit it — add the bars later if you forgot.
- Discord’s spoiler formatting works in DMs, group chats, and servers — everywhere you can type.
- If you’re a server admin, you can require spoiler tags for certain channels by setting up moderation bots (like MEE6 or Dyno) — but that’s outside Discord’s built-in features.
- To hide text in your own notes, use a private channel that only you can see, or use a bot to create a secret diary.
Troubleshooting
My spoiler tags aren’t working — the text shows normally.
- Check that you’re using the correct character: the vertical bar is the one above the backslash on most keyboards (Shift + \).
- Make sure there are no spaces between the bars and the text —
||text||not| | text | |. - If you’re on mobile, ensure your keyboard isn’t autocorrecting the bars to something else.
- Try sending a test message in a private channel to verify.
The eye icon doesn’t appear when I select text.
- This can happen on older versions. Update Discord to the latest version.
- If it still doesn’t appear, manually type the bars — that always works.
I want to hide text permanently, not just blur it.
- Spoiler tags are the only built-in way to hide text. If you need to hide from a specific person, block them (they’ll see a blocked message).
- If you want to hide from everyone, delete the message after sending, or use a private channel.
My spoiler tag shows as plain text in a code block.
- Remove the code block formatting (backticks) — spoiler tags don’t work inside code blocks.
- If you need to hide code, put the spoiler bars outside the code block:
||then the code block, then||.
Frequently Asked Questions
Can I hide text from specific people without blocking them?
No, Discord doesn’t have a “hide from user” feature. You can mute them to stop notifications, but they’ll still see your messages. Blocking is the only way to hide your messages from them.
Do spoiler tags work in all Discord apps?
Yes, spoiler tags work on desktop, web, iOS, Android, and even in the browser version. They’re a core feature.
Can I hide text in my own profile or status?
No, spoiler tags only work in chat messages. For your profile, you can set it to private or use a custom status, but you can’t blur text there.
Is there a way to automatically hide all spoilers from a channel?
Discord doesn’t have a built-in “auto-hide” for a channel. You can mute the channel to stop notifications, but messages still appear. Some bots can auto-delete messages with spoilers, but that’s not native.
Can I hide text in a server’s rules or announcements?
Yes, you can use spoiler tags in any message, including announcements. However, note that clicking to reveal is still possible.
Does hiding text with spoiler tags work for images too?
Yes, you can mark images as spoilers by clicking the eye icon on the upload preview, or by adding || around the image link in a message.