Language: English

tools / discord-text-formatter

discord-text-formatter/

Add bold, spoilers, code blocks and timestamps to Discord messages, preview as you type and copy in one click. Your text stays in your browser and is never uploaded.

Select text and click a button to add the marks around it; click again to remove them. With nothing selected, a pair of marks is inserted at the cursor. Ctrl / ⌘ + B, I, U also work.

MESSAGE

PREVIEW

Approximate: formatting across lines or inside spoilers isn’t shown; Discord’s own display is what counts

What is Discord text formatting

Discord messages support part of Markdown: ** around text makes it bold, || makes it a spoiler, and # plus a space at the start of a line makes a heading. This page adds these marks to the selected text for you with a preview, and builds timestamps in 9 styles; what you send is still plain text.

How it works: Discord treats these marks as formatting

Discord messages support part of Markdown: put ** around text and it shows in bold; start a line with # and a space and it becomes a header. The buttons on this page only add these marks around your selection or at the start of lines, and what you send is still plain text. The table lists only syntax written in Discord’s official help article (checked 2026-11-30).

SyntaxResult
**bold**Bold
*italic* or _italic_Italic
***bold italic***Bold and italic
__underline__Underline; can be combined with bold and italic, e.g. __**bold underline**__
~~strikethrough~~Strikethrough
||spoiler||Hidden behind a black bar until clicked; has no effect inside code blocks
# Header, ## Header, ### HeaderHeaders in three sizes; must start the line, with a space after #
-# subtextSmall grey text; must start the line, with a space after it
[text](https://address)Click the text to open the address
- item or * item, 1. itemList; 2 spaces at the start of the line make a sub-item
`code`Inline code
```multi-line code```Code block; marks inside are shown as typed
> quoteThis line is a quote
>>> quoteEverything from this line to the end of the message is a quote
<t:1767225600:R>Timestamp shown as relative time such as “2 days ago”

Example: ||the answer is 42|| is sent as a black bar, and “the answer is 42” appears only when clicked. The number in a timestamp is Unix seconds: 2026-01-01 00:00:00 UTC is 1767225600, so <t:1767225600:R> shows “in a few days” at the end of 2025 and “a few days ago” after that moment, with everyone seeing it converted to their own time zone.

FAQ

Can Discord show colored text, and why isn’t it here?

A trick that colors text with an ansi code block and escape characters circulates online, but neither Discord’s official help articles nor its developer docs describe it, and there is no official word on which colors work or whether phones show them, so this page leaves it out for now. It offers only officially documented formatting: bold, italic, underline, strikethrough, spoilers, code, quotes, headers, subtext, lists and links.

How do I write a spoiler, and why doesn’t it work?

Put two vertical bars on each side of the text, like ||content||, or select the text and click “Spoiler”. Spoilers inside a code block are not hidden, as Discord’s official help says.

Why don’t headers, subtext or quotes work?

These must start a line, and the mark needs a space after it: # Header, -# subtext, > quote. With other text before it or a missing space, Discord shows the marks as typed. The buttons on this page add them at the start of the line with the space.

Why does everyone see a different time in a timestamp?

A timestamp tag stores Unix seconds, not a clock time in some zone. Discord shows it in each reader’s own time zone and language, so people in New York and Shanghai see different clock times for the same moment, which is handy for events across time zones. This page converts the time you pick to seconds using your browser’s time zone, the one shown on the page.

What is the difference between the 9 timestamp styles?

t and T show only the time (T with seconds), d and D only the date (D in long form), f shows date and time and is what you get without a style letter, F adds the weekday, s and S show a short date with time (S with seconds), and R is a relative time that changes as time passes, such as “in 3 hours”. The preview next to each style is an approximation in your browser’s language.

How long can a Discord message be?

Discord’s official help gives a limit of 2000 characters per message, or 4000 with Nitro; longer messages are turned into a text file. This page counts Unicode characters and warns in the status line above 2000. Discord does not say how emoji and special symbols are counted, so with many emoji the real count may differ slightly.

How do I nest lists and write numbered lists?

Start a line with - or * and a space for a list item; add 2 more spaces at the start for the next level. A numbered list is 1. and a space. Select several lines and click “List” or “Numbered list” to mark every line, and click again to remove; numbers go 1., 2., 3. down the selected lines.

Is my text uploaded or saved?

No. Formatting, previewing and timestamps all happen in your browser; the text lives only in the page’s memory, is not sent to a server and is not saved on your device, so refreshing clears it. The page’s visit statistics do not include what you type.