What is BBCode?


BBCode tags?

Go to the BBCode tags reference.

Examples of using BBCode?

Go to the BBCode examples section.

Try it out now?

Go to the BBCode Playground.

Guides to using BBCode?

Go to the BBCode guides page.

Implementing BBCode?

Go to the implementations page.

BBCode is short for Bulletin Board Code. It is used as a way for formatting posts made on message boards, blogs and more. It is similar to HTML in the sense that in BBCode one does also use tags to format something specific (contained within the tag). In BBCode tags are indicated by rectangular brackets surrounding a keyword, which is in turn transformed into HTML before being delivered to a web browser.

BBCode was implemented as method of providing a safer and easier way of allowing posts to be formatted on forums. Before BBCode forums sometimes allowed users to include HTML code in their posts, which had many security issues (i.e. the user could execute javascript code, break the layout of the site and so on). With BBCode being parsed by the forum scripts it is easier to control what the user can do and can not do (allowing or not allowing specific BBCode tags).


The basic BBCode tags are often very similar across many different forums, but there are some variants in existence as well. Sometimes BBCode tags has to be in specific cases (i.e. [b]bold text[/b] will work, while [B]bold tex[/B] will not). It is also very different as to which of the more unsafe and/or complex tags that are supported. For instance you cannot always expect the [img] image tag to be supported as allowing posters unlimited power to post any picture they like could have some pretty nasty effects.

Help build www.bbcode.org

This site is meant to be a resource site for people using bbcode when posting on web-forums, but it is also meant as a resource for people looking to implement bbcode in their software products. If you feel that you have something to contribute to this site, be it articles, guides etc. please do not hesitate to contact me (email can be found at the bottom of the page).

Latest blog entries

Layout update

Updated the layout and navigation (menu) for smaller devices.


New examples, design update.

Added a few new examples, updated some styling.


All blog entries


[Home] [Reference] [Examples] [Playground] [Guides] [Implementations] [Resources] [Blog] [Privay Policy]

bbcode.org ©2011-2020 Silicon.dk ApS; webmaster[at-sign]bbcode.org
Private Policy