This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
FictionBook is an open XML-based e-book format which originated and gained popularity in Russia. FictionBook files have the .fb2 filename extension. Some readers also support ZIP-compressed FictionBook files (.fb2.zip or .fbz)
fb2, fb2.zip, fbz
|Internet media type||text/xml|
|Developed by||Dmitry Gribov|
(16 January 2008)
|Type of format||e-book file format|
The FictionBook format does not specify the appearance of a document; instead, it describes its structure. 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, and ebook collection management, and allows automatic conversion into other formats.
Features of FictionBookEdit
- Free and open format with multiple hardware and software implementations
- Supports reflow by design
- Simple semantic markup
- Optimized for narrative literature
- Embeds metadata, proposes its own scheme for genre description
- Supports Unicode
- Documents may contain:
- Structured text organized in nested sections (optionally titled)
- Subtitles (which do not appear in the table of contents)
- References and footnotes
- Tables (but not all readers support them)
- Raster images (PNG or JPEG)
- Inline formatting:
- Strong (usually bold)
- Emphasized (usually slanted or italic)
- Source code (usually in monospace font)
Differences from other ebook formatsEdit
In contrast to other eBook formats (e.g. ePub), a FictionBook document consists of a single XML file. Images are converted to Base64 and reside inside the <binary> tag, so the size of the embedded images is increased by approximately 37%. FictionBook files are often distributed inside Zip archives, and most of hardware and software readers can work with compressed FictionBook files (*.fb2.zip) directly. The metadata and the plain text data are always placed in the beginning of the FictionBook file, while more heavyweight binary images are placed in the end. This allows software to start rendering or processing FictionBook before the file is available entirely.
FictionBook is the format of choice of some community-driven online electronic libraries. It does not allow for digital rights management of any kind.
Software and hardware supportEdit
The format is supported by e-book readers such as FBReader, AlReader, Haali Reader, STDU Viewer, CoolReader, Fly Reader, Okular, Ectaco jetBooks, Documents for iOS, and some others. Firefox can read FictionBook by installing an extension: FB2 Reader. Many hardware vendors support FictionBook 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 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.