World’s largest virtual agentic engineering & quality conference
Paste BBCode from phpBB, vBulletin, or XenForo and get clean HTML for WordPress, blogs, and docs. Runs entirely in your browser. The tool is developed by TestMu AI (formerly LambdaTest) and is completely free to use.
BBCode (Bulletin Board Code) is a lightweight markup language used by forum software such as phpBB, vBulletin, XenForo, and MyBB to let members format posts safely. It uses square-bracket tags like [b], [quote], and [url] that the forum engine parses into HTML before a page is displayed.
This free TestMu AI converter performs that same parsing step locally in your browser: paste BBCode above and it returns clean HTML you can publish anywhere.
BBCode and HTML describe the same formatting, but they are different languages with different jobs. BBCode wraps content in square brackets and exposes only a small set of tags approved by the forum, so members can style posts without injecting scripts, forms, or arbitrary markup. HTML uses angle brackets and is the standard markup language of the web, defined by the WHATWG HTML Living Standard.
Browsers cannot run BBCode. A tag like [b]bold[/b] pasted straight into a web page shows up as literal text until a parser converts it to <b>bold</b>. In that way BBCode sits closer to Markdown, another lightweight markup, than to HTML itself. For Markdown content, use the Markdown to HTML converter instead.
| Aspect | BBCode | HTML |
|---|---|---|
| Syntax | Square-bracket tags: [b], [url=...] | Angle-bracket elements: <b>, <a href="..."> |
| Where it is used | Forum posts, comments, and signatures | Every page a web browser renders |
| Browser support | Not understood by browsers; must be converted first | Rendered natively by all browsers |
| Tag surface | Small whitelist controlled by the forum | Full element set, including scripts and forms |
| Safety model | Limits what users can inject into a page | Requires sanitization for user content |
The table below shows the exact HTML this converter produces for each supported BBCode tag, verified against the live tool.
| BBCode input | HTML output | What it does |
|---|---|---|
| [b]text[/b] | <b>text</b> | Bold text |
| [i]text[/i] | <i>text</i> | Italic text |
| [u]text[/u] | <u>text</u> | Underlined text |
| [s]text[/s] | <s>text</s> | Strikethrough text |
| [quote]text[/quote] | <blockquote>text</blockquote> | Quoted reply or excerpt |
| [code]text[/code] | <pre><code>text</code></pre> | Preformatted code block |
| [url=https://example.com]text[/url] | <a href="https://example.com">text</a> | Hyperlink |
| [img]https://example.com/logo.png[/img] | <img src="https://example.com/logo.png" alt=""> | Inline image |
| [color=red]text[/color] | <span style="color:red">text</span> | Text color |
| [size=16]text[/size] | <span style="font-size:16px">text</span> | Font size |
Forum engines traditionally map [b] and [i] to the compact <b> and <i> elements, and this converter follows that convention. In modern HTML, <b> draws attention without added importance, while <strong> marks strong importance and <em> marks stressed emphasis. If your style guide or accessibility rules call for semantic markup, replace <b> with <strong> and <i> with <em> after converting.
[color] and [size] convert to inline CSS on <span> elements. [size] accepts a whole number of up to three digits, treated as pixels, or the same number followed by px, em, rem, or % units.
All processing happens in your browser; no BBCode or HTML is uploaded to a server. The parser HTML-escapes regular text, strips javascript: and data: URLs from [url] links, and blocks them in [img] tags. These steps remove the link and image based cross-site scripting (XSS) vectors that are most common in user-generated forum content.
One important caveat: content inside [code] blocks and the values of [color] and [size] are passed through without HTML-escaping, so markup placed there can reach the output. Always sanitize or review converted user-generated content before publishing it, and run the output through the HTML Validator to catch structural issues.
No. BBCode is a lightweight markup language that uses square-bracket tags like [b] and [url] so forum members can format posts without writing raw HTML. HTML is the standard markup language that browsers render natively. A parser must convert BBCode tags into their HTML equivalents before a browser can display the formatting.
No. Browsers do not understand BBCode, so tags like [b] pasted into an HTML file render as plain text instead of formatting. Convert the BBCode to HTML first, then paste the converted markup into your page, template, or CMS editor in HTML or code view.
<b> is the HTML tag that opens bold text and </b> is the tag that closes it. The pair is the direct HTML equivalent of [b] and [/b] in BBCode. For text with strong importance rather than purely visual bolding, HTML also provides the <strong> element.
The converter supports [b], [i], [u], [s], [quote], [code], [url], [img], [color], and [size]. Unsafe javascript: and data: URLs are stripped from [url] links and blocked in [img] tags. Text inside [code] blocks is passed through unchanged, so review it before publishing. Unsupported tags stop the conversion with an error showing the exact line and column.
No. The conversion runs entirely in your browser using JavaScript, and TestMu AI does not store, log, or transmit your BBCode input or the generated HTML output. You can convert private forum exports or internal content without the data leaving your machine.
Export the post text from your phpBB, vBulletin, XenForo, or MyBB database, paste each post's BBCode into this converter, and copy the generated HTML into the WordPress editor in code view. For large migrations, batch posts into text files and use the upload button to convert one file at a time.
The converter stops and reports a readable syntax error, such as an unclosed or mismatched tag, with the line and column where it occurred and a caret pointing at the exact spot. Fix the reported tag and the conversion reruns automatically when Auto Update is enabled.
BBCode only renders inside forum software; everywhere else you need HTML. Convert your markup above, use the HTML to BBCode converter when you need the reverse direction, and if you are migrating a whole community, verify the converted pages render consistently across 3000+ browsers with TestMu AI visual testing.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance