.FB2

FB2 File

FictionBook 2.0 eBook
Ask a question
QUICK ANSWER

An FB2 file is a FictionBook 2.0 e-book - a single, open, DRM-free XML document. Open it with Calibre or FBReader on Windows, Mac, or Linux; FBReader or Cool Reader on Android; FBReader or KyBook on iPhone. To read it on a Kindle, convert it to EPUB using Calibre.

Developer: FictionBook (Dmitry Gribov and the FictionBook community; originated in Russia) Category: eBook Files Open standard MIME: application/x-fictionbook+xml
OPENS ON Windows macOS Linux Android iOS
Related: .EPUB · .ACSM · .AZW3 · .DJVU

On this page

19k+ extensions indexed
Last reviewed Jul 30, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the FB2 file format?

Files with the .fb2 extension (FictionBook 2.0) are eBook files supported by a wide range of reading devices and applications. The format is based on XML and, unlike the EPUB format (which packages data in multiple files inside a single ZIP container), its entire structure consists of a single XML file. The format originated in Russia, where it was developed by Dmitry Gribov and the FictionBook community around 2004, and gained its greatest popularity there - initially in the domain of fantasy literature.

Structure of an FB2 file

Data contained within .fb2 files includes titles and publishing metadata such as author information, the ISBN number, the publishing house, and structural markup for prose or verse - making this format well suited for indexing and cataloguing eBooks. The format is widely used by various indexing tools and library software. In addition to the text, all images are embedded directly in the XML file, converted to Base64 and placed inside <binary> tags at the end of the document.

Due to the Base64 encoding method, the volume of embedded images is almost 40% bigger than the originals. For this reason, .fb2 files are often distributed compressed into .fb2.zip or .fbz archives - standard ZIP packages that most devices and programs support directly. The format is open, DRM-free, and uses the MIME type application/x-fictionbook+xml.

Worth knowing about FB2

Because the binary image data is placed at the end of the XML file, a reading application can begin rendering the text before the file has finished loading. Additionally, by renaming the .fb2 extension to .zip, one can obtain direct access to the text content and metadata of an eBook by unpacking it with any standard archive tool such as 7-Zip.

Security & safety

RISK: LOW

FB2 is a plain-XML, DRM-free text format and is among the safer e-book formats - it carries no scripting of its own, so the file itself is low-risk. The practical risks are the sources: many FB2 books come from free/pirate libraries that wrap downloads in adware or fake 'download' buttons, and (rarely) a malformed FB2 could try to exploit a bug in an outdated reader. Keep your reader app updated and prefer reputable sources. Because FB2 is just XML, you can safely inspect one in a text editor before opening it in a reader.

Format details

in a nutshell
FULL NAMEFictionBook 2.0 eBook
DEVELOPERFictionBook (Dmitry Gribov and the FictionBook community; originated in Russia)since 2004 (FictionBook 2.0); also distributed compressed as .fb2.zip / .fbz
CATEGORYeBook Files
MIME TYPEapplication/x-fictionbook+xml
TYPESingle XML e-book document (UTF-8); images embedded as base64; DRM-free, open format
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304
HEX
3C3F786D6C
ASCII
<?xml
FB2 is a plain XML file, so it starts with the XML prolog (<?xml version="1.0" encoding="utf-8"?>) followed by a <FictionBook ...> root element. There is no binary signature. Compressed variants (.fb2.zip / .fbz) start with the ZIP header "PK" (50 4B 03 04) and contain one .fb2 inside.

Programs that open FB2 files

Windows3 apps
Calibre Open-source Add the .fb2 to the library and double-click to read; also the best tool to convert FB2 to EPUB/MOBI/PDF and edit metadata.
FBReader Freemium Open the .fb2 directly - FBReader is built around FictionBook and is actively maintained (desktop builds and a Microsoft Store app for Windows 10/11).
Cool Reader Open-source Open the .fb2 to read; a lightweight, FB2-focused reader (CoolReader engine).
macOS2 apps
Calibre Open-source Add and read or convert the .fb2.
FBReader Freemium Open the FB2 directly in the macOS desktop build.
Linux3 apps
Calibre Open-source Available in all major repos; add the .fb2 and read or convert.
FBReader Freemium Open the FB2 directly; native FictionBook support.
Okular Open-source Opens FB2 (and .fb2.zip) with the FictionBook backend installed.
Android3 apps
FBReader Freemium Open the .fb2 from storage or the app's library scan - native FB2 reader.
Cool Reader Open-source Open the .fb2 directly; strong FB2 support and customization.
PocketBook Reader Free Open the FB2 from the file picker - reads FB2, EPUB and many others.
iOS2 apps
FBReader Freemium Import the .fb2 (via Files / share sheet) and read - native FictionBook support on iOS.
KyBook 3 Freemium Add the FB2 to the library and read; popular FB2/EPUB reader on iOS.

