Convert Markdown to BBCode

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

Markdown vs BBCode Format Comparison

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

Lightweight markup language created by John Gruber in 2004 for easy-to-read, easy-to-write plain text formatting. Widely adopted on GitHub, Stack Overflow, Reddit, and documentation platforms. Uses intuitive symbols like # for headings, ** for bold, * for italic, and - for lists.

Lightweight Universal
BBCode
Bulletin Board Code

Lightweight markup language used primarily on internet forums, bulletin boards, and community platforms. BBCode uses square bracket tags similar to HTML but simplified for safe user input. Widely supported by forum software like phpBB, vBulletin, SMF, Discourse, and XenForo.

Forum Markup Community
Technical Specifications
Structure: Plain text with formatting symbols
Encoding: UTF-8
Format: Human-readable plain text
Compression: None
Extensions: .md, .markdown
Structure: Square bracket tags [tag]...[/tag]
Encoding: UTF-8 / ASCII
Format: Human-readable tagged text
Compression: None
Extensions: .bbcode, .txt
Syntax Examples

Markdown uses simple symbols:

# Main Title

**Bold text** and *italic text*

- List item 1
- List item 2

[Link text](https://example.com)
![Alt text](image.png)

> Quoted text

`inline code`

BBCode uses square bracket tags:

[size=24]Main Title[/size]

[b]Bold text[/b] and [i]italic text[/i]

[list]
[*]List item 1
[*]List item 2
[/list]

[url=https://example.com]Link text[/url]
[img]image.png[/img]

[quote]Quoted text[/quote]

[code]inline code[/code]
Content Support
  • Headings (up to 6 levels)
  • Bold, italic, strikethrough
  • Ordered and unordered lists
  • Links and images
  • Code blocks and inline code
  • Blockquotes
  • Tables (basic)
  • Horizontal rules
  • Bold, italic, underline, strikethrough
  • Font size and color control
  • Ordered and unordered lists
  • URLs and images
  • Code blocks with syntax tags
  • Quote blocks with attribution
  • Spoiler tags
  • Text alignment
  • YouTube/media embeds (on some forums)
  • Tables (on some platforms)
Advantages
  • Clean, minimal syntax
  • Widely supported in modern tools
  • Great for documentation
  • GitHub and developer ecosystem
  • Easy to learn and write
  • Massive tool ecosystem
  • Supported by all major forums
  • Safe user input (no XSS risk)
  • Font color and size control
  • Quote blocks with usernames
  • Spoiler and hide tags
  • Simple paired tag syntax
  • Underline support (rare in Markdown)
Disadvantages
  • No font color or size control
  • No native underline support
  • Not supported on most forums
  • No spoiler tags
  • Limited styling options
  • More verbose than Markdown
  • Limited to forum platforms
  • No standardized specification
  • Tags vary between forum software
  • Declining use in modern platforms
  • No heading hierarchy
Common Uses
  • GitHub repositories
  • Documentation websites
  • Blog posts and articles
  • Developer notes
  • Stack Overflow answers
  • Forum posts (phpBB, vBulletin)
  • Gaming community forums
  • Discussion board formatting
  • XenForo community posts
  • Bulletin board systems
  • Online community platforms
Best For
  • Developer documentation
  • Modern web platforms
  • README and project files
  • Blog and web content
  • Forum and community posts
  • Bulletin board discussions
  • Colorful formatted text
  • Legacy forum platforms
Version History
Introduced: 2004 (John Gruber)
Current Standard: CommonMark (2014+)
Status: Actively maintained
Variants: GFM, CommonMark, MultiMarkdown
Introduced: 1998 (Ultimate Bulletin Board)
Current Version: No formal specification
Status: Widely used on forums
Variants: phpBB, vBulletin, XenForo dialects
Software Support
Editors: VS Code, Typora, Obsidian, iA Writer
Platforms: GitHub, GitLab, Reddit, Stack Overflow
Generators: Jekyll, Hugo, MkDocs, Gatsby
Libraries: Pandoc, markdown-it, marked
Forums: phpBB, vBulletin, SMF, XenForo
Platforms: Discourse, MyBB, Vanilla Forums
Parsers: bbcode-to-html, bb-parser
Libraries: Python bbcode, PHP BBCode parser

Why Convert Markdown to BBCode?

Converting Markdown to BBCode is essential when you need to post formatted content on internet forums and community platforms that use BBCode as their markup language. While Markdown dominates modern developer platforms, BBCode remains the standard formatting language for countless forums powered by phpBB, vBulletin, XenForo, SMF, and other bulletin board software.

Many writers and content creators draft their posts in Markdown because of its clean, distraction-free syntax. However, when they need to share that content on gaming forums, hobby communities, tech support boards, or other discussion platforms, BBCode is required. This converter bridges that gap by automatically translating Markdown formatting into the corresponding BBCode tags.

BBCode offers some formatting capabilities not available in standard Markdown, such as text color control ([color=red]), font size changes ([size=18]), underline formatting ([u]), and spoiler tags ([spoiler]). The conversion maps Markdown elements to their closest BBCode equivalents: headings become size tags, bold and italic are mapped to [b] and [i] tags, links become [url] tags, and images become [img] tags.

BBCode was specifically designed as a safe alternative to HTML for user-generated content on forums. Unlike HTML, BBCode cannot be used for cross-site scripting (XSS) attacks, making it a secure choice for community platforms where users need formatting capabilities without the security risks of allowing raw HTML input.

Key Benefits of Converting Markdown to BBCode:

  • Forum Compatibility: Post formatted content on phpBB, vBulletin, XenForo, and more
  • Quick Conversion: Instantly transform your Markdown drafts into forum-ready BBCode
  • Formatting Preserved: Bold, italic, lists, links, images, and code blocks converted
  • Quote Blocks: Markdown blockquotes become BBCode [quote] tags
  • Code Sharing: Code blocks convert to [code] tags for technical discussions
  • List Support: Both ordered and unordered lists properly converted
  • Image Embedding: Markdown images mapped to [img] tags for forum display

Practical Examples

Example 1: Forum Post

Input Markdown file (post.md):

# Game Review: Space Explorer

**Rating: 9/10**

This is an *amazing* game with:

- Stunning graphics
- Open world exploration
- Great soundtrack

> "Best game of the year!" — GameMag

Output BBCode file (post.bbcode):

[size=24][b]Game Review: Space Explorer[/b][/size]

[b]Rating: 9/10[/b]

This is an [i]amazing[/i] game with:

[list]
[*]Stunning graphics
[*]Open world exploration
[*]Great soundtrack
[/list]

[quote]"Best game of the year!" — GameMag[/quote]

Example 2: Technical Help Post

Input Markdown file (help.md):

## Fixing the Error

I found a solution for the crash:

1. Open the config file
2. Change `debug=false` to `debug=true`
3. Restart the application

```
ERROR: Module not found
Solution: npm install missing-module
```

See [the docs](https://example.com/docs).

Output BBCode file (help.bbcode):

[size=20][b]Fixing the Error[/b][/size]

I found a solution for the crash:

[list=1]
[*]Open the config file
[*]Change [code]debug=false[/code] to [code]debug=true[/code]
[*]Restart the application
[/list]

[code]
ERROR: Module not found
Solution: npm install missing-module
[/code]

See [url=https://example.com/docs]the docs[/url].

Example 3: Community Announcement

Input Markdown file (announcement.md):

# Server Update v2.5

We're excited to announce the new update!

## New Features

- **PvP Arena** - New competitive mode
- **Crafting System** - 50 new recipes
- **Bug Fixes** - Improved stability

## Important Notes

> Backup your saves before updating.

Download: [Update Link](https://example.com)

Output BBCode file (announcement.bbcode):

[size=24][b]Server Update v2.5[/b][/size]

We're excited to announce the new update!

[size=20][b]New Features[/b][/size]

[list]
[*][b]PvP Arena[/b] - New competitive mode
[*][b]Crafting System[/b] - 50 new recipes
[*][b]Bug Fixes[/b] - Improved stability
[/list]

[size=20][b]Important Notes[/b][/size]

[quote]Backup your saves before updating.[/quote]

Download: [url=https://example.com]Update Link[/url]

Frequently Asked Questions (FAQ)

Q: What is BBCode?

A: BBCode (Bulletin Board Code) is a lightweight markup language used on internet forums and message boards. It uses square bracket tags like [b]bold[/b] and [i]italic[/i] to format text. BBCode was introduced in the late 1990s as a safe alternative to HTML for user-generated content on forums and remains widely used on platforms like phpBB, vBulletin, and XenForo.

Q: How are Markdown headings converted to BBCode?

A: Since BBCode does not have a native heading tag, Markdown headings are converted using [size] and [b] tags. For example, # Heading 1 becomes [size=24][b]Heading 1[/b][/size], and ## Heading 2 becomes [size=20][b]Heading 2[/b][/size]. The font size decreases for lower heading levels.

Q: Will all forums support the generated BBCode?

A: The converter generates standard BBCode tags ([b], [i], [url], [img], [code], [quote], [list]) that are supported by the vast majority of forum software. However, some tags like [size] or [color] may not be available on all platforms. The core formatting (bold, italic, links, lists) is universally supported.

Q: Does BBCode support tables?

A: Table support in BBCode varies by forum software. Some modern platforms like XenForo and Discourse support [table], [tr], and [td] tags, while older platforms like phpBB do not support tables natively. If your target forum does not support BBCode tables, the table content may be formatted as plain text.

Q: Can I convert BBCode back to Markdown?

A: Yes, you can convert BBCode back to Markdown. Our converter supports both directions. The reverse conversion maps [b] to **, [i] to *, [url] to Markdown links, [img] to image syntax, [code] to code blocks, and [quote] to blockquotes. Some BBCode-specific features may not have exact Markdown equivalents.

Q: How are Markdown code blocks handled?

A: Markdown fenced code blocks (```) are converted to BBCode [code] tags. Inline code (`code`) is converted to inline [code]code[/code] tags. Language identifiers from fenced code blocks (like ```python) may not be preserved since most BBCode implementations do not support syntax-specific code tags.

Q: Is BBCode still relevant in 2024?

A: Yes, BBCode remains actively used on thousands of internet forums, gaming communities, hobbyist boards, and discussion platforms. While newer platforms like Reddit and Discord use Markdown, many established communities continue to use BBCode-based forum software. Converting Markdown to BBCode allows you to participate in these communities with properly formatted posts.

Q: How are Markdown images converted to BBCode?

A: Markdown image syntax ![alt text](image-url) is converted to BBCode [img]image-url[/img]. Note that BBCode's [img] tag does not support alt text natively, so the alt text may be placed as descriptive text before or after the image tag, depending on the conversion settings.