Discord Text Formatter
Select text and press Bold, Spoiler, H1, Subtext, Code block or Colour selection to add Discord markdown, check the 2,000-character count and copy the message.
Работи във вашия браузър. Файловете ви никога не напускат устройството. Вижте как да го проверите
…
Как се прави
- 1Type
Write or paste the message.
- 2Select
Highlight the words to style.
- 3Format
Bold, spoiler, headers, code.
- 4Colour
ANSI text and background.
- 5Copy
Check preview and length.
За този инструмент
The Discord Text Formatter writes Discord's markdown for you, so you can build an announcement, an event post or a rules message without remembering which symbols do what. Type or paste your message into the box, select some words and press a button. The inline buttons wrap the selection: Bold adds two asterisks on each side, Italic one, Underline two underscores, Strike two tildes, Spoiler two vertical bars, Code a single backtick and Link turns the words into a masked link waiting for your address. The line buttons work on whole lines: H1, H2 and H3 add the three header sizes, Subtext adds the small grey line marker, Quote adds a block quote and List adds a bullet, and if you select several lines each of them gets the marker. Code block wraps the selection in triple backticks with the language you type in the language box, such as js, py or json, so Discord can colour the syntax. A separate section creates coloured text with ANSI codes: pick one of eight text colours and an optional background, tick Bold or Underline and press Colour selection. If the cursor is already inside an ansi code block the colour codes go straight in; otherwise the tool creates the block for you. Below the box, a character counter compares the message with the 2,000-character limit for one message, a Copy message button copies the markdown, and Strip formatting removes the symbols when you need plain text. A dark preview shows roughly how Discord will display the result.
Who this is for
Server owners and moderators writing announcements, community managers who post events and patch notes, streamers who share schedules in their Discord, bot developers testing message layouts, and members who simply want a spoiler tag or a header without trial and error in the chat box.
How to use it
1. Type or paste your message into the box. 2. Select the words you want to style and press Bold, Italic, Underline, Strike, Spoiler, Code or Link. 3. Put the cursor on a line, or select several lines, and press H1, H2, H3, Subtext, Quote or List. 4. For a code block, type the language first, then select the code and press Code block. 5. For coloured text, choose a text colour and background, tick Bold or Underline if needed, select the words and press Colour selection. 6. Check the preview and the character count, then press Copy message and paste it into Discord.
The symbols Discord understands
Discord uses a form of Markdown. Double asterisks make bold, single asterisks make italic and double underscores make underline. Double tildes strike text through, and double vertical bars hide it behind a spoiler that readers click to reveal. One, two or three hash signs followed by a space at the start of a line make large, medium and small headers, and a hyphen, hash and space make subtext in a smaller grey font. A greater-than sign and a space start a quote. Square brackets followed by a link in round brackets make a masked link, which Discord shows as blue text.
Coloured text with ANSI
Discord has no colour option for normal messages, but a code block marked ansi accepts terminal colour codes. The tool writes those codes for you: text colours numbered 30 to 37 (grey, red, green, yellow, blue, pink, cyan and white) and backgrounds 40 to 47, plus 1 for bold or 4 for underline, and a reset at the end. The default example shows the word Online in bold green and a maintenance note in red. Colours appear on Discord desktop and in the browser; the mobile apps show the same block as plain grey text, so never rely on colour alone to carry meaning.
Reading the default example
The starting message has a large Server update header, an Event night line in bold with Friday in italics, a quote, a list with an inline code channel name and a hidden prize in spoiler bars, a subtext line and a coloured ansi block. It shows every kind of formatting at once, so you can study how each one is written before replacing it with your own text.
Limits
The preview is a light approximation and not Discord's own renderer, so nested or unusual markdown may look different in the app. Bold and Underline can be ticked together for coloured text, and both codes are added. The counter uses the standard 2,000-character limit; Nitro subscribers can send longer messages. Formatting on this page is guidance only and not moderation or legal advice.
Решен пример
Selecting "a mystery role" and pressing Spoiler turns it into ||a mystery role||, which Discord hides until a reader clicks it.
Накратко
- Категория: Текст и писане
- Работи в браузъра, без регистрация, без качване.
- Въведената от вас информация остава на устройството ви.
- Налично на английски.
- Съдържанието е прегледано последно:
- Официален източник: Discord Markdown text formatting (headers, subtext, spoilers, code blocks) and ANSI colour codes in code blocks
Често задавани въпроси
How do I make coloured text in Discord?
Use a code block marked ansi with colour codes. Pick a colour, select the words and press Colour selection; the tool writes the block and the codes.
Why do my colours not show on my phone?
Discord's mobile apps do not render ANSI colours, so the text appears plain. Desktop and web show the colours.
How do I hide a spoiler?
Select the words and press Spoiler. The tool wraps them in double vertical bars.
What is subtext?
A small grey line created by starting it with a hyphen, a hash and a space. Press Subtext to add the marker.
How long can a Discord message be?
2,000 characters for most users. The counter warns when you go over, so split long posts into two messages.
Can I remove all the formatting again?
Yes. Strip formatting removes the markdown symbols and ANSI codes so you are left with plain text.
