TextArray
100% local

HTML to BBCode converter

Convert HTML markup to BBCode for forum posts and signatures.

Input
Output

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 — &amp;, &lt;, &gt;, &quot; and &nbsp; — 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.

FAQ

Which HTML tags are converted?
Bold, italic, underline and strikethrough (b, strong, i, em, u, ins, s, strike, del), links, images, ordered and unordered lists, blockquotes, code and pre blocks, headings h1 to h6, paragraphs and line breaks. Attributes are tolerated and tag names can be written in any case.
Will the BBCode work on every forum?
The core tags — [b], [i], [u], [s], [url], [img], [quote], [code] — are understood almost everywhere, but BBCode dialects differ: [list] markers and [code] rendering vary by engine, and some boards disable [img]. Check the result in your forum's preview before posting.
What happens to tags the tool does not recognise?
That is your choice. The default removes the unknown tag and keeps the text inside it; switch the option to keeping and the markup stays in the output exactly as written.
Is my HTML uploaded anywhere?
No. The tool runs entirely in your browser and your markup never leaves your device.