BBCode to HTML

Convert BBCode markup into reviewable HTML

BBCode is used by forums and legacy content systems to express links, emphasis, lists, and other formatting. This converter creates HTML that can be reviewed before a controlled migration or import.

Useful scenarios

  • Migrate archived forum content into an HTML-based system.
  • Preview how common BBCode tags translate to markup.
  • Build test cases for a content import pipeline.

Recommended workflow

  1. Paste a representative BBCode sample with balanced tags.
  2. Convert and inspect the resulting element structure.
  3. Sanitize and test the HTML in the destination before publishing it.

Technical example

[b]Important[/b] typically becomes a strong or bold element, while URL tags require careful handling of both link text and destination.

Limitations and safety

Conversion does not make user content safe. Apply an allowlist sanitizer to remove scripts, unsafe URLs, event handlers, and unsupported elements.