User Experience Stack Exchange is a question and answer site for user experience researchers and experts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why do some sites/forums use bbcode or another formatting language when they could just allow filtered html?

share|improve this question
up vote 9 down vote accepted

There are a couple possible reasons:

  • Security - Parsing BBCode and turning it into HTML can often be easier than trying to sanitize and secure the HTML. The security risk of missing a vulnerability can be high.
  • Ease of Use - Some formatting languages, like Markdown, are less verbose than HTML. That said, Markdown is also less descriptive than HTML, so there is a trade-off.
share|improve this answer

When BBCode first came about, there weren't as many nice rich (WYSIWYG) editors as you see today. Early incarnations of these editors merely manipulated the plain text in the edit box that you were typing your post/reply into, adding BBCode as needed.

BBCode is easier for users to understand than HTML, and some power users would actually prefer to hammer out their messages without using toolbars or rich editors...

BBCode is more rigid than HTML, so it is easier to describe a simple markup syntax like BBCode than it is to try to educate a user on what HTML tags (and attributes) are allowed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.