World’s largest virtual agentic engineering & quality conference

WHENAUG 19-21
WHEREVirtual · Global
WATCH NOW

BBCode to HTML Converter

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.

Categories

...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free
...
TestMu Conf 2026

World's largest virtual agentic engineering & quality conference

...

AUG 19-21, 2026

WATCH NOW

Input

Output

What is BBCode?

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 vs HTML: What Is the Difference?

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.

AspectBBCodeHTML
SyntaxSquare-bracket tags: [b], [url=...]Angle-bracket elements: <b>, <a href="...">
Where it is usedForum posts, comments, and signaturesEvery page a web browser renders
Browser supportNot understood by browsers; must be converted firstRendered natively by all browsers
Tag surfaceSmall whitelist controlled by the forumFull element set, including scripts and forms
Safety modelLimits what users can inject into a pageRequires sanitization for user content

BBCode to HTML Tag Mapping Reference

The table below shows the exact HTML this converter produces for each supported BBCode tag, verified against the live tool.

BBCode inputHTML outputWhat 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.

Is the converted HTML safe to publish?

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.

How to use the BBCode to HTML converter

  • Add Your Data: Paste or type BBCode into the input box, upload a text file, or click the sample icon to load example BBCode.
  • Enable Auto Update (Optional): Keep Auto Update enabled to see results instantly, or disable it to convert manually.
  • Run Conversion: Click the Convert button to process the entered data.
  • View Results: The converted output will appear in the output box below. Toggle Preview to see it rendered.
  • Copy or Download Output: Use the available icons to copy or download the converted result for further use.

Common uses for converting BBCode to HTML

  • Forum to CMS migration: convert exported phpBB, vBulletin, XenForo, or MyBB posts into HTML that WordPress and other CMS editors store natively.
  • Archiving communities: turn old threads into static HTML pages that no longer depend on forum software to render.
  • Rendering posts in web apps: convert user content to HTML in a controlled way instead of writing and maintaining your own BBCode parser.
  • Reusing content: paste converted announcements, guides, or changelogs into blogs, documentation, or HTML email templates.
  • Previewing before publish: drop the converted markup into the HTML Viewer to see exactly how it renders before it goes into your CMS.

Frequently Asked Questions (FAQs)

Is BBCode the same as HTML?

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.

Can I use BBCode directly in an HTML page?

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.

What is <b> and </b> in HTML?

<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.

Which BBCode tags does this converter support?

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.

Do you store my BBCode input?

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.

How do I move phpBB or vBulletin posts to WordPress?

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.

What happens if my BBCode has errors?

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

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests