← All tools
// CODE

BBCode to HTML online

Convert BBCode forum markup to HTML — supports bold, italic, links, images, quotes, lists and more.

BBCode to HTML Converter logo
by
CHUNKY
MUNSTER
BBCODE INPUT0 CHARS
HTML OUTPUT0 CHARS
// LIVE PREVIEW

About BBCode to HTML

BBCode (Bulletin Board Code) is used in forums and comment systems. This tool converts common BBCode tags to their HTML equivalents. Supports [b], [i], [u], [s], [url], [img], [color], [size], [quote], [code], [list], [*] and [center]. Runs in your browser.

How to Use bbcode-to-html

  1. Paste your BBCode-formatted text into the input area.
  2. The converter translates tags like [b], [url], and [img] to their HTML equivalents.
  3. Toggle options for [code] block preservation and newline handling.
  4. Copy or download the resulting HTML for use in your site or CMS.

BBCode (Bulletin Board Code) is the lightweight markup language used by phpBB, vBulletin, XenForo, and other forum software. This converter translates BBCode to clean HTML — useful when migrating forum content to a website, CMS, or blog platform that expects HTML.

BBCode Tags Supported

The converter handles the full standard BBCode tag set: [b]<strong>, [i]<em>, [u]<u>, [url]<a href>, [img]<img>, [color] → inline style, [size] → em-based font-size, [quote]<blockquote>, [list]/[*]<ul>/<li>, and [code]<pre><code>. Nested tags and mixed content are handled correctly.

Frequently Asked Questions

Why does forum software use BBCode instead of HTML?

BBCode prevents users from injecting arbitrary HTML and JavaScript. The server parses safe BBCode tags and converts only those — unknown or unsafe tags are stripped, making it an XSS-safe way to let users format posts.

Will it handle custom BBCode tags my forum uses?

Custom tags not in the standard set are left as-is or stripped. If your forum uses custom tags (e.g. [spoiler] or [video]), you'll need to add mappings or handle them manually after conversion.

How are nested quotes handled?

Nested [quote] tags produce nested <blockquote> elements. The attribution parameter [quote=Username] is converted to a <cite> element inside the blockquote.

Can I convert HTML back to BBCode?

Use the BBCode to Text tool to strip all markup, or manually reverse the conversion. A dedicated HTML-to-BBCode converter is not currently in this tool set.

See also BBCode to Text for stripping all markup, and the HTML Formatter for cleaning up the output.