HTML to BBCode Converter
Convert HTML to BBCode, live as you type.
Check out [url=https://bytelify.dev]Bytelify[/url], it has [b]bold[/b] and [i]italic[/i] text.
[list]
[*]First
[*]Second
[/list]Converts the common formatting tags forums actually use — bold, italic, underline, strikethrough, links, images, lists, quotes, and code blocks. Anything else is stripped, leaving its text in place. Converts live as you type, entirely in your browser.
Need the opposite? HTML to Markdown Converter
What is HTML to BBCode Converter?
Converts common HTML formatting tags (bold, italic, underline, strikethrough, links, images, lists, quotes, and code blocks) to their BBCode forum-markup equivalent. Not a full HTML parser: unrecognized tags are stripped, leaving their text content in place, rather than failing outright on markup this tool doesn't specifically handle. This is useful when reposting formatted content, a blog excerpt, a changelog, documentation, to a forum, wiki, or any platform that only accepts BBCode instead of HTML. Conversion happens live as you type, entirely in your browser; nothing you paste is sent to a server.
How to Use HTML to BBCode
- 1
Paste the HTML: Enter formatted HTML, such as a blog excerpt or changelog entry.
- 2
Read the BBCode Result Instantly: The equivalent BBCode appears automatically as you type.
- 3
Copy the Result: Use the copy button to copy the BBCode into a forum post.
How It Works
Each recognized tag maps directly to its BBCode equivalent: `<strong>`/`<b>` becomes `[b]...[/b]`, `<em>`/`<i>` becomes `[i]...[/i]`, `<u>` becomes `[u]...[/u]`, `<s>` becomes `[s]...[/s]`, `<a href="...">` becomes `[url=...]...[/url]`, `<img src="...">` becomes `[img]...[/img]`, `<ul>`/`<ol>` with `<li>` items become `[list]`/`[list=1]` blocks, `<blockquote>` becomes `[quote]...[/quote]`, and `<pre>`/`<code>` become `[code]...[/code]`. Any tag outside this set is stripped, but the text inside it is kept in place.
Example
<p>Check out <strong>this update</strong>, <em>huge</em> improvement. See the <a href="https://example.com">changelog</a>.</p>Check out [b]this update[/b], [i]huge[/i] improvement. See the [url=https://example.com]changelog[/url].`<strong>`/`<em>` become `[b]`/`[i]`, and the link's href moves into `[url=...]` with the anchor text kept as the visible label.
Common Use Cases
Reposting a blog excerpt or changelog entry to a forum that only accepts BBCode formatting.
Converting a formatted announcement from a CMS or email into BBCode for a community platform like phpBB or vBulletin.
Frequently Asked Questions
Common questions about HTML to BBCode Converter.