HTML to BBCode converter
Convert HTML markup to BBCode for forum posts and signatures.
Related tools
HTML to BBCode converter
Paste HTML and get BBCode you can post on forums that do not accept HTML. Most boards running phpBB, vBulletin, XenForo or MyBB, along with countless marketplace and gaming communities, only understand square-bracket tags — this tool rewrites your markup for them. Use it to move a formatted snippet from your CMS or blog into a forum thread, to build a signature, or to publish a listing on a board that strips raw HTML.
The mappings are concrete: <b> and <strong> become [b], <i> and <em> become [i], <u> and <ins> become [u], and <s>, <strike> and <del> become [s]. Links turn into [url=…]…[/url] and images into [img]…[/img]. Unordered lists come out as [list] with [*] items, ordered lists as [list=1]. Blockquotes map to [quote], and <code> and <pre> to [code]. Headings h1 to h6 become bold lines of their own, while paragraphs and <br> tags become line breaks. Attributes are tolerated on every tag and tag names match in any case.
Tags the tool does not recognise follow the unknown-tags option: the default removes the tag and keeps the text inside it, or switch to keeping and the markup stays verbatim. Common HTML entities — &, <, >, " and — are decoded to plain characters. One honest caveat: BBCode is not a single standard. Forums differ in how they render [list], [code] and nested tags, so check the result in your board's preview before posting.
The conversion runs entirely in your browser and nothing is uploaded, so drafts, client work and private posts are safe to paste. Copy the finished BBCode or download it as a .txt file.