Html To Bbcode
Free online html to bbcode tool, no installation required
About HTML to BBCode
Transforms common HTML markup into BBCode tags suitable for forum and bulletin-board systems. It walks the HTML tag-by-tag and maps inline and block elements (bold, italic, underline, strikethrough, links, images, lists, headings, code, quotes, line breaks) to their BBCode equivalents.
How to Use
1. Paste HTML into the input box. 2. Click Convert to produce BBCode in the output box. 3. Use Copy to copy the result or Clear to reset both fields.
Tag Mapping
b/strong -> [b]; i/em -> [i]; u -> [u]; s/strike/del -> [s]; a[href] -> [url=href]; img[src] -> [img]src[/img]; ul -> [list] with [*] items; ol -> [list=1]; code/pre -> [code]; blockquote -> [quote]; h1-h6 -> [size=7|6|5|4|3|2]; br/p/div -> line breaks. Nested tags are handled in document order.
▶How are links converted?
▶How are images handled?
▶Are attributes other than href and src preserved?
▶How are headings mapped?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee