BBCode to HTML
Convert classic forum BBCode like [b], [url], [img], [quote], and [code] into clean, safe HTML. Handles nested tags and lists.
工具摘要
此工具接收结构化输入,在浏览器中返回确定性输出,无需上传到服务器。
- 工具名称
- BBCode to HTML
- 输入意图
- 提供需要转换、校验或分析的原始内容。
- 输出意图
- 获得可直接复制、复用或排错的规范化输出。
- 示例输入
- [b]Hello[/b], visit [url=https://example.com]Example[/url]!
- 示例输出
- <strong>Hello</strong>, visit <a href="https://example.com">Example</a>!
Preview
Rendered HTML, sanitized.Welcome
This text is bold, italic, and underlined.
AliceForums never die — they just become BBCode tutorials.
A bullet list:
- First item
- Second item with a link
- Third item
function hi(name) {
return "Hello, " + name;
}
工具介绍
Convert classic forum BBCode like [b], [url], [img], [quote], and [code] into clean, safe HTML. Handles nested tags and lists.
工具概览
BBCode is the markup language used by phpBB, vBulletin, and similar forum software. This tool maps the most common BBCode tags to their HTML equivalents — bold, italic, underline, links, images, lists, code blocks, and quotes — while escaping any raw HTML in the input so the output is safe to render. Color and size tags are converted to inline styles. Unsupported or malformed tags are left as plain text instead of producing broken HTML.
使用场景
- Migrate forum posts from phpBB or vBulletin to a modern HTML CMS.
- Render BBCode pasted into a chat or feedback widget.
- Pre-process legacy BBCode archives for indexing.
输入/输出示例
[b]Hello[/b], visit [url=https://example.com]Example[/url]!
<strong>Hello</strong>, visit <a href="https://example.com">Example</a>!
常见问题
Is the output safe to drop into a page?+
Which tags are supported?+
Does it handle nested tags?+
探索更多工具
在下方的 Text 分类中发现相关工具。
相关工具
精选可能对你有用的实用工具