HTML/UBB Converter
Free online HTML and UBB/BBCode converter tool
About HTML/UBB Converter
A bidirectional converter between HTML markup and UBBCode (BBCode) forum tags. It maps the common forum tags [b], [i], [u], [s], [url], [img], [quote], [code], [list], [size], [color], and [list=1] to and from their HTML equivalents, and decodes basic HTML entities (&, <, >, ", ', ) when going HTML to UBB.
How to Use
1. Pick a direction with the two tabs: HTML to UBB or UBB to HTML. 2. Paste your source markup into the input card (HTML when converting to UBB, UBB code when converting to HTML). 3. Click Convert to produce the result. 4. Use Swap to flip the direction and load the result back into the input, or Copy to copy the output. Clear wipes both fields.
Tag Mapping Details
HTML tags map as follows: <b>/<strong> -> [b], <i>/<em> -> [i], <u> -> [u], <s>/<strike>/<del> -> [s], <a href> -> [url=...], <img src> -> [img], <h1>/<h2>/<h3> -> [size=7/6/5], <font color> -> [color=...], <font size> -> [size=...], <blockquote> -> [quote], <pre>/<code> -> [code], <ul> -> [list], <ol> -> [list=1]. When converting UBB to HTML, newlines become <br /> tags. Unknown HTML tags are stripped in the HTML-to-UBB direction.
▶Are nested tags supported?
▶Why did my <script> or <style> tags disappear?
▶Does UBB-to-HTML escape special characters?
▶Why are my ordered list items showing as [list=1]?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee