Readwyn 0.1.0

What is an FB2 file, and will your e-reader open it?

Whether your e-reader opens an FB2 file depends on its reading software. FB2 is FictionBook 2, a format made in Russia that stores a whole book, pictures included, in a single XML file. KOReader, FBReader and PocketBook's readers take it as it is. A Kobo doesn't: its list of supported formats in November 2026 names EPUB, PDF, MOBI, plain text, HTML, RTF and the CBZ and CBR comic archives, and FB2 isn't on it. Nor is FB2 among the file types that Amazon's Send to Kindle page accepts (the Kindle post has that list).

Open one in a text editor and the format explains itself. The first line is an ordinary XML declaration, and then comes a <FictionBook> element with the namespace http://www.gribuser.ru/xml/fictionbook/2.0. That address is how software recognises the file. PRONOM, the format registry of the UK National Archives, identifies FB2 by exactly that pattern in an entry added on 7 September 2026 (release V125, submitted by Preservica).

Where it came from

The site in that namespace is run by Dmitry Gribov, who kept the FictionBook 2.0 specification there and pointed readers to Mike Matsnev's HaaliReader for Windows CE. Gribov's Russian overview says about six developers of book software and around a dozen enthusiasts for well-made books took part. As of 12 January 2004, it adds, the active core would fit on the fingers of two hands, and the standard led among Russians who read on Windows CE pocket computers.

A second page describes the mess it was meant to clear up. Lib.ru, which Gribov calls the main library of the Russian internet, kept its books as plain text at 80 characters a line, and that reads badly on a handheld screen 300 pixels wide. Books made for handhelds had the opposite problem: on a 1600 by 1200 desktop they showed up as a window of 300 by 600.

FB2's answer was to record what each part of a book is and leave the look to the reading program. The FictionBook community page puts accurate structure first and easy conversion to TXT, DOC, RTF or HTML second. It's also frank about the limits: the format suits fiction, and scientific or technical books are still hard to describe in it. There is a <stylesheet> element for CSS, but MobileRead's FB2 article says readers usually apply their own defaults instead.

What the XML holds

The rules are a W3C XML Schema, which Gribov now publishes on GitHub under a BSD licence. A file has three parts.

The <description> holds the catalogue data, in more detail than you might expect. Each <genre> must be a code from a separate genre list of 186 entries, such as adv_maritime or det_espionage, and it can carry a match percentage for a book that only partly fits. A translation can describe the original edition in a block of its own, with the source language. The file also keeps its own history: who made this XML version, with which program, a version number to raise at each re-release, and an id that the schema says must never change. One optional element even marks which parts of the book are free and which are for sale, with a price and a currency.

The <body> holds the text as nested <section> elements. Fiction gets tags of its own: <poem>, <stanza> and <v> for a line of verse, plus <epigraph> and <cite>. Footnotes sit in a second body named notes, and the text links to them.

Pictures come last, in <binary> elements, each with an id and a content-type and written out as base64 text. Base64 turns every 3 bytes into 4 characters (RFC 4648), so an image takes about a third more room than the JPEG it came from. MobileRead notes that an FB2 file isn't compressed at all, which is why books often travel zipped as .fb2.zip.

Which programs open it

Calibre's FAQ has FB2 and the zipped FBZ among the formats it converts from and FB2 among those it writes, so a FictionBook file can become an EPUB for a Kobo or a Kindle. Without converting, FBReader lists fb2 beside EPUB and MOBI, with apps for iOS, Android, Windows, macOS, Linux and ChromeOS, and KOReader names FB2 in its list of supported formats. PocketBook's product pages listed both FB2 and FB2.ZIP for the Verse, the Verse Lite and the Verse Pro when I checked them in November 2026.

In its home market, FB2 now has a successor. MobileRead says LitRes, the Russian ebook seller, used FB2 for years and has mostly used FB3 internally since about 2016. Gribov's FB3 repository describes FictionBook 3 as an open format meant to replace EPUB or sit beside it.