# NEW PLUGIN: Converting BBCode to HTML

**URL:** <https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961>\
**Category:** Showcase\
**Created:** [November 19, 2021, 9:21am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961 "2021-11-19T09:21:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![blurapps](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/blurapps/32/102380_2.png) [@blurapps](https://forum.bubble.io/u/blurapps)\
**Post date:** [November 19, 2021, 9:21am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/1 "2021-11-19T09:21:16Z")

</div>

BBCode is how some platforms like Bubble parse and display rich text. It’s a markup language and uses tags to indicate styles on text - very similar to HTML but not the same thing.

I’ve been needing to use rich text on Bubble to send emails via Gmail and other APIs, but the BBCode tags appear in the emails. That’s when I realised that **I should be converting my rich text to HTML from BBCode** while calling these APIs.

That’s why I decided to build this plugin. There was no available tool apart from some paid plugins on Bubble to get rich text in the form of HTML _and_ BBCode.

Editor Demo: [Linked here](https://bubble.io/page?type=page&name=bbcode-to-html&id=blur-apps-playground&tab=tabs-1)  
Run Mode Demo: [Linked here](https://blur-apps-playground.bubbleapps.io/version-test/bbcode-to-html)

* * *

**The Plugin is quite simple to use:**

- You simply install it, look for the BBCode-\>HTML element on the Editor, add it to your page.
- Set the properties. You can provide your BBCode as input to this element (I provide my `RichTextEditorA's value` here).
- Then you can access this element’s output to get the HTML as dynamic data. (`BBCode->HTMLA's HTML`).  
I supply this dynamic data as the body parameter of my email API call

The result:

BBCode: `[b]Hello there![/b]`  
Converted to HTML: `<strong>Hello there!</strong>`  
Converted HTML as dynamic data to a Bubble HTML element renders as:  
**Hello there!**

The plugin currently supports Bold, Italics, Underline, Strikethrough and Hyperlinks - the basics needed for simple emails.

Hope this helps with your Apps!

---

<div class="post-metadata">

**Author:** ![samnichols](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/samnichols/32/105510_2.png) [@samnichols](https://forum.bubble.io/u/samnichols)\
**Post date:** [May 19, 2022, 6:49pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/2 "2022-05-19T18:49:32Z")

</div>

Could you post the link to the plugin page?

---

<div class="post-metadata">

**Author:** ![blurapps](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/blurapps/32/102380_2.png) [@blurapps](https://forum.bubble.io/u/blurapps)\
**Post date:** [May 21, 2022, 5:27am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/3 "2022-05-21T05:27:58Z")

</div>

> **[BBCode to HTML Plugin for Bubble, by Blur Apps](https://bubble.io/plugin/bbcode-to-html-1637245706387x132899110531629060)**
>
> BBCode to HTML Plugin page on Bubble, by Blur Apps. Add BBCode to HTML in one click to your app. Bubble lets you build web apps without any code.

---

<div class="post-metadata">

**Author:** ![agathelecocq1](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@agathelecocq1](https://forum.bubble.io/u/agathelecocq1)\
**Post date:** [September 26, 2023, 3:18pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/4 "2023-09-26T15:18:25Z")

</div>

Hello !

Is there to use it in backend workflows ? I need to convert text (from a richtext editor) in bbcode to html in items already saved (about 300 articles…)

Do you have a way to do it ?

Thank you !

---

<div class="post-metadata">

**Author:** ![daniel.pereira](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@daniel.pereira](https://forum.bubble.io/u/daniel.pereira)\
**Post date:** [January 22, 2024, 2:16pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/5 "2024-01-22T14:16:53Z")

</div>

Did you got the answer? I have the same problem

---

<div class="post-metadata">

**Author:** ![psycholabdesign](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@psycholabdesign](https://forum.bubble.io/u/psycholabdesign)\
**Post date:** [April 23, 2024, 2:59pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/6 "2024-04-23T14:59:36Z")

</div>

Hi @blurapps

Quick question, is this plugin working?

I’ve tried it on the demo page - [https://blur-apps-playground.bubbleapps.io/version-test/bbcode-to-html](https://blur-apps-playground.bubbleapps.io/version-test/bbcode-to-html) and can’t seem to make it work properly.

I’ve entered a formatted text in the RTE input but the HTML output doesn;t look rendered /formatted.

 ![Screenshot 2024-04-23 at 15.52.17](https://us1.discourse-cdn.com/bubble/original/3X/3/8/38cb7ccc3268d81e7ad2578da453f1e6eae062b9.png)

Could you kindly help. Thanks.

---

<div class="post-metadata">

**Author:** ![ranjit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ranjit/32/254854_2.png) [@ranjit](https://forum.bubble.io/u/ranjit)\
**Post date:** [April 24, 2024, 10:08am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/7 "2024-04-24T10:08:18Z")

</div>

Hey. Ranjit from Blur Apps here.  
The plugin is functional. It converts the bbcode formatted text into HTML formatted text.  
What you see on the box in the bottom-right is the HTML code generated.  
I just added a preview of the HTML rendered below it so you can take a look.

Check it out and let me know if you have any trouble.

Cheers,  
Ranjit

---

<div class="post-metadata">

**Author:** ![psycholabdesign](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@psycholabdesign](https://forum.bubble.io/u/psycholabdesign)\
**Post date:** [April 25, 2024, 12:11pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/8 "2024-04-25T12:11:58Z")

</div>

Hello, Ranjit!

Thanks for looking into it. Will definitely provide feedback if I’ll encounter any issues with it 🙂

Regards

---

<div class="post-metadata">

**Author:** ![ranjit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ranjit/32/254854_2.png) [@ranjit](https://forum.bubble.io/u/ranjit)\
**Post date:** [April 25, 2024, 1:27pm UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/9 "2024-04-25T13:27:01Z")

</div>

Anytime 🙂

---

<div class="post-metadata">

**Author:** ![stephane](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/stephane/32/59586_2.png) [@stephane](https://forum.bubble.io/u/stephane)\
**Post date:** [June 11, 2024, 10:58am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/10 "2024-06-11T10:58:39Z")

</div>

Hey ranjit tahnks for the great work!  
Its working pretty well except `[img]` being broken to `img]`  
We are several to have the same issue (see reviews) [BBCode to HTML Plugin | Bubble](https://bubble.io/plugin/bbcode-to-html-1637245706387x132899110531629060)

---

<div class="post-metadata">

**Author:** ![ranjit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ranjit/32/254854_2.png) [@ranjit](https://forum.bubble.io/u/ranjit)\
**Post date:** [June 12, 2024, 6:16am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/11 "2024-06-12T06:16:56Z")

</div>

Hey Stephane

Thanks for the feedback.  
It’s tricky to maintain free plugins as you know.  
But because of the immense demand for this plugin, we are planning a paid version of the plugin to be released very soon and we will maintain it regularly.

I am adding this feedback to my list and implementing accordingly.

Can you give me a snippet of the bbcode you were working with (including the img tag) so that I can test with this?

---

<div class="post-metadata">

**Author:** ![SJL](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sjl/32/93757_2.png) [@SJL](https://forum.bubble.io/u/SJL)\
**Post date:** [August 15, 2024, 3:22am UTC](https://forum.bubble.io/t/new-plugin-converting-bbcode-to-html/178961/12 "2024-08-15T03:22:56Z")

</div>

Having an issue with `color` BB tags.

For example: `[color=#000000]HELLO[/color]` becomes `]HELLO`

Here’s a screenshot of a live example

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/7/c79cc4d783f528d1c9cc7af685a7d3352906b338.png)
