Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.0   Updated Wednesday, January 17th, 2007 at 2:14pm

BBCode to HTML Converter

This web-based utility converts BBCode to HTML. The most common use for a utility like this is to easily convert forum posts using BBCode to standard HTML for use in traditional web pages. This utility currently supports all of the BBCode tags used by phpBB and a list of these tags can be found below. Unlike some convertors, this will generate proper paragraph tags (instead of just using a lot of line breaks), and takes advantage of CSS declarations for font sizes, colors, and more (as opposed to their depreciated HTML tag counterparts). There are also several options available.

Try it out

  If you have found this page useful, please consider donating. Thanks!

Changelog

  • 07-01-09 – Added support for the [center] [/center] tags
  • 01-17-07 – Added several new tags. The converter is also now on its own domain – bbcode-to-html.com
  • 06-16-06 – First version.

Supported BBCode tags

You can now find a complete list of the supported tags on the site linked above.

Notes

The HTML generated by this utility should be 100% valid, with one exception – the use of lists.

This converter generates lists the same way that phpBB does – without using closing li tags. It will actually validate as HTML, but not as XHTML. Even though it is technically legal with standard HTML, it is still kind of lazy to do. Actually I have not ever seen a BBCode parser in any forum script that does it the ‘right’ way.

This converter also supports multi-level lists, but you cannot have one type of list inside another type of list. Ordered in ordered is ok, but not ordered in unordered, etc. Coincidentally, this problem is also found within phpBB ;)

Pages: [6] 5 4 3 2 1 » Show All

  1. This is my first visit to your blog! We are a team
    of volunteers and starting a new initiative in a community in
    the same niche.

  2. Your blog provided us beneficial
    information to work on. You have done a wonderful job!

  3. BCode to standard HTML for use in traditional web pages

  4. Hey there! This is my first visit to your blog! We are a team
    of volunteers and starting a new initiative in a community in
    the same niche. Your blog provided us beneficial
    information to work on. You have done a wonderful job!

Pages: [6] 5 4 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.