---
title: How to embed links in Discord, customize link text, and hide previews
  (desktop and mobile)
url: https://roboin.io/article/en/2024/05/07/discord-link-sharing-guide/
description: Discord lets you customize link text and choose whether to display
  link previews when you share URLs. In this guide, I'll explain how to
  customize link text and control whether Discord displays link previews. I've
  also included a tool for generating formatted links.
publishedDate: 2024-05-07T06:22:28.000Z
modifiedDate: 2026-12-02T20:57:34.123Z
thumbnail: https://roboin.io/api/media/file/discord-link-comparison-english.png
thumbnailAlt: "Comparison of Discord links. From top to bottom: a standard link,
  a link with custom text, a link with its preview disabled, and a link with
  custom text and its preview disabled. The first two links have preview cards,
  while the last two do not."
thumbnailCaption: N/A
---

# How to embed links in Discord, customize link text, and hide previews \(desktop and mobile\)

Discord lets you customize link text and choose whether to display link previews when you share URLs.

You can disable link previews by enclosing a URL in angle brackets (`<>`) and customize link text using the `[link text](https://example.com)` syntax. You can also combine these two methods.

| Purpose | Syntax example |
| --- | --- |
| Standard link | [`https://example.com`](https://example.com) |
| Customize link text | `[Link](https://example.com)` |
| Hide the link preview | `<https://example.com>` |
| Customize link text and hide the preview | `[Link](<https://example.com>)` |

You can see how each type of link looks in Discord in the image below.

![Comparison of Discord links. From top to bottom: a standard link, a link with custom text, a link with its preview disabled, and a link with custom text and its preview disabled. The first two links have preview cards, while the last two do not.](https://roboin.io/api/media/file/discord-link-comparison-english.png)

In this guide, I'll explain how to customize link text and control whether Discord displays link previews. I've also included a tool for generating formatted links.

&#60;!-- toc -->

## **How to customize link text**

Discord supports a subset of Markdown, a formatting syntax you can use to customize link text.

In Markdown, use the `[display text](destination URL)` syntax. Make sure to use standard ASCII square brackets (`[ ]`) and parentheses (`( )`), with no spaces or line breaks between them.

For example, to link the text "Google" to Google's URL (`https://google.com`), use the following syntax:

```markdown
[Google](https://google.com)
```

You can use the following form to generate Markdown links with custom text.

<p>
    <label for="display-text">Display text:</label><input type="text" id="display-text" class="converter-input" />
</p>
<p>
    <label for="url-text">Destination URL:</label><input type="text" id="url-text" class="converter-input" />
</p>
<p>
    <input type="checkbox" id="disable-preview-button" class="converter-input" /><label for="disable-preview-button">Hide link preview</label>
</p>
<p>
    <button id="convert-button" class="converter-button">Convert</button>
</p>
<p>
    Converted text:<span id="converted-text"></span>
</p>
<style>
	.converter-input {
		all: revert;
	}
	
	.converter-button {
		all: revert;
	}
</style>

<script>
    const parseUrl = (url) => {
        try {
            const parsedUrl = new URL(url.trim());
            const isHttpUrl = parsedUrl.protocol === "http:" || parsedUrl.protocol === "https:";
            if (!isHttpUrl) return false;
            
            return parsedUrl.href;
        } catch {
            return false;
        }
    };

    const displayText = document.querySelector("#display-text");
    const urlText = document.querySelector("#url-text");
    const disablePreviewButton = document.querySelector("#disable-preview-button");
    const convertButton = document.querySelector("#convert-button");
    const convertedText = document.querySelector("#converted-text");

    convertButton.addEventListener("click", () => {
        const $url = urlText.value;
        if (typeof $url !== "string") {
            convertedText.textContent =
                "Please enter a URL.";
            return;
        }
        
        const url = parseUrl($url);
        
        if (!url) {
            convertedText.textContent =
                "Invalid URL format. Please enter a URL starting with http:// or https://.";
            return;
        }
        convertedText.textContent = `[${displayText.value}](${disablePreviewButton.checked ? "<" : ""}${url}${disablePreviewButton.checked ? ">" : ""})`;
    });
</script>


## **How to hide link previews**

When you share links in Discord, you may see preview cards. Large previews or messages containing multiple links can push other messages out of view.

You can disable link previews in several ways, depending on your needs.

| Scenario | Method |
| --- | --- |
| Disable a link preview before sending a message | Enclose the URL in `<>` |
| Hide link previews by default | Change your user settings |
| Restrict embeds for specific roles or channels | Change the permission settings |

### **Disable a link preview before sending a message**

You can disable a link preview by enclosing the URL in standard angle brackets (`<>`). When you send a link using this syntax, Discord displays just the URL without a preview.

For example, to share the Google homepage (`https://google.com`), use the following syntax:

```markdown
<https://google.com>
```

You can combine this with the method for customizing link text described earlier using the `[display text](<destination URL>)` syntax.

```markdown
[Google](<https://google.com>)
```

### **Hide link previews by default**

You can hide embeds and link previews in your Discord user settings. This setting affects your own experience without changing what other users see.

<Steps>
  Open Discord's user settings.

  Open the &#91;Messages&#93; section in the &#91;Appearance&#93; tab.

  Turn off &#91;Show embeds and link previews&#93;.
</Steps>

### **Restrict embeds in specific channels or across an entire server**

If you have permission to manage channels or roles, you can control whether users can generate link previews on a per-channel or per-role basis. Disabling this permission prevents Discord from generating previews for links.

Follow the steps below to disable previews for links shared by users with a particular role. By changing the permissions for @everyone, you can apply this setting as the default for all server members. Other role or channel permissions may override this setting, and it does not apply to server owners or users with the Administrator permission.

<Steps>
  Open the Server Settings.

  Open the &#91;Roles&#93; tab.

  Click the edit button for the role you want to manage.

  Open the &#91;Permissions&#93; tab.

  Turn off &#91;Embed Links&#93;.
</Steps>

To configure this permission for individual channels, follow these steps:

<Steps>
  Right-click the channel on desktop or press and hold it on mobile, then select &#91;Edit Channel&#93;.

  Open the &#91;Permissions&#93; tab.

  Check the &#91;Embed Links&#93; permission.

  - ✕: Users cannot display link previews.
  - /: The channel inherits the role's permission settings.
  - ✓: Users can display link previews.
</Steps>

## **When does Discord display link previews?**

You may notice that Discord displays previews for some web pages but not others.

Discord uses information such as Open Graph Protocol (OGP) metadata to generate link previews. By default, you will see previews for web pages that provide the metadata Discord needs to generate them. You will not see previews for pages without this information.

You can control whether Discord displays a preview by enclosing the URL in `<>`, as described earlier. However, you cannot customize the content of the preview itself, as it depends on how the website configures its metadata.

## **Why links or previews may not appear and how to fix them**

If Discord fails to recognize a URL or display a link preview, check the following common causes and solutions.

| Issue | Common causes |
| --- | --- |
| A URL does not turn into a clickable link | Incorrect URL format or missing spaces or line breaks around the URL |
| Discord displays Markdown symbols as plain text | Use of full-width symbols or unnecessary whitespace |
| Link previews do not appear in a specific channel | The role or channel has the Embed Links permission disabled |
| Link previews do not appear on your screen | You have disabled previews in your user settings |
| Link previews do not appear for a specific website | An issue with the linked website |

### **A URL does not turn into a clickable link**

If Discord fails to recognize a URL as a clickable link or the link breaks, check whether the URL starts with `http://` or `https://` using standard ASCII characters. Placing text next to a URL without a separator can cause the link to break. Try adding spaces or line breaks before and after the URL.

### **Discord displays Markdown symbols as plain text**

If you use Markdown to embed a link but Discord displays the Markdown symbols as plain text, check whether you are using standard ASCII symbols and whether you have inserted any unnecessary spaces.

### **Link previews do not appear in a specific channel**

If you cannot see link previews in a specific channel, the role or channel permissions may prohibit link embeds.

If you have permission to manage channels or roles, you can check and change these permissions by following the steps described earlier.

### **Link previews do not appear on your screen**

If other users can see link previews but you cannot, you may have disabled previews in your user settings.

You can check your link preview settings by following the steps described earlier.

### **Link previews do not appear for a specific website**

If you cannot see link previews for a particular website, the site may lack the information Discord needs to generate previews or may block Discord's web crawler.

Since the issue lies with the website, you cannot fix it yourself.

## **Conclusion**

You can customize link text and control whether Discord displays link previews. Discord supports a subset of Markdown, which you can use to format links. You can also control link previews through role permissions, channel permissions, and user settings.

## Verification details

### Verification environment

Desktop:

- OS: Windows 11
- Discord version: 683143

Mobile:

- OS: Android 17
- Device: Google Pixel 8
- App: Discord version 356.11

### Verification details

I tested the methods for customizing link text and disabling link previews in both Discord's mobile app and desktop client. I also tested how the link preview settings work on a server where I have administrative permissions.

### Last verification date

2026-12-02T20:15:00.000Z

### Changelog

- May 7, 2024, 3:22 pm JST: Initial publication
- October 8, 2025, 7:13 pm JST: Updated the article with the latest information
- December 3, 2026, 5:15 am JST: Added a comparison table and an image showing different link formatting options. Added methods for disabling link previews in different scenarios, along with common causes and solutions for missing link previews.