UtilitySansar
Text

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;
}
Raw HTML in your input is escaped — only known BBCode tags become real HTML.

ツールの紹介

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?+
Yes. Raw HTML in the input is escaped, and only a known allow-list of tags is converted to real HTML.
Which tags are supported?+
b, i, u, s, url, img, color, size, quote, code, list, *, h1–h6, center, and br. Unknown tags are left as plain text.
Does it handle nested tags?+
Yes. Inline tags can be nested inside one another and inside block tags like [quote] and [list].

他のツールを見る

下記の Text カテゴリで関連ユーティリティを探す。

Text をすべて見る

関連ツール

役に立ちそうな厳選ユーティリティ