Convert BBCode to Wiki
Max file size 100mb.
BBCode vs Wiki Markup Format Comparison
| Aspect | BBCode (Source Format) | Wiki (Target Format) |
|---|---|---|
| Format Overview |
BBCode
Bulletin Board Code
Lightweight markup language used primarily in online forums and bulletin boards. Uses square bracket tags like [b], [i], [url] to format text. Designed to be safe for user-generated content by restricting HTML access while still allowing rich formatting. Forum Markup User-Safe |
Wiki
MediaWiki Markup Language
The markup language used by MediaWiki, the software behind Wikipedia and thousands of other wiki sites. Wiki markup uses a combination of symbols, special characters, and templates to create richly formatted content with automatic linking, categories, and collaborative editing features. Encyclopedia Collaborative |
| Technical Specifications |
Structure: Tag-based with square brackets
Encoding: Plain text (UTF-8) Format: Inline markup tags Compression: None Extensions: .bbcode, .txt |
Structure: Symbol-based with templates
Encoding: UTF-8 Format: Wikitext with parser functions Compression: None Extensions: .wiki, .mediawiki, .txt |
| Syntax Examples |
BBCode uses square bracket tags: [b]Bold text[/b] [i]Italic text[/i] [url=https://example.com]Link[/url] [img]image.png[/img] [quote]Quoted text[/quote] [list] [*]First item [*]Second item [/list] |
Wiki uses symbol-based markup: '''Bold text'''
''Italic text''
[https://example.com Link]
[[File:image.png]]
{{quote|Quoted text}}
* First item
* Second item
== Heading ==
{| class="wikitable"
|-
| Cell 1 || Cell 2
|}
|
| Content Support |
|
|
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
Introduced: 1998 (Ultimate Bulletin Board)
Current Version: No formal versioning Status: Widely used, community-driven Evolution: Platform-specific extensions |
Introduced: 2002 (MediaWiki 1.0)
Current Version: MediaWiki 1.41+ markup Status: Actively developed Evolution: Continuous improvements with each release |
| Software Support |
Forums: phpBB, vBulletin, SMF, Discourse
CMS: WordPress (plugins), Drupal Libraries: Python, PHP, JavaScript parsers Other: Most forum software |
Platforms: MediaWiki, Wikipedia, Fandom
Converters: Pandoc, mwparserfromhell Libraries: Python (mwparserfromhell), PHP Other: Wikimedia toolchain |
Why Convert BBCode to Wiki?
Converting BBCode to Wiki markup is essential when migrating community forum content to MediaWiki-based platforms such as Wikipedia, Fandom game wikis, or corporate knowledge bases. Forum discussions, guides, and FAQs created in BBCode can be transformed into properly formatted wiki articles that leverage MediaWiki's powerful organizational and collaborative features.
Wiki markup, developed for MediaWiki, offers a significantly richer feature set than BBCode. While BBCode handles basic formatting with square bracket tags, wiki markup provides hierarchical headings (== Heading ==), sophisticated table formatting ({| class="wikitable" |}), template transclusion ({{template}}), internal linking ([[Page Name]]), categories, and reference management. This makes wiki markup ideal for building interconnected knowledge bases.
The conversion process maps BBCode tags to their wiki markup equivalents: [b] becomes triple apostrophes for bold, [i] becomes double apostrophes for italic, [url] becomes bracket-based links, [list] becomes asterisk or hash-prefixed lists, and [quote] becomes indented or template-based quotations. The resulting wiki markup is ready for direct use in any MediaWiki installation.
This conversion is particularly valuable for gaming communities transitioning from forums to dedicated game wikis, organizations building internal knowledge bases from community discussions, and content creators who want to publish forum guides as structured wiki articles. The wiki format's built-in version history and collaborative editing make it superior for long-lived reference content.
Key Benefits of Converting BBCode to Wiki:
- Wikipedia Compatibility: Output works directly on Wikipedia and all MediaWiki sites
- Rich Structure: Add headings, categories, and cross-references not possible in BBCode
- Collaborative Editing: Wiki platforms enable multiple contributors to improve content
- Internal Linking: Create interconnected articles with automatic wiki links
- Template System: Leverage wiki templates for consistent formatting
- Version History: Every edit is tracked with full revision history
- Knowledge Organization: Categorize and structure content systematically
Practical Examples
Example 1: Forum Guide to Wiki Article
Input BBCode file (guide.bbcode):
[b]Beginner's Guide to Photography[/b] [i]Learn the basics of digital photography.[/i] [b]Camera Settings[/b] [list] [*]Aperture controls depth of field [*]Shutter speed controls motion blur [*]ISO controls light sensitivity [/list] [url=https://example.com/tips]More Photography Tips[/url]
Output Wiki file (guide.wiki):
== Beginner's Guide to Photography == ''Learn the basics of digital photography.'' === Camera Settings === * Aperture controls depth of field * Shutter speed controls motion blur * ISO controls light sensitivity [https://example.com/tips More Photography Tips] [[Category:Photography]]
Example 2: FAQ Thread to Wiki Page
Input BBCode file (faq.bbcode):
[b]Frequently Asked Questions[/b] [b]Q: How do I reset my password?[/b] Go to [url=https://example.com/reset]Password Reset[/url] and enter your email. [b]Q: What payment methods are accepted?[/b] We accept: [list] [*]Credit cards (Visa, MasterCard) [*]PayPal [*]Bank transfer [/list] [quote]All transactions are encrypted and secure.[/quote]
Output Wiki file (faq.wiki):
== Frequently Asked Questions ==
=== How do I reset my password? ===
Go to [https://example.com/reset Password Reset] and enter your email.
=== What payment methods are accepted? ===
We accept:
* Credit cards (Visa, MasterCard)
* PayPal
* Bank transfer
{{quote|All transactions are encrypted and secure.}}
[[Category:FAQ]]
Example 3: Game Information to Wiki Entry
Input BBCode file (game_info.bbcode):
[b]Dragon Warrior - Character Classes[/b] [img]https://example.com/warrior.png[/img] [b]Warrior[/b] [list] [*]Health: 150 [*]Attack: 25 [*]Defense: 20 [/list] [b]Mage[/b] [list] [*]Health: 80 [*]Attack: 10 [*]Magic: 40 [/list] [code]Damage = Attack * Multiplier - Defense[/code]
Output Wiki file (game_info.wiki):
== Dragon Warrior - Character Classes ==
[[File:Warrior.png|thumb|Warrior class]]
=== Warrior ===
{| class="wikitable"
|-
! Stat !! Value
|-
| Health || 150
|-
| Attack || 25
|-
| Defense || 20
|}
=== Mage ===
{| class="wikitable"
|-
! Stat !! Value
|-
| Health || 80
|-
| Attack || 10
|-
| Magic || 40
|}
Damage = Attack * Multiplier - Defense
[[Category:Game Mechanics]]
Frequently Asked Questions (FAQ)
Q: What is Wiki markup?
A: Wiki markup (also called wikitext) is the markup language used by MediaWiki, the software that powers Wikipedia. It uses a combination of apostrophes for bold/italic, equal signs for headings, asterisks for lists, brackets for links, and pipe characters for tables. It is designed for collaborative content creation and features templates, categories, and automatic cross-referencing.
Q: How is BBCode bold converted to Wiki markup?
A: BBCode [b]text[/b] becomes '''text''' in Wiki markup (triple apostrophes). BBCode [i]text[/i] becomes ''text'' (double apostrophes). Combined bold-italic [b][i]text[/i][/b] becomes '''''text''''' (five apostrophes). Wiki markup uses apostrophe count to distinguish formatting levels.
Q: Can Wiki markup handle all BBCode features?
A: Wiki markup handles all common BBCode features and offers many additional capabilities. Bold, italic, links, images, lists, quotes, and code are all supported. Wiki markup additionally provides headings, tables with sorting, categories, templates, footnotes, mathematical formulas, and internal wiki linking. Some BBCode features like font color require HTML tags within wiki markup.
Q: How are links converted from BBCode to Wiki?
A: BBCode external links [url=https://example.com]text[/url] become [https://example.com text] in wiki markup (single brackets for external links). Wiki markup also supports internal links using double brackets -- these link to other pages within the same wiki and are one of the most powerful features of the wiki format.
Q: Where can I use Wiki markup output?
A: Wiki markup works on any MediaWiki installation, including Wikipedia, Wikimedia Commons, Wiktionary, Fandom (formerly Wikia), Gamepedia, and thousands of private wikis. Many organizations run internal MediaWiki instances for documentation. The markup is also supported by tools like Pandoc for conversion to other formats.
Q: How are BBCode images handled in Wiki format?
A: BBCode [img]url[/img] tags are converted to Wiki's [[File:filename]] syntax for local wiki images, or kept as external image references. Wiki markup offers advanced image features including thumbnails, captions, alignment, and sizing -- for example, [[File:image.png|thumb|200px|Caption text]]. These features make images much more manageable than in BBCode.
Q: Can I convert BBCode lists to Wiki tables?
A: BBCode lists are typically converted to wiki lists (using * for bullets, # for numbers), but when the data is tabular in nature, the converter can structure it as a wiki table using {| class="wikitable" |} syntax. Wiki tables support headers, cell alignment, row spanning, and sorting -- far beyond what BBCode lists can represent.
Q: Is Wiki markup difficult to edit after conversion?
A: Wiki markup is designed to be human-editable. While some advanced features like templates and tables have more complex syntax, basic formatting is straightforward. Most wiki platforms also offer visual editors (like Wikipedia's VisualEditor) that let you edit wiki markup through a WYSIWYG interface without needing to know the markup syntax.