Convert BBCode to FB2
Max file size 100mb.
BBCode vs FB2 Format Comparison
| Aspect | BBCode (Source Format) | FB2 (Target Format) |
|---|---|---|
| Format Overview |
BBCode
Bulletin Board Code
Lightweight markup language created for online forums and bulletin boards. Uses intuitive square bracket tags such as [b], [i], [url], and [quote] for text formatting. Designed as a secure HTML alternative for user-generated content across platforms like phpBB, vBulletin, and XenForo. Forum Markup User-Friendly |
FB2
FictionBook 2.0
XML-based eBook format developed in Russia for fiction and non-fiction digital books. Stores content in a structured, semantic XML schema with embedded metadata, images, and styling information. Extremely popular in Russian-speaking countries and supported by numerous eBook readers and libraries. XML eBook Structured Content |
| Technical Specifications |
Structure: Square bracket tag pairs
Encoding: Plain text (UTF-8) Format: Inline markup language Compression: None Extensions: .bbcode, .txt |
Structure: Single XML file with defined schema
Encoding: UTF-8 (standard) Format: XML-based document format Compression: Optional ZIP (.fb2.zip) Extensions: .fb2, .fb2.zip |
| Syntax Examples |
BBCode uses square bracket tags: [b]Forum Post Title[/b] [i]By AuthorName[/i] [quote="reviewer"] This book is incredible! A must-read for everyone. [/quote] [list] [*]Great characters [*]Engaging plot [*]Beautiful prose [/list] |
FB2 uses semantic XML structure: <FictionBook>
<body>
<title>
<p>Forum Post Title</p>
</title>
<section>
<p><emphasis>By AuthorName</emphasis></p>
<cite>
<p>This book is incredible!</p>
<text-author>reviewer</text-author>
</cite>
</section>
</body>
</FictionBook>
|
| Content Support |
|
|
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
Introduced: 1998 (Ultimate Bulletin Board)
Current Version: No formal versioning Status: Widely used, community-driven Evolution: Extended per-platform basis |
Introduced: 2004 (FictionBook 2.0)
Current Version: FB2 2.1 Status: Stable, maintained by community Evolution: FB3 in development (limited adoption) |
| Software Support |
phpBB: Full native support
vBulletin: Full native support XenForo: Full native support Other: SMF, MyBB, Discourse (partial) |
FBReader: Full native support
CoolReader: Full native support Calibre: Read/write support Other: Moon+ Reader, AlReader, PocketBook |
Why Convert BBCode to FB2?
Converting BBCode to FB2 enables you to turn forum discussions, serialized fiction, community guides, and bulletin board content into structured FictionBook documents. The FB2 format is particularly popular in Russian-speaking countries and across the CIS region, where it serves as the primary eBook format for millions of readers. If your audience includes readers who use FBReader, CoolReader, or PocketBook devices, FB2 is the optimal format choice.
FB2 (FictionBook 2.0) is an XML-based format that stores book content in a semantic, well-structured schema. Unlike EPUB which packages multiple files in a ZIP container, FB2 keeps everything in a single XML file—text, metadata, and even images (encoded as Base64). This self-contained nature makes FB2 files easy to manage, transfer, and catalog in digital library systems like OPDS catalogs and Flibusta-style archives.
The conversion from BBCode to FB2 maps forum markup directly to FictionBook elements: [b] and [i] become <strong> and <emphasis>, [quote="username"] transforms into <cite> with <text-author>, and [list] items become proper paragraph sequences within sections. BBCode's relatively flat structure is enhanced with FB2's hierarchical section model, creating proper chapters and sub-sections for navigable reading.
FB2 excels at storing text-heavy content like novels, short stories, and long-form guides that originate in forums. Its rich metadata support allows you to preserve author information, genre classification, publication details, and annotation summaries. Many online literature platforms and fan fiction communities use FB2 as their preferred distribution format, making this conversion particularly valuable for authors who first publish their work on forums.
Key Benefits of Converting BBCode to FB2:
- Single-File Format: All content, images, and metadata in one portable XML file
- Rich Metadata: Author, genre, annotation, series, and publication information
- Structured Content: Semantic sections, chapters, and navigation hierarchy
- Wide Reader Support: FBReader, CoolReader, PocketBook, Moon+ Reader
- Digital Library Compatible: Works with OPDS catalogs and eBook management systems
- Citation Preservation: Forum quotes become properly attributed citations
- Compact Distribution: Efficient storage with optional ZIP compression (.fb2.zip)
Practical Examples
Example 1: Forum Fiction to FB2 eBook
Input BBCode file (novel.bbcode):
[b][size=20]Shadows of Tomorrow[/size][/b] [i]by NightWriter[/i] [b]Chapter 1: The Awakening[/b] The city never truly slept. Neon signs flickered in the rain, casting colorful reflections on the wet pavement. [quote] "Everyone has a story," the old man said, his eyes fixed on something far away. "The question is whether you're brave enough to tell yours." [/quote] She nodded slowly, understanding at last what she had to do.
Output FB2 file (novel.fb2):
FictionBook XML containing: - <description> with title and author metadata - <body> with structured <section> elements - Chapters as navigable sections - <cite> blocks for quoted dialogue - <emphasis> for italic text - Ready for FBReader and CoolReader - Compatible with digital library catalogs
Example 2: Game Guide to Reference Book
Input BBCode file (guide.bbcode):
[b]Ultimate Strategy Guide v3.0[/b] [b]Section 1: Character Builds[/b] [b]Warrior Class[/b] [list] [*]Strength: 18 minimum [*]Constitution: 16 recommended [*]Best weapons: Two-handed swords [/list] [b]Mage Class[/b] [list] [*]Intelligence: 20 minimum [*]Wisdom: 14 recommended [*]Best spells: Fireball, Ice Storm [/list] [quote="veteran_player"] Always max out your primary stat before investing in secondary ones. [/quote]
Output FB2 file (guide.fb2):
Structured FB2 reference book: - Hierarchical sections for each class - Lists converted to formatted paragraphs - Expert quotes preserved as citations - Book-level metadata and annotations - Navigable table of contents - Portable single-file format - Optimized for e-ink readers
Example 3: Forum Review Compilation
Input BBCode file (reviews.bbcode):
[b]Best Books of 2025 - Community Reviews[/b] [b]1. "The Silent Archive"[/b] [i]Rating: 9/10[/i] [quote="BookLover42"] Absolutely stunning. The author weaves a tale that keeps you guessing until the very last page. [/quote] [quote="CriticalReader"] Well-crafted but the ending felt rushed. Still worth reading for the prose alone. [/quote] [url=https://example.com/book]More info[/url]
Output FB2 file (reviews.fb2):
FB2 review compilation: - Each book as a separate section - Reviewer quotes with attribution - Ratings preserved in formatted text - Links converted to annotations - Genre metadata: "Reviews/Literary" - Ready for eBook library systems - Single portable XML file
Frequently Asked Questions (FAQ)
Q: What is the FB2 format?
A: FB2 (FictionBook 2.0) is an XML-based eBook format developed in Russia. It stores all book content—text, images, and metadata—in a single structured XML file. FB2 is particularly popular in Russian-speaking countries and is supported by numerous eBook readers including FBReader, CoolReader, and PocketBook devices. Its semantic structure makes it ideal for fiction and non-fiction books.
Q: Where is FB2 format commonly used?
A: FB2 is the dominant eBook format in Russia, Ukraine, Belarus, and other CIS countries. Major Russian digital libraries and online bookstores distribute books in FB2. It's also used in some international eBook communities, particularly for fan fiction and self-published literature. Western readers may encounter FB2 through services like LitRes or community-driven libraries.
Q: Will my BBCode quotes be preserved in FB2?
A: Yes! BBCode [quote] tags are converted to FB2 <cite> elements, which are the semantic equivalent in the FictionBook schema. When BBCode includes a username attribution like [quote="username"], the converter creates a <text-author> element within the citation to preserve the original poster's identity. This is especially useful for review compilations and discussion archives.
Q: How do images work in FB2?
A: FB2 embeds images directly in the XML file using Base64 encoding in <binary> elements. When converting from BBCode, [img] tag references are processed and the images are encoded into the FB2 file. This makes FB2 completely self-contained—no external files needed. However, Base64 encoding increases the file size by approximately 33% compared to the original images.
Q: Can I read FB2 files on non-Russian devices?
A: Absolutely! While FB2 is most popular in CIS countries, many international eBook readers support it. FBReader is available on Android, iOS, Windows, macOS, and Linux. Calibre (cross-platform) can read and convert FB2 files. Moon+ Reader, AlReader, and many other apps also support FB2. You can also convert FB2 to EPUB or MOBI for broader compatibility.
Q: What metadata can FB2 store?
A: FB2 has extensive metadata capabilities through its <description> section. It stores title, author(s), genre, annotation (summary), keywords, date, language, series information (name and number), and publisher details. When converting from BBCode, the converter extracts available information to populate these metadata fields, creating a well-cataloged eBook.
Q: Is FB2 better than EPUB?
A: Each format has strengths. FB2 excels at self-contained simplicity (single file), rich metadata, and is the standard in CIS countries. EPUB offers more layout control, multimedia support, and broader international adoption. For text-heavy books (novels, stories), FB2 is excellent. For complex layouts or multimedia content, EPUB is better. Choose based on your target audience and distribution platform.
Q: Can I compress FB2 files?
A: Yes! FB2 files are commonly distributed as .fb2.zip files, which significantly reduces file size—especially for books with embedded Base64 images. Most FB2-compatible readers can open both plain .fb2 and compressed .fb2.zip files directly. The ZIP compression typically reduces file size by 60-80% for text-heavy content, making distribution and storage much more efficient.