FictionBook

FictionBook is an open XML-based e-book format which originated and gained popularity in Russia. FictionBook files have the .fb2 or .fb3 filename extension, regarding to their version. All FB2/FB3 capable readers also support ZIP-compressed FictionBook files (.fb2.zip or .fbz). FictionBook2 and FictionBook3 differ in two respects: FB2 consists of a single XML file, with pictures being embedded as base64-encoded "binary" blocks, thus removing the need for additional files. FB3 has a directory structure similar to that of the ePub format and incorporates the layout and embedding of multimedia content.

The FictionBook2 format describes the eBook's structure, rather than defining its layout. For example, there are special tags for epigraphs, verses and quotations. All eBook metadata, such as author name, title, and publisher are also present in the eBook file. This makes the format convenient for automatic processing, indexing, ebook collection management and allows for easy automated conversion into other formats. FB3 adds layout capabilities and removes the need to embed pictures as Base64 encoded blocks, but for the most part stays true to the concept established with FB2.

Software and hardware support
FB2 is supported by e-book readers, such as FBReader, AlReader, Haali Reader, STDU Viewer, CoolReader, Fly Reader, Okular, Ectaco jetBooks, HedgehogReader, Documents for iOS, and some others. Firefox can read FictionBook2 by installing the FB2 Reader extension. Many hardware vendors support FictionBook2 in their firmware: BeBook One, BeBook Mini and BeBook Club in Europe (and other Hanlin V3 and V5 based devices), all PocketBook Readers, COOL-ER devices, Cybook Opus and Cybook Gen3, and ASUS Eee Reader DR900. Devices based on the Hanvon N516 design can read FictionBook if a custom OpenInkpot firmware is installed; it is factory default for Azbooka 516. Amazon's Kindle, Barnes & Noble's Nook, and Sony devices do not support FictionBook directly.

Conversion to and from FictionBook2 files (.fb2 and .fbz) is possible via the cross-platform eBook management software Calibre. Conversion to and from FictionBook2 format is also available via Pandoc. With FictionBook3, the situation is a bit more complicated; not even the Calibre suite or FBReader support FB3 yet, since the FB3 standard is virtually nonexistent outside of Russia as of November 2023.