Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

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.

100% Free
No Sign-up
HTML → BBCode
Instant
Private · Nothing Saved Online
HTML to BBCode
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
BBCode to HTML
HTMLType, paste or drop a file
BBCode
Input—
Result—
Status—
Settings forYour markup
BBCode Output
Forums differ: choose Bold + size if yours has no heading tags, and match the size style your forum uses.
File Name

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. 1

    Add your HTML

    Paste it or open a file.

  2. 2

    Choose options

    Adjust the output on the right.

  3. 3

    Check the BBCode

    It updates as you type.

  4. 4

    Copy or download

    Save it as .txt.

What You Get

Instant
Updates as you type
Clean Output
Valid BBCode
Options
Format it your way
Clear Errors
Problems explained
100% Private
Nothing is uploaded
Any Device
Phone or computer

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

How do I convert HTML to BBCode?

Paste your HTML or open the file. The BBCode appears straight away; copy it or download it.

Does it work with any forum?

It uses the common BBCode tags. Choose the heading and size style that matches your forum.

What is removed?

Scripts, styles, frames and embedded data images are removed.

Is there a size limit?

Text up to 5 MB.

Does it work on my phone?

Yes. It works in modern browsers on phones, tablets and computers.

Is my text uploaded?

No. The conversion runs in your browser on your own device. Nothing is sent or stored.