Convert EPUB to FB2

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

EPUB vs FB2 Format Comparison

Aspect EPUB (Source Format) FB2 (Target Format)
Format Overview
EPUB
Electronic Publication

Open e-book standard developed by IDPF (now W3C) for digital publications. Based on XHTML, CSS, and XML packaged in a ZIP container. Supports reflowable content, fixed layouts, multimedia, and accessibility features. The dominant open format for e-books worldwide.

E-book Standard Reflowable
FB2
FictionBook 2.0

Open XML-based e-book format developed in Russia in the early 2000s. Designed specifically for fiction with emphasis on structure and metadata. Stores content as XML with Base64-encoded images. Popular in Russia and Eastern Europe. Focuses on content structure rather than presentation.

Fiction Format XML-based
Technical Specifications
Structure: ZIP archive with XHTML/XML
Encoding: UTF-8 (Unicode)
Format: OEBPS container with manifest
Compression: ZIP compression
Extensions: .epub
Structure: Single XML file
Encoding: UTF-8 (Unicode)
Format: XML with embedded images (Base64)
Compression: None (often zipped as .fb2.zip)
Extensions: .fb2, .fb2.zip
Syntax Examples

EPUB contains XHTML content:

<?xml version="1.0"?>
<html xmlns="...">
<head><title>Chapter 1</title></head>
<body>
  <h1>Introduction</h1>
  <p>Content here...</p>
</body>
</html>

FB2 uses specialized XML:

<?xml version="1.0"?>
<FictionBook xmlns="...">
  <description>...</description>
  <body>
    <section>
      <title><p>Introduction</p></title>
      <p>Content here...</p>
    </section>
  </body>
</FictionBook>
Content Support
  • Rich text formatting and styles
  • Embedded images (JPEG, PNG, SVG, GIF)
  • CSS styling for layout
  • Table of contents (NCX/Nav)
  • Metadata (title, author, ISBN)
  • Audio and video (EPUB3)
  • JavaScript interactivity (EPUB3)
  • MathML formulas
  • Accessibility features (ARIA)
  • Basic text formatting (bold, italic, strikethrough)
  • Sections and titles
  • Poems with stanza structure
  • Epigraphs and citations
  • Footnotes and comments
  • Embedded images (Base64-encoded JPEG/PNG)
  • Rich metadata (multiple authors, translators)
  • Genre classification
  • Document history and versioning
Advantages
  • Industry standard for e-books
  • Reflowable content adapts to screens
  • Rich multimedia support (EPUB3)
  • DRM support for publishers
  • Works on all major e-readers
  • Accessibility compliant
  • Single XML file (simple structure)
  • Excellent for fiction books
  • Rich metadata support
  • Popular in Russian e-book market
  • Easy to edit and validate
  • Small file size for text-heavy books
  • Human-readable XML
Disadvantages
  • Complex XML structure
  • Not human-readable directly
  • Requires special software to edit
  • Binary format (ZIP archive)
  • Not suitable for version control
  • Limited formatting capabilities
  • No native table support
  • Base64 images increase file size
  • Limited international adoption
  • Not suitable for complex layouts
  • Less device support than EPUB
Common Uses
  • Digital book distribution
  • E-reader devices (Kobo, Nook)
  • Apple Books publishing
  • Library digital lending
  • Self-publishing platforms
  • Russian e-book libraries
  • Fiction novels and literature
  • PocketBook e-readers
  • Eastern European e-book market
  • Free e-book collections
  • Literary archives
Best For
  • E-book distribution
  • Digital publishing
  • Reading on devices
  • Commercial book sales
  • Fiction books and novels
  • Russian language content
  • Simple text-based books
  • Literary works and poetry
Version History
Introduced: 2007 (IDPF)
Current Version: EPUB 3.3 (2023)
Status: Active W3C standard
Evolution: EPUB 2 → EPUB 3 → 3.3
Introduced: 2004 (Dmitry Gribov)
Current Version: FictionBook 2.2 (2008)
Status: Stable, maintenance mode
Evolution: FB2 2.0 → 2.1 → 2.2 (FB3 in development)
Software Support
Readers: Calibre, Apple Books, Kobo, Adobe DE
Editors: Sigil, Calibre, Vellum
Converters: Calibre, Pandoc
Other: All major e-readers
Readers: FBReader, CoolReader, Calibre
Editors: FB Editor, Fiction Book Designer
Converters: Calibre, fb2any, Pandoc
Other: PocketBook, Android readers

Why Convert EPUB to FB2?

Converting EPUB e-books to FB2 (FictionBook) format is essential for readers and publishers targeting the Russian and Eastern European e-book markets. FB2 is the dominant e-book format in Russia and CIS countries, with extensive support in popular e-readers like PocketBook and reading software like FBReader and CoolReader. By converting to FB2, you make your content accessible to this large reader base.

FictionBook was specifically designed for fiction and literary works, with a focus on semantic structure and rich metadata. Unlike EPUB's presentation-oriented approach with CSS styling, FB2 emphasizes content structure - sections, poems, epigraphs, and citations are described by their semantic meaning. This makes FB2 particularly well-suited for novels, short stories, poetry, and literary collections where content structure matters more than visual design.

One of FB2's key advantages is its simplicity: a single XML file containing all content and metadata, with images Base64-encoded directly in the XML. This single-file design makes FB2 books easy to manage, validate, edit, and archive. While this increases file size slightly compared to EPUB's ZIP compression, it simplifies the format significantly and makes it human-readable in any text editor.

