HTML to BBCode Converter
Turn HTML into BBCode ready to paste into a forum. Headings, bold and italic text, links, images, quotes, lists, tables, colours and sizes are converted, and scripts and other unsafe parts are removed.
How to Convert HTML to BBCode
Quick answer: paste your HTML or open a file; the BBCode appears below. Copy it or download the .txt file.
-
1
Add your HTML
Paste it or open a file.
-
2
Choose options
Adjust the output on the right.
-
3
Check the BBCode
It updates as you type.
-
4
Copy or download
Save it as .txt.
What You Get
What Is HTML?
HTML is the language every web page is written in. Elements are marked with opening and closing tags, such as paragraphs, headings, links, images, lists and tables, and browsers turn them into the pages you see. Every website builder, content system and email editor accepts HTML.
What Is BBCode?
BBCode (bulletin board code) is the formatting language of forums and message boards. Tags in square brackets, such as [b]bold[/b], [url=…]link[/url], [img]…[/img], [quote] and [list], format posts safely without letting users write raw HTML.
Why Convert HTML to BBCode?
Forums accept BBCode rather than HTML, so sharing an article, announcement or guide from a website usually means rewriting the formatting by hand. Converting here keeps the structure and styling of your content and gives you text you can paste straight into a new post.
How the Conversion Works
The HTML is read by the browser's own reader, then each element is turned into its BBCode equivalent: strong becomes [b], links become [url=…], images [img], blockquotes [quote], lists [list] with [*] items and tables [table]. Inline colours, sizes and alignment are kept where BBCode supports them. Scripts, styles and embedded frames are removed.
Example
The sample announcement becomes an [h2] heading, a paragraph with a bold time and a link to the agenda, a quote attributed to Ana, a list with two items and a coloured line at the end.
Tips
Forums support different tags. If yours has no heading tags, choose Bold + size. Images embedded as data are skipped because most forums cannot show them; upload the image and link it instead.
Who Uses It?
Forum members and moderators, community managers, club secretaries sharing newsletters, game guide writers and anyone posting web content to message boards. It also helps when moving content from a website to a forum during a community migration. Because the text never leaves the device, it is also safe for drafts and internal documents.
Step by Step
Paste your HTML into the input box, drop a file onto it, or press Open File. The BBCode appears in the output box straight away and updates as you type, so you can fix mistakes and watch the result change. Adjust the options on the right if needed. When it looks right, press Copy to put the result on your clipboard, or Download to save it as a .txt file. Press Sample at any time to see an example.
Using Your BBCode
Copy the BBCode and paste it into the post editor of your forum, ideally in its source or plain-text mode so the tags are not changed. Use the preview button before posting to check that headings, colours and sizes look right, because each forum supports a slightly different set of tags. Upload images to the forum or an image host if they do not appear, and replace their addresses. Long posts are easier to read with a blank line between paragraphs, which the converter adds for you.
Private, Free and Instant
The converter is free, with no sign-up and no limit beyond the 5 MB text size. Everything runs in your browser, so drafts, internal documents and unpublished content are never uploaded or stored. It works on Windows, Mac, Linux and Chromebooks, and on phones and tablets.
HTML to BBCode: Posting to Forums
Forums often accept BBCode rather than HTML. If you wrote a post in HTML, converting lets you paste it with the formatting intact.
Typical conversions
- <strong> and <b> become [b], and <em> and <i> become [i].
- Anchors become [url=...], and images become [img].
- Lists become [list] with [*] items, and blockquotes become [quote].
Limits
BBCode has no equivalent for most layout, style and script tags, so these are removed. Different forums support different tags, so test one post. For the reverse, use BBCode to HTML.
Forum Posting Tips
Test one post first, since each forum supports a different set of tags.
Do not expect a perfect copy. Tables, inline styles, scripts, forms and custom elements have no BBCode equivalent and are simply dropped, while headings usually become bold text. After conversion, preview the post in the forum's own preview before sending it. Most boards allow only a limited set of tags, so remove any that your forum does not support. To convert the other way, see BBCode to HTML.
Frequently Asked Questions
Questions about HTML to BBCode