Technical details

deep spec
Format typeSingle XML document; all text and embedded images stored in one file
Root element<FictionBook> with XML namespace xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
Character encodingUTF-8 (declared in XML prolog: <?xml version="1.0" encoding="utf-8"?>)
MIME typeapplication/x-fictionbook+xml
File signatureStarts with XML declaration <?xml (hex 3C 3F 78 6D 6C); no binary magic bytes - compressed .fb2.zip starts with ZIP header PK (50 4B 03 04)
Image storageJPEG and PNG images embedded as Base64 in <binary> elements placed at end of the XML document
Base64 size overheadEmbedded images are approximately 33-40% larger than the original binary files
Compressed variants.fb2.zip and .fbz - standard ZIP archive containing a single .fb2 file inside; supported natively by most FB2 readers
DRMNone; the format is DRM-free by design
Book metadata elements<title-info> inside <description> holds title, author(s), genre, annotation, ISBN and cover; <publish-info> holds publisher, year and city
Structural markupSupports sections (<section>), poems (<poem>, <stanza>, <v>), epigraphs, citations and footnotes via internal href links
Text formattingBold (<strong>), italic (<emphasis>), strikethrough, superscript, subscript - all expressed as named XML elements
Progressive renderingBinary data placed after the text body; readers can display full text content before embedded images finish loading
Origin and primary marketDeveloped in Russia by Dmitry Gribov and the FictionBook community; dominant format in Russian-language digital book libraries
Typical uncompressed size50-500 KB for text-only books; larger files when illustrations are embedded due to Base64 overhead
Released2004 (FictionBook 2.0); also distributed compressed as .fb2.zip / .fbz
Open standardYes · royalty-free
Specificationwww.fictionbook.org

FB2 conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with FB2 files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about FB2 files.

Frequently asked questions

How do I open an FB2 file?
Use an e-book reader that supports FictionBook: Calibre or FBReader on Windows/Mac/Linux, FBReader/Cool Reader/PocketBook on Android, or FBReader/KyBook on iPhone. FB2 is just XML, so any of these opens it directly; you can also open it in a text editor to inspect it.
How do I read an FB2 book on a Kindle?
Convert it to EPUB in Calibre, then send that to your Kindle via Send to Kindle (app, web uploader, or your @kindle.com address) - Amazon accepts EPUB since 2022. Kindles don't read FB2 directly; for USB sideloading convert to AZW3 instead.
How do I convert FB2 to EPUB or PDF?
Calibre, offline: add the .fb2, click Convert, choose EPUB (for e-readers) or PDF (for printing). It preserves FB2's structure, footnotes and embedded images. Avoid uploading books to random online converters.
What's the difference between FB2 and EPUB?
FB2 is a single self-contained XML file focused on a book's logical structure and is popular in Russian-speaking markets; EPUB is a ZIP container of XHTML/CSS and is the global standard read by almost every device. EPUB is more widely supported; FB2 is simpler and easier to edit by hand.
What is an .fbz or .fb2.zip file?
It's an FB2 book compressed inside a ZIP to save space. Most FB2 readers (Calibre, FBReader, Cool Reader) open it directly; otherwise rename .fbz to .zip and extract the .fb2 inside.
Can I edit an FB2 file?
Yes - because it's plain XML you can open it in a text editor or Calibre's metadata/editor to fix the title, author, or a typo. Keep it valid XML (matching tags) and save as UTF-8 so readers still parse it.

References

1FictionBook - FB2 format description (official wiki)www.fictionbook.org
2Calibre - e-book manager and convertercalibre-ebook.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.EXEWindows Executable (Portable Executable)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.MDMarkdown Document
9.TXTPlain Text File
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.EPUBElectronic Publication
.ACSMAdobe Content Server Message
.AZW3Kindle Format 8 (KF8) e-book
.DJVUDjVu Document
.MOBIMobipocket eBook
.OPFOpen Packaging Format (EPUB package document)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z