😀

Emoji Parser

Parse Discord emoji formats, extract emoji IDs and names, and convert between Unicode and custom emoji formats.

Enter a Unicode emoji (😀) or Discord custom emoji format (<:name:id> or <a:name:id>)

💡Quick Tips

  • Custom emoji format: <:name:id> for static, <a:name:id> for animated
  • Right-click an emoji in Discord and copy its markdown to get the format
  • Custom emojis can only be used in servers where your bot has access to them
  • Unicode emojis work everywhere and don't require special permissions
  • For reactions with custom emojis, you can use just the emoji ID
  • CDN URLs use .gif for animated and .png for static emojis

Understanding Discord Emojis

Two types of emojis in Discord

😀

Unicode Emojis

Standard emojis that work everywhere. These are the emojis built into your device and operating system.

Characteristics

  • Work in all Discord servers
  • No special permissions needed
  • Rendered natively by device
  • Have Unicode codepoints

Example Format

😀 (U+1F600)

Common Examples

😀 ❤️ 🎮 🔥 👍 🎵
🎨

Custom Emojis

Server-specific emojis uploaded by server owners. Can be static images or animated GIFs.

Characteristics

  • Server-specific (requires access)
  • Can be static or animated
  • Hosted on Discord's CDN
  • Have unique name and ID

Format Structure

Static Emoji
<:name:id>
Animated Emoji
<a:name:id>

Example

<:thinking:1234567890123456789>

How to Get Emoji Format

Easy ways to extract emoji information from Discord

1️⃣

Right-Click Emoji

Right-click any custom emoji in Discord and select "Copy Markdown" to get the full format.

2️⃣

Add Backslash

Type \:emojiname: in Discord to see the full format when sent.

3️⃣

Developer Mode

Enable Developer Mode in settings, then right-click and "Copy ID" to get just the emoji ID.

4️⃣

Use This Tool

Paste any emoji format into this tool to extract all the information you need.

Emoji CDN URLs

Accessing custom emoji images directly

URL Structure

Discord hosts all custom emojis on their CDN. You can access them directly using the emoji ID.

Static Emoji (PNG)
https://cdn.discordapp.com/emojis/[EMOJI_ID].png
Animated Emoji (GIF)
https://cdn.discordapp.com/emojis/[EMOJI_ID].gif
With Size Parameter (Optional)
https://cdn.discordapp.com/emojis/[EMOJI_ID].png?size=128

Valid sizes: 16, 32, 64, 128, 256, 512, 1024, 2048

Note: You can use these URLs in webhooks, embeds, or anywhere you need to display the emoji as an image.

Using Emojis in Your Bot

Common use cases and code examples

💬 In Messages

Include emojis directly in your bot's messages using their format.

Unicode
message.send("Hello! 👋")
Custom
message.send("<:party:123456789>")

👍 As Reactions

Add emoji reactions to messages programmatically.

Unicode
message.react("✅")
Custom (ID only)
message.react("123456789")

📝 In Embeds

Include emojis in embed titles, descriptions, and field values.

Example
title="🎉 Celebration"
description="Party <:party:123>"

🔘 Button Labels

Add emojis to button labels for visual appeal (Unicode only).

Unicode Only
label="✅ Approve"

Custom emojis not supported in button labels

Best Practices

Tips for working with emojis in Discord bots

1. Check Emoji Access

Your bot can only use custom emojis from servers it's in. Always check if an emoji is accessible before using it.

2. Prefer Unicode for Universal Access

Unicode emojis work everywhere without restrictions. Use them for critical UI elements like reactions on buttons.

3. Cache Emoji Objects

For frequently used custom emojis, cache the emoji object instead of looking it up every time.

4. Validate Format

Always validate custom emoji format before using it. Malformed emoji strings will appear as plain text.

5. Use CDN for Images

When displaying custom emojis as images (in webhooks, websites), use the CDN URL instead of trying to render the format.

6. Handle Missing Emojis

If a custom emoji is deleted or your bot loses access, have a fallback Unicode emoji ready.