About BBCode Editor

A BBCode editor with a formatting toolbar and live HTML preview. Click a toolbar button and it wraps your selected text (or a placeholder) in the corresponding BBCode tag. The preview pane converts BBCode to HTML in real time using a chain of regex replacements. Supports [b], [i], [u], [s], [sub], [sup], [code], [code=lang], [quote], [quote=author], [size], [color], [alignment], [url], [img], [list], and [spoiler] tags.

  • Toolbar-based tag insertion: wraps selected text in BBCode tags, or inserts placeholder text if nothing is selected
  • Live preview renders BBCode to HTML via chained regex replacements—no server-side parsing
  • Full tag support: bold, italic, underline, strikethrough, subscript, superscript, code (with optional language), quote (with optional author), size, color, alignment (left/center/right), URL, image, ordered/unordered lists, and spoiler
  • Three view modes: editor only, split (side-by-side), and preview only
  • Word count, character count, and line count displayed in real time

Frequently Asked Questions

Which forum platforms use BBCode?
phpBB, vBulletin, XenForo, SMF, MyBB, and Discourse (with a plugin). It’s also used in some game platforms like Steam community forums. If you’re writing for any of these, this editor lets you preview before posting.
Does the preview match exactly what a forum will render?
Close but not identical. Forums apply their own CSS and may support slightly different tag variations. The preview gives you a reliable approximation of structure and nesting—enough to catch formatting mistakes before you post.

More Text Tools Tools

All Text Tools tools