LLMpediaThe first transparent, open encyclopedia generated by LLMs

FictionBook

Generated by DeepSeek V3.2
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: EPUB Hop 4
Expansion Funnel Raw 43 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted43
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
FictionBook
NameFictionBook
Extension.fb2
Mimeapplication/x-fictionbook+xml
Uniform typepublic.xml
DeveloperDmitriy Gribov, Mikhail Matskovsky
Released0 2004
GenreE-book file format
Extended fromXML

FictionBook. FictionBook is an open XML-based e-book format which originated in Russia and is primarily used for the distribution of fiction and literature in Slavic languages. The format, denoted by the .fb2 file extension, structures a book's content and metadata in a single file, separating presentation from content to allow for flexible rendering on different devices. Its design philosophy emphasizes simplicity, portability, and the preservation of a work's logical structure, making it particularly popular within the Russian-speaking world and among digital libraries like Lib.ru.

Format Overview

The core principle of the FictionBook format is the strict separation of a document's logical structure from its visual presentation. An .fb2 file is a well-formed XML document that defines a book's hierarchical components, such as the title, epigraphs, chapters, sections, and poetry. This approach allows reading software to apply custom stylesheets, enabling text to be dynamically reformatted for different screen sizes, fonts, and user preferences. The format includes comprehensive support for inline elements like emphasis, strong emphasis, and superscript, as well as the embedding of binary images within the file. A defining feature is its dedicated metadata section, which can contain detailed information about the book's title, authors, translators, genres, and publication history, facilitating precise cataloging in digital collections.

Technical Specifications

Technically, a valid FictionBook file must conform to the publicly available FictionBook 2.0 or 2.1 Document Type Definition (DTD) or XML Schema. The root element is ``, which contains two main sections: the `` block for metadata and the `` block for the actual content. The metadata schema is extensive, supporting elements for document authorship, publishing information via ``, and detailed classification using a custom genre system. The content body is composed of a sequence of section elements, which can be nested and contain paragraphs, images, and poems. The format supports Unicode, primarily UTF-8 encoding, ensuring broad language compatibility, and includes basic mechanisms for notes, citations, and internal hyperlinks. Binary objects, like cover art or illustrations, are encoded in Base64 and stored directly within the XML.

Software Support

A wide range of software, particularly in Eastern Europe, supports the FictionBook format. Dedicated e-book readers like Cool Reader, FBReader, and AlReader offer robust .fb2 support with features like customizable fonts, hyphenation, and day/night modes. Major multi-format e-book management suites, such as Calibre, provide tools for viewing, converting, and organizing .fb2 libraries. Several online digital libraries and archives, including the extensive Lib.ru (also known as Maksim Moshkow's Library), distribute a significant portion of their content in this format. While native support on mainstream international platforms like Amazon Kindle or Apple Books is limited, users typically rely on conversion tools within Calibre or dedicated reading applications available for Android, iOS, and Windows operating systems.

Comparison to Other E-book Formats

Compared to other prevalent e-book formats, FictionBook occupies a distinct niche. Unlike EPUB, which is a packaged format consisting of multiple XHTML, CSS, and image files within a ZIP archive, .fb2 is a single, monolithic XML file, often making it simpler to create and process programmatically. It lacks the sophisticated layout and scripting capabilities of EPUB or Amazon Kindle Format 8 (KF8), positioning it firmly for reflowable fiction and text-centric works rather than complex textbooks or magazines. Its strength lies in its elegant simplicity and strong metadata structure, which can be superior to basic PDF for reflowable text, though PDF remains the standard for fixed-layout documents. The format's widespread adoption in Russia contrasts with the global dominance of EPUB as the standard of the International Digital Publishing Forum (IDPF).

History and Development

The FictionBook format was created in the early 2000s by a group of Russian developers, with Dmitriy Gribov and Mikhail Matskovsky being key figures. Its development was driven by the need for a simple, open standard to facilitate the exchange of electronic texts within the burgeoning Runet digital library community. The format gained rapid traction on platforms like Lib.ru, which became a central repository for Russian literature and classics. The specification was formalized as FictionBook 2.0, and its open nature encouraged the development of a rich ecosystem of viewers, editors, and conversion tools. While it has seen limited adoption in Western markets, it remains a deeply entrenched and actively used standard across Russia, Ukraine, Belarus, and other parts of the post-Soviet states, with ongoing community development and support for modern features like XML Schema validation.