Smart Deals - promotions, discount codes and sales

Bbcode HTML Converter

Fast, accurate and free online bbcode html converter tool running directly in your browser.

Secure (SSL)
Client-Side Processing
100% Free
Instructions
  • 1
    Enter data
    Enter content, paste text or load a file from disk.
  • 2
    Click the button
    The tool will immediately process your data in the browser.
  • 3
    Get the result
    Copy the finished text or save the file to your device.
function runTool() {
  return "Result ready in 0.1s";
}
308 characters

raw: <strong>BBCode to HTML Converter</strong><br><br> Here is a quick demo:<br><br><em>Italic text</em> and <u>underlined text</u>.<br><br><a href="https://example.com" target="_blank" rel="noopener nofollow">Clickable link</a><br><br><blockquote><div class="bb-quote-meta">Alice wrote:</div>This is a quote block.</blockquote><br><br><ul><li>First list item</li><li>Second list item</li></ul><br><br><pre><code>function hello() { console.log(&#039;Hello&#039;); }</code></pre>

Rate this tool:

Related tools

Other tools you may find useful

BBCode ↔ HTML converter – forum syntax to website code

BBCode (Bulletin Board Code) is a simplified markup language used on internet forums (phpBB, vBulletin, IPB, XenForo). The tool converts BBCode to HTML and back - useful when migrating forum content, importing posts to CMS, or converting templates.

BBCode HTML converter BBCode to HTML forum HTML tags bbcode online parser

Basic BBCode tags

[b]text[/b] →text. [i]text[/i] →text. [u]text[/u] →text. [s]text[/s] →text. [color=red]text[/color] →. [size=14]text[/size] →. [font=Arial]text[/font] →.

[url]https://example.com[/url] →. [url=https://ex.com]Text[/url] →Text. [img]https://ex.com/img.jpg[/img] →. [img width=200]...[/img] →. [video]URL[/video] → embed (YouTube, Vimeo). [email][email protected][/email] → mailto: link.

Layouts and formatting

[quote]text[/quote] →

. [quote=John]...[/quote] →
. [code]code[/code] →
. [code=php]php[/code] → with syntax highlighting (if the parser supports it). [list][*]pos1[*]pos2[/list] → . [list=1][*]...[/list] →
  1. . [table][tr][td]...[/table] → HTML table.

BBCode dialects - differences between forums

BBCode is not a standard - each forum may have different tags. phpBB: standard + [attachment], [flash]. vBulletin: [noparse], [highlight]. XenForo: [MEDIA], [SPOILER], [USER]. Discourse (modern): Markdown instead of BBCode. The tool supports a common subset of all major dialects.

FAQ

Why do forums use BBCode and not HTML?

Security: HTML pasted by the user = risk of XSS (Cross-Site Scripting). BBCode is server-side parsed into secure HTML with whitelist tags. Simplicity: BBCode is easier to learn than HTML. History: BBCode introduced phpBB around 2000.

How to safely convert BBCode to HTML?

Sanitization: use DOMPurify (JS) or html_special_chars + whitelist (PHP) after conversion. Never insert raw HTML from the user. Whitelist of allowed HTML tags:, , , (with restrictions),

, . Remove onclick, onerror, style from javascript:.

How does BBCode handle nested citations?

[quote][quote=Jan]...[/quote] Reply[/quote] - many forums support nested citations up to N levels. HTML:

...
...
. Appearance: indents or colored borders (CSS).

Is BBCode used outside forums?

MediaWiki (Wikipedia): custom syntax (similar to BBCode). Reddit: Markdown. Stack Overflow: Markdown + LaTeX. Discord: Markdown Simplified. Slack: Markdown. BBCode is rather legacy today - new platforms prefer Markdown.

How to migrate forum content from BBCode to Markdown?

BBCode → HTML → Markdown (2-step conversion). The tool performs step 1. Step 2: Use "HTML to Markdown Converter". Or directly: [b] → **, [i] → *, [url=X]Y[/url] → [Y](X), [code] → ``` (backticks). Python: bbcode + markdownify.

Related tools: HTML to Markdown converter, HTML validator and JSON formatter.

Install Webp.pl Have the tools in your own pocket!