The conversion process transforms EPUB's XHTML structure into FB2's XML schema. Chapters become sections, paragraphs and formatting are preserved, and metadata (title, author, language) is mapped to FB2's rich description structure. While some complex EPUB layouts may not translate perfectly, the text content and basic structure are fully preserved, making FB2 ideal for text-focused fiction books.

Key Benefits of Converting EPUB to FB2:

  • Russian Market Access: Dominant format in Russia and Eastern Europe
  • Fiction-Optimized: Designed specifically for novels and literature
  • Simple Structure: Single XML file, easy to edit and validate
  • Rich Metadata: Comprehensive author, translator, and genre information
  • PocketBook Support: Native format for popular e-reader brand
  • Human-Readable: Plain XML viewable in any text editor
  • Version Control Friendly: Single XML file works well with Git

Practical Examples

Example 1: Fiction Novel Chapter

Input EPUB content (chapter2.xhtml):

<h1>Chapter 2: The Journey Begins</h1>
<p>The morning was cold and grey. Elena packed her belongings
with trembling hands, knowing she would never return.</p>
<p><em>"Are you certain about this?"</em> her mother asked softly.</p>

Output FB2 XML structure:

<section>
  <title><p>Chapter 2: The Journey Begins</p></title>
  <p>The morning was cold and grey. Elena packed her belongings
  with trembling hands, knowing she would never return.</p>
  <p><emphasis>"Are you certain about this?"</emphasis> her mother
  asked softly.</p>
</section>

Example 2: Poetry with Stanzas

Input EPUB with poem:

<div class="poem">
  <p>In winter's grip, the world stands still,</p>
  <p>White silence covers vale and hill.</p>
  <br>
  <p>But spring will come with gentle rain,</p>
  <p>To wake the earth from sleep again.</p>
</div>

Output FB2 with poem structure:

<poem>
  <stanza>
    <v>In winter's grip, the world stands still,</v>
    <v>White silence covers vale and hill.</v>
  </stanza>
  <stanza>
    <v>But spring will come with gentle rain,</v>
    <v>To wake the earth from sleep again.</v>
  </stanza>
</poem>

Example 3: Book with Epigraph

Input EPUB with epigraph:

<div class="epigraph">
  <p><em>"Not all those who wander are lost."</em></p>
  <p class="attribution">— J.R.R. Tolkien</p>
</div>
<h1>Part One</h1>

Output FB2 with epigraph element:

<epigraph>
  <p>"Not all those who wander are lost."</p>
  <text-author>J.R.R. Tolkien</text-author>
</epigraph>
<section>
  <title><p>Part One</p></title>
  ...
</section>

Frequently Asked Questions (FAQ)

Q: What is FB2 (FictionBook)?

A: FictionBook (FB2) is an XML-based e-book format developed in Russia in the early 2000s. It's designed specifically for fiction and literary works, emphasizing semantic structure over presentation. FB2 files are single XML documents with Base64-encoded images. It's the most popular e-book format in Russia and is widely supported by Russian e-readers and software.

Q: Why is FB2 popular in Russia?

A: FB2 was developed in Russia before EPUB gained worldwide adoption. It became the standard in Russian e-book libraries and reading communities. Major Russian e-book stores, online libraries (like Lib.ru, Flibusta), and popular e-readers (PocketBook) adopted FB2. Its simple XML structure and excellent support for Cyrillic text made it ideal for the Russian market.

Q: What devices support FB2 files?

A: PocketBook e-readers (native support), most Android e-reading apps (FBReader, CoolReader, Moon+ Reader), iOS apps (FBReader, KyBook), desktop software (Calibre, FBReader), and many generic e-readers sold in Eastern Europe. While less universal than EPUB, FB2 has strong support in its target markets.

Q: Can I convert FB2 back to EPUB?

A: Yes! Calibre, Pandoc, and online converters can convert FB2 to EPUB. This enables a round-trip workflow for targeting different markets: edit in one format, convert to the other for distribution. The semantic structure of FB2 maps well to EPUB's structure, so conversion preserves content effectively.

Q: What's the difference between .fb2 and .fb2.zip?

A: .fb2 is a plain XML file, while .fb2.zip is the same file compressed with ZIP to reduce size. Most FB2 readers support both formats automatically. Because FB2 embeds images as Base64 (which increases size), compression is often used for distribution. The content is identical; .fb2.zip is just smaller for storage and download.

Q: Is FB2 suitable for non-fiction and technical books?

A: FB2 is primarily designed for fiction. While it can handle non-fiction, it lacks features common in technical documentation like tables, code syntax highlighting, and complex layouts. For technical books, EPUB or other formats are better choices. FB2 excels at novels, short stories, poetry, and literary works where simple structure suffices.

Q: How do I edit FB2 files?

A: Specialized editors include Fiction Book Designer and FB Editor. However, since FB2 is plain XML, you can edit it in any text editor (with XML syntax highlighting recommended). For metadata and structure changes, XML knowledge is helpful. Calibre also has a built-in e-book editor that supports FB2 format.

Q: What is FB3 and should I use it?

A: FB3 is the planned successor to FB2, designed to address its limitations while maintaining simplicity. However, as of 2024, FB3 has limited adoption and tool support. FB2 (version 2.2) remains the standard and is widely supported. For new projects targeting the Russian market, FB2 is still the recommended format until FB3 gains broader adoption.