Format Code Now
/

BBCode Editor with Live Preview

WM-121

Write a forum post in BBCode and watch it render beside you. Select some text and press a toolbar button to wrap it in tags, or press the button again to take them off.

Runs in your browser. Nothing is uploaded.

BBCode

Your draft is saved in this browser only. Clear removes it.

Preview

How to use it

  1. Type or paste your post, or press Sample to see an example.
  2. Select text and press B, I, U, S, Link, Image, Quote, Code or a list button to add tags.
  3. Check the result in the Preview tab, or open the HTML tab to see the converted HTML.
  4. Copy the BBCode from the editor into your forum, or download it with Save file.

How the toolbar works

Each button wraps the selected text in a pair of tags. If the selection is already wrapped in that tag, the button removes it, so a second press undoes the first. With nothing selected, the button inserts the tags with a placeholder word selected, ready for you to type over. The link button turns a selected web address into a link, or wraps other text and selects the address part for you to fill in. List buttons put each selected line on its own [*] item. Ctrl+B, Ctrl+I and Ctrl+U work too.

Why a forum can look different

BBCode has no single standard. The preview here supports b, i, u, s, url, email, img, quote, code, list, color, size, center, left, right, sub, sup and hr. Unknown tags stay as plain text. Each forum adds its own tags and its own styles, so sizes, quote boxes and code blocks will look different there. Links are kept only when they start with http, https, mailto, ftp, /, # or ./. Images from other sites show only after you tick Load web images and styles.

Questions people ask

What is BBCode?

BBCode is the tag language many forums use for formatting posts. Tags sit in square brackets, such as [b]bold[/b] or [url=https://example.com]a link[/url]. The forum turns them into HTML when it shows your post, so you never write HTML yourself.

Do new lines in my post become line breaks?

Yes, by default, because most forums treat them that way. Untick Line breaks become new lines to see how the post looks on a forum that joins lines into one paragraph. Blank lines still separate paragraphs either way.

Can I get HTML from my BBCode?

Yes. Open the HTML tab to see the converted HTML, or press Copy or Download while the Preview tab is open. The text inside tags is escaped, so a less-than sign in your post stays text and cannot become an HTML tag.

Why does my image not show in the preview?

Images hosted on other sites are blocked until you tick Load web images and styles. That keeps the preview from contacting other servers while you type. When you tick it, your browser fetches the image straight from its host, as it would on any web page.

Is my post sent anywhere?

Nothing is uploaded. The editor runs in your browser, and your draft is saved only in this browser's local storage so it is there when you come back. Clear removes it. Share link puts the text in the link itself, so only people you send the link to can see it.

About this tool

The toolbar wraps the selected text in BBCode tags, or removes them when the selection is already wrapped. The preview supports b, i, u, s, url, email, img, quote, code, list, color, size, center, left, right, sub, sup and hr. Unknown tags stay as plain text, and links are kept only when they start with http, https, mailto, ftp, /, # or ./. Each forum adds its own tags and styles, so the result there can differ. Images on other sites show only after you tick Load web images and styles. The preview runs no scripts. Your draft is kept in this browser only.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.