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 보기

관련 도구

유용할 수 있는 엄선된 유틸리티