Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

BBCode to HTML Converter

Paste BBCode forum markup and instantly convert it to clean HTML with live preview

Your files never leave your browser
BBCode Input0 chars, 0 lines
Output
Ready·

Paste BBCode from any forum — vBulletin, phpBB, SMF — and get clean, valid HTML back in one click. Handles bold, italic, links, images, quotes, lists, code blocks, colors, sizes, and nested tags without you touching a single angle bracket. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste BBCode
➜
Parse & Convert Tags
➜
Copy or Download HTML

The converter reads your BBCode character by character, matching square-bracket tags to their HTML equivalents. It handles nesting — a [b] inside a [quote] inside a [list] all resolve correctly. The preview tab renders the HTML so you can check formatting before copying. You also get a syntax-highlighted code view showing exactly what tags were generated.

Examples

Basic Text Formatting

Converting a simple forum reply with bold and italic text.

INPUT
[b]Important:[/b] Please read the [i]updated rules[/i] before posting. [s]Old deadline: March 1[/s] New deadline: [u]March 15[/u]
OUTPUT
<strong>Important:</strong> Please read the <em>updated rules</em> before posting. <del>Old deadline: March 1</del> New deadline: <u>March 15</u>

Forum Post with Quote, Link, and Image

A typical reply that quotes another user, adds a hyperlink, and embeds an image — three of the most common BBCode patterns on any board.

INPUT
[quote=Admin]Registration is now open.[/quote] Thanks! Here's the sign-up page: [url=https://example.com/register]Register Here[/url] [img]https://example.com/banner.png[/img]
OUTPUT
<blockquote><cite>Admin</cite>Registration is now open.</blockquote> Thanks! Here's the sign-up page: <a href="https://example.com/register">Register Here</a> <img src="https://example.com/banner.png" alt="image" />

Nested List with Colors and Code Block

A more complex chunk from a tutorial thread — color-coded instructions, a numbered list, and a code snippet all mixed together.

INPUT
[color=red]Steps to fix:[/color] [list=1] [*]Open config.php [*]Find [code]debug_mode = false[/code] [*]Change to [b]true[/b] [/list] [size=18]Done![/size]
OUTPUT
<span style="color:red">Steps to fix:</span> <ol> <li>Open config.php</li> <li>Find <code>debug_mode = false</code></li> <li>Change to <strong>true</strong></li> </ol> <span style="font-size:18px">Done!</span>

Who Uses This

👨‍💻 Web Developers

Migrating forum content to a modern CMS like WordPress, Ghost, or a custom site.

📝 Forum Admins

Converting old phpBB or vBulletin posts to HTML for a platform switch.

📚 Content Archivists

Saving forum threads as readable HTML pages before a board shuts down.

✉️ Email Marketers

Pulling formatted text from community boards into newsletters or email templates.

Common Mistakes

Unclosed or mismatched tags

Writing [b]text[/i] instead of [b]text[/b]. The converter does its best, but garbage in means garbage out. Double-check that every opening tag has the right closing partner.

Using angle brackets instead of square brackets

Typing <b> instead of [b]. That's already HTML — the tool expects BBCode with square brackets. If your text uses angle brackets, it is HTML and doesn't need converting.

Pasting encoded HTML entities

If your source has &lt;b&gt; instead of [b], the text was already HTML-encoded somewhere. Decode it first, then convert. Otherwise you get double-encoded output that looks broken in a browser.

Technical Details

Frequently Asked Questions

What is BBCode and where is it used?

BBCode stands for Bulletin Board Code. It was created for forums like phpBB, vBulletin, and SMF so users could format posts without having direct access to HTML. You'll still find it on many gaming forums, hobbyist boards, and older community sites. It uses square brackets — [b], [i], [url] — instead of angle brackets.

Can I convert BBCode to HTML without installing anything?

Yes. This converter runs entirely in your browser — no downloads, no extensions, no accounts. Paste your BBCode, click Convert, and copy the HTML. Works on any device with a modern browser.

Which BBCode tags does this converter support?

It handles all the standard ones: [b], [i], [u], [s], [url], [img], [quote], [code], [list] with [*] items, [color], [size], [center], [email], [spoiler], and [hr]. Nested tags work too, so [b][i]bold italic[/i][/b] converts correctly.

Is my forum data safe when using this tool?

Completely. The conversion happens in JavaScript inside your browser. Nothing is sent to any server. No data is logged, stored, or tracked. Close the tab and the content is gone from memory.

How do I migrate an entire forum from BBCode to HTML?

For a full forum migration, you'd typically export posts from your database, then batch-convert the BBCode fields. This tool is great for testing individual posts or small batches. For thousands of posts, you will want a script — but you can use the conversion logic here as a reference for what each tag maps to.

Share:
\n\n'+lastHtml+'\n\n'; var blob=new Blob([fullHtml],{type:'text/html'}); var url=URL.createObjectURL(blob); var a=document.createElement('a'); a.href=url;a.download='bbcode-converted.html';a.click(); URL.revokeObjectURL(url); } document.getElementById('convertBtn').addEventListener('click',doConvert); document.getElementById('copyBtn').addEventListener('click',doCopy); document.getElementById('clearBtn').addEventListener('click',doClear); document.getElementById('downloadBtn').addEventListener('click',doDownload); inputEl.addEventListener('input',function(){ inputStats.textContent=lineStats(inputEl.value); }); inputEl.addEventListener('keydown',function(e){ if((e.ctrlKey||e.metaKey)&&e.key==='Enter'){e.preventDefault();doConvert();} });