HTML to BBCode Converter
Transform HTML into BBCode format for forums
HTML Input
BBCode Output
About HTML to BBCode Converter
Convert HTML markup to BBCode format used in forums and bulletin boards. BBCode is a lightweight markup language that uses square brackets instead of angle brackets.
Key Features
- Text Formatting: Convert bold, italic, underline, strikethrough, superscript, and subscript
- Headings: Convert h1-h6 tags to sized and bolded BBCode
- Links: Convert hyperlinks with proper [url] syntax
- Images: Convert img tags to [img] BBCode
- Lists: Convert ordered and unordered lists
- Tables: Convert HTML tables to BBCode table format
- Code Blocks: Convert pre/code tags with language support
- Quotes: Convert blockquote tags to [quote] BBCode
- Colors & Sizes: Preserve inline styles and font attributes
How to Use
- Input HTML: Paste your HTML code or upload an .html file
- Configure Options: Choose whether to preserve colors, sizes, and convert images
- Review Output: The BBCode updates automatically
- Copy or Download: Use the Copy or Download button to save your BBCode
Supported BBCode Tags
- [b]...[/b]: Bold text
- [i]...[/i]: Italic text
- [u]...[/u]: Underlined text
- [s]...[/s]: Strikethrough text
- [sup]...[/sup]: Superscript
- [sub]...[/sub]: Subscript
- [size=X]...[/size]: Font size (percentage)
- [color=X]...[/color]: Text color
- [url]...[/url]: Hyperlink
- [img]...[/img]: Image
- [list]...[/list]: Unordered list
- [list=1]...[/list]: Ordered list
- [quote]...[/quote]: Quote block
- [code]...[/code]: Code block
- [table]...[/table]: Table
Common Use Cases
- Forum Posts: Convert web content to forum-compatible BBCode
- Message Boards: Share formatted content on bulletin boards
- Documentation: Convert HTML documentation to BBCode format
- Content Migration: Move content from HTML to BBCode-based platforms
About BBCode
BBCode (Bulletin Board Code) is a lightweight markup language used to format posts in many Internet forum software. It was first introduced in 1998 and uses square brackets [ ] instead of angle brackets < > to avoid conflicts with HTML.
Privacy & Security
All conversions happen locally in your browser. Your HTML is never uploaded to any server, ensuring complete privacy and security.
