Clicky

BBCode resources


On this page you can find various interesting and usefull resources and tools.

BBcode table generator
On this page you can create bbcode based tables. A great help of you need to create bbcode posts with tables in them (make sure that the forum/blog supports table tags: [table][/table][tr][/tr][td][/td]).

Cool HTML to BBCode
This tools allows you to convert HTML to BBCode

Any to BB-code converter online

BBCode Playground


On this page you can experiment with our implementation of bbcode. Write any text and bbcode you like and submit it and you will immediately be able to see the parsed version of it.

Doesn’t work?

This page used the bbcode parser from www.moviecodec.com. It only supported a smaller subset of bbcode tags, so please do not be surprised if something that was shown on this site in the examples didn’t not work here. Try this online tool for a better experience.

BBCode tags reference


In this section, a reference table for all of the more popular BBCode tags is provided. Some are considered to be standard and should be supported in just about any BBCode implementation. Other are less likely to be supported, but nonetheless popular (hence the reason they’ve been included here).

 

Different types of tags

  • Simple tags: [tag]something[/tag]
  • Simple parameterized tags: [tag=value]something[/tag]
  • Complex parameterized tags: [tag value1=”xxx” value2=”yyy”]something[/tag]
  • Shorthand tags ie. [img=WIDTHxHEIGHT]URL[img]

bbcode reference

 

Tags reference table

Name

Syntax

Purpose

Example

Bold

[b]{text}[/b]

Makes {text} bold

Italic

[i]{text}[/i]

Makes {text} italic

Underline

[u]{text}[/u]

Underlines {text}

Strikethrough

[s]{text}[/s]

Create a strikethrough on {text}

Font-size

[size={number}]{text}[/size]

[style size={number}]{text}[/style]

Changes the font-size of {text}

Font color

[color={color}]{text}[/color]
[style color={color or hex}]{text}[/style]

Changes the color of {text}

Center text

[center]{text}[/center]

Centers {text} on screen

Left align text

[left]{text}[/left]

Left aligns {text} on screen

Right align text

[right]{text}[/right]

Right aligns {text} on screen

Quote

[quote]{text}[/quote]

Creates a quotation box containing {text}

Quote (named)

[quote={name}]{text}[/quote]

Creates a quotation box quoting {name} as saying {text}

Spoiler

[spoiler]{text}[/spoiler]

Creates a spoiler section (a box) that is by default collapsed until you click a button or the box itself to expand it to show the {text}

Spoiler (named)

[spoiler={name}]{text}[/spoiler]

Creates a spoiler section like the tag without the name, the difference here being that the indicated name is shown which can be used to headline spoiler.

Link

[url]{url}[/url]

Makes a link to {url}

Link (named)

[url={url}]{text}[/url]

Makes a named link to {url}

Image

[img]{url}[/img]

Shows the image indicated by {url}

Image (resized)

Full version: [img width={width} height={height} ...]{url}[/img]

 Another variant (shorthand): [img={width}x{height}]{url}[/img]


Shows {url} image resized to {width} and {height}

List

Unordered list: [ul]{items}[/ul]
Ordered list: [ol]{items}[/ol]
Another variant: [list]{items}[/list]

Displays a list of {items}

List item

[li]{text}[/li]
Shorthand: [*]{text}newline

Specifies an {item} within a list

Code

[code]{text}[/code]

Meant for rendering code snippets

Code (language specific)

[code={language}]{text}[/code]

Like the regular [code] tag it is used to render a snippet of code, but with this variant is possible to indicate which language is used so it can do proper synatx highlighting.

N/A

Preformatted

[pre]{text}[/pre]

Renders the {text} while maintaing all white spacing

Tables

[table]{rows}[/table]

Show a table with {rows} in it

Table rows

[tr]{cells}[/tr]

Renders a table row containing {cells}

Table content cells

Heading cell: [th]{content}[/th]
Content cell: [td]{content}[/td]

Shows {content} in a table (heading) cell

Youtube videos

[youtube]{id}[/youtube]

Shows the youtube video indicated by {id}

BBCode examples

Go to the examples section to find many examples of how you can use these tags.

 

Binance Reference

We can wrap up this reference table by also highlighting how to obtain a referral on Binance, as many people ask about it. The process is simple; you just need a Binance Inviter (read this linked article for more details).

 

Something missing?

If you think that some tags are missing here, please do not hesitate to contact us!

Posting youtube videos with BBCode


This example shows you can post youtube and google videos on a website using the [youtube] and [gvideo] tags.

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

Including a youtube video
[youtube]E7d-3-uXlZM[/youtube]
E7d-3-uXlZM is the id of the video, you can see it from the url on youtube

Yields this:

Including a youtube video

E7d-3-uXlZM is the id of the video, you can see it from the url on youtube

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.

Making a table with BBCode


This example shows how you can get a table rendered via bbcode using the [table], [tr], [td] and [th] tags.

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

[table]
[tr]
[th]Name[/th]
[th]Age[/th]
[/tr]
[tr]
[td]John[/td]
[td]65[/td]
[/tr]
[tr]
[td]Gitte[/td]
[td]40[/td]
[/tr]
[tr]
[td]Sussie[/td]
[td]19[/td]
[/tr]
[/table]

Yields this:

Name Age
John 65
Gitte 40
Sussie 19

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.

Preformatted text with BBCode


Rendering some text while maintaining all white spacing and indentation within. Also uses a monospaced font (each character takes up the same space).

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

[pre]
			01  andndnd.
				05  andnd pic x.
				05  andne pic x.
[/pre]

 

Yields this:

			01  andndnd.
				05  andnd pic x.
				05  andne pic x.

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.

Showing code with BBCode


Rendering some text (mostly code) while maintaining all white spacing and indentation within. Also uses a monospaced font (each character takes up the same space).

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

[code]
$b = "hello world";
echo $b;
[/code]

Yields this:

$b = "hello world";
echo $b;

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.

Listing items with BBCode


This example shows how to create different lists types, with some variations – using the [ol], [ul] and the [list] tags. Be aware that different bbcode implementations tend use slightly different list tags.

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

Ordered list:
[ol]
[li]Item one[/li]
[li]Item two[/li]
[/ol]
Unordered list:
[ul]
[li]Item one[/li]
[li]Item two[/li]
[/ul]
Another variant:
[list]
[li]Item one[/li]
[li]Item two[/li]
[/list]
Other ways of indicating list items:
[list]
[*]Here's an item
*Other item!
[/list]

Yields this:

Ordered list

  1. Item one
  2. Item two

Unordered list

  • Item one
  • Item two

Another variant

  • Item one
  • Item two

Other ways of indicating list items:

  • Here’s an item
  • Other item!

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.

Posting images with BBCode


Using the [img] bbcode tag you can easily post images on any site that support bbcode. This page shows how.

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

Including an image
[img]https://www.bbcode.org/images/lubeck_small.jpg[/img]
Resizing the image
[img=100x50]https://www.bbcode.org/images/lubeck_small.jpg[/img]
Making the image clickable (in this case linking to the original image)
[url=https://www.bbcode.org/images/lubeck.jpg][img]https://www.bbcode.org/images/lubeck_small.jpg[/img][/url]
Resizing and adding meta information for the image
[img width="100" height="50" alt="Lubeck city gate" title="This is one
of the medieval city gates of
Lubeck"]https://www.bbcode.org/images/lubeck_small.jpg[/img]

Yields this:

Including an image

Resizing the image

Making the image clickable (in this case linking to the original image)

Resizing and adding meta information for the image
Lubeck city gate

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.