Convert MD to BBCode

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

MD vs BBCode Format Comparison

Aspect MD (Source Format) BBCode (Target Format)
Format Overview
Markdown
Lightweight Markup Language

Created by John Gruber in 2004 for writing formatted text using plain-text editors. Simple syntax with asterisks, hashes, and brackets. Popular for README files, blogs, documentation, and web content.

Markup Language Web-Focused
BBCode
Bulletin Board Code

Created in the late 1990s for phpBB and vBulletin forums. Uses square bracket tags like [b], [i], [url]. Designed to provide safe formatting in user-generated content without allowing raw HTML. Ubiquitous in forums, bulletin boards, and gaming communities.

Forum Markup User-Safe
Technical Specifications
Structure: Plain text with simple syntax
Encoding: UTF-8
Created: 2004 by John Gruber
Use: Documentation, blogs, GitHub
Extensions: .md, .markdown
Structure: Square bracket tag syntax
Encoding: UTF-8
Created: Late 1990s for phpBB
Use: Forums, bulletin boards, communities
Extensions: .bbcode, .bb (rare)
Syntax Examples

Markdown uses symbols:

# Heading
**bold** and *italic*
[link](url)
![image](file.png)
- list item
`code`

BBCode uses brackets:

[size=200]Heading[/size]
[b]bold[/b] and [i]italic[/i]
[url=url]link[/url]
[img]file.png[/img]
[*]list item
[code]code[/code]
Content Support
  • Headers with # symbols
  • Bold (**), italic (*)
  • Links [text](url)
  • Images ![alt](file)
  • Lists with - or *
  • Code blocks with ```
  • Inline code with `
  • Blockquotes with >
  • Size control [size=200]
  • Bold [b], italic [i], underline [u]
  • Links [url=url]text[/url]
  • Images [img]file[/img]
  • Lists [list][*]item[/list]
  • Code [code]text[/code]
  • Quotes [quote]text[/quote]
  • Colors [color=red]text[/color]
  • Alignment [center], [right]
Advantages
  • Simple and easy to learn
  • Universal support (GitHub, GitLab)
  • Large ecosystem and tools
  • De facto standard for documentation
  • Static site generator support
  • Safe for user-generated content
  • No HTML injection risks
  • Rich formatting (colors, sizes, fonts)
  • Universal in forum software
  • Image embedding controls
  • Quote attribution support
  • Easy moderation
Disadvantages
  • No native color support
  • No native underline
  • Limited text styling
  • No alignment controls
  • Verbose syntax
  • Not standardized (variations exist)
  • Limited outside forums
  • Harder to read in raw form
Common Uses
  • README files
  • GitHub/GitLab documentation
  • Static site generators (Jekyll, Hugo)
  • Blogs and wikis
  • Note-taking apps
  • phpBB forums
  • vBulletin bulletin boards
  • Gaming community forums
  • SMF (Simple Machines Forum)
  • MyBB forums
  • Discord (legacy)
  • Forum signatures
Conversion Process

Markdown document contains:

  • # headers
  • **bold** and *italic*
  • [links](url) and ![images](file)
  • Lists with - or *
  • Code blocks with ```

Our converter creates:

  • [size=200]headers[/size]
  • [b]bold[/b] and [i]italic[/i]
  • [url=url]links[/url] and [img]images[/img]
  • [list][*]items[/list]
  • [code]code blocks[/code]
Best For
  • Quick documentation
  • GitHub projects
  • Static websites
  • Universal compatibility
  • Forum posts
  • Bulletin board content
  • Gaming communities
  • User-generated content
  • Forum signatures
Ecosystem
Editors: VS Code, Typora, Obsidian
Parsers: CommonMark, marked.js, showdown
Sites: GitHub, Stack Overflow, Reddit
Community: Very large, active
Software: phpBB, vBulletin, SMF, MyBB
Parsers: Built into forum software
Sites: Thousands of forums worldwide
Community: Large forum user base

Why Convert MD to BBCode?

Converting Markdown documents to BBCode format is essential when posting content to forums, bulletin boards, and gaming communities. When you convert MD to BBCode, you're transforming Markdown's simple documentation syntax into BBCode's forum-friendly markup that provides safe, controlled formatting for user-generated content.

BBCode (Bulletin Board Code) was created in the late 1990s for phpBB and vBulletin forums as a safe alternative to HTML. Unlike HTML which can be exploited for cross-site scripting (XSS) attacks, BBCode uses square bracket tags [b], [i], [url] that are parsed server-side into safe HTML. This makes BBCode the universal standard for forums, gaming communities, and platforms where users create content. Popular forum software like phpBB, vBulletin, SMF (Simple Machines Forum), and MyBB all use BBCode variants.

Our converter translates Markdown syntax into BBCode tags: # becomes [size=200][b]text[/b][/size], ** becomes [b]bold[/b], * becomes [i]italic[/i], [links](url) become [url=url]links[/url], and images convert from ![alt](file) to [img]file[/img]. The conversion maintains document structure while adapting to BBCode's bracket-based syntax and adding forum-specific features like text colors, font sizes, and alignment options.

Common conversion scenarios include: posting GitHub README content to gaming forums, converting documentation to forum tutorials, transforming blog posts for bulletin board publishing, and preparing guides for community platforms. BBCode excels in user-generated content environments because it's safer than HTML, easier to moderate, and provides consistent formatting across different forum themes and styles.

Key Benefits of Converting MD to BBCode:

  • Forum Publishing: Post Markdown content to phpBB, vBulletin, SMF, MyBB forums
  • Gaming Communities: Share guides and documentation on game forums
  • Rich Formatting: Add colors [color=red], sizes [size=150], fonts not available in Markdown
  • User Safety: BBCode prevents HTML injection and XSS attacks
  • Quote Attribution: Use [quote=author] for attributed quotes
  • Image Control: Forums can control image embedding via BBCode settings
  • Easy Moderation: Forum admins can disable specific BBCode tags

Practical Examples

Example 1: Basic Forum Post

Input Markdown file (guide.md):

# Beginner's Guide

Welcome to our community! Here's what you need to know:

## Getting Started

1. Read the **rules**
2. Introduce yourself
3. Have fun!

Check out our [wiki](https://example.com/wiki) for more information.

Output BBCode file (guide.bbcode):

[size=200][b]Beginner's Guide[/b][/size]

Welcome to our community! Here's what you need to know:

[size=150][b]Getting Started[/b][/size]

[list=1]
[*]Read the [b]rules[/b]
[*]Introduce yourself
[*]Have fun!
[/list]

Check out our [url=https://example.com/wiki]wiki[/url] for more information.

Example 2: Gaming Guide with Images

Input Markdown file (walkthrough.md):

# Boss Battle Strategy

**Difficulty:** Hard

## Phase 1

Attack from the *left side* only.

![Boss Phase 1](https://example.com/boss1.png)

> Remember to dodge the laser attack!

Output BBCode file (walkthrough.bbcode):

[size=200][b]Boss Battle Strategy[/b][/size]

[b]Difficulty:[/b] Hard

[size=150][b]Phase 1[/b][/size]

Attack from the [i]left side[/i] only.

[img]https://example.com/boss1.png[/img]

[quote]Remember to dodge the laser attack![/quote]

Example 3: Code Tutorial

Input Markdown file (tutorial.md):

# Python Tutorial

Here's a simple function:

```python
def hello():
    print("Hello World")
```

Use `print()` to display text.

Output BBCode file (tutorial.bbcode):

[size=200][b]Python Tutorial[/b][/size]

Here's a simple function:

[code]def hello():
    print("Hello World")[/code]

Use [code]print()[/code] to display text.

Frequently Asked Questions (FAQ)

Q: What is BBCode?

A: BBCode (Bulletin Board Code) is a lightweight markup language created in the late 1990s for forums. It uses square bracket tags like [b]bold[/b], [i]italic[/i], [url=link]text[/url] to format text. BBCode provides safe formatting without allowing dangerous HTML, making it perfect for user-generated content on forums and bulletin boards.

Q: Why do forums use BBCode instead of HTML or Markdown?

A: BBCode prevents security risks. Allowing raw HTML enables XSS attacks and malicious scripts. Markdown wasn't designed for user input safety. BBCode gives users formatting power while keeping forums secure. Administrators can enable/disable specific tags (like [img] or [url]) for moderation. It's a controlled, safe markup language.

Q: Which forums support BBCode?

A: Nearly all major forum software: phpBB, vBulletin, Simple Machines Forum (SMF), MyBB, Invision Power Board (IPB), XenForo, and thousands more. Gaming communities, tech forums, hobbyist boards almost universally use BBCode. Some platforms like Discord historically supported BBCode but now use Markdown.

Q: Is BBCode standardized?

A: No official standard exists, but core tags ([b], [i], [u], [url], [img], [quote], [code], [list]) are universally supported. Each forum software may add custom tags like [spoiler], [table], [youtube], [color], [size]. Our converter focuses on widely-supported tags that work across most forums.

Q: Can I add colors and fonts to my BBCode?

A: Yes! BBCode supports [color=red]red text[/color], [color=#FF0000]hex colors[/color], [size=150]larger text[/size], [size=50]smaller text[/size], and [font=Arial]font choices[/font]. Not all forums enable these tags - check your forum's BBCode settings. These features go beyond what Markdown offers.

Q: How do I test my BBCode before posting?

A: Most forums have a "Preview" button. Alternatively, use online BBCode preview tools or test in your forum's signature editor (usually allows live preview). Some forums show BBCode rendering as you type. You can also create a private test thread visible only to you.

Q: What's the difference between [list] and [list=1]?

A: [list][*]item[/list] creates unordered (bulleted) lists. [list=1][*]item[/list] creates ordered (numbered) lists starting at 1. Some forums support [list=a] for alphabetic lists or [list=A] for uppercase. Use [*] (asterisk in brackets) for each list item, not separate closing tags.

Q: Can I nest BBCode tags?

A: Yes! BBCode supports nesting: [b][i]bold and italic[/i][/b], [url=link][img]image.png[/img][/url] (clickable images), [color=red][size=150]big red text[/size][/color]. Make sure tags close in reverse order they opened (like HTML). Complex nesting may not work on all forums - test first.