FB2 to EPUB / TXT / HTML
Convert FictionBook2 (.fb2) e-books into packaged EPUB, TXT, or HTML — 100% private client-side processing.
Active Converter
FB2 to EPUB / TXT / HTML: Converting FictionBook XML Archives for Kindle & Apple Books
Technical Anatomy of FictionBook (.FB2) XML
Created in 2004 and beloved across Eastern Europe and open digital libraries, FictionBook 2 (.fb2) encapsulates an entire book—metadata, epigraphs, chapters, footnotes, and Base64-encoded cover art—inside a single semantic XML file rooted at <FictionBook>. Bibliographic metadata lives inside <description><title-info>, prose is structured semantically under <body><section><title> and <p> paragraphs, and images sit at the bottom inside <binary id="cover.jpg"> blocks.
Converting .fb2 to EPUB uses DOMParser and JSZip to map every <section> into valid XHTML chapters packaged with mimetype, container.xml, and content.opf—making it instantly readable on Apple Books, Kobo, and Amazon Send-to-Kindle.
Raw .FB2 XML Input vs. Clean HTML / EPUB Structure
<!-- Input: FictionBook XML (novel.fb2) -->
<FictionBook>
<body>
<section>
<title><p>Prologue</p></title>
<p>Snow settled quietly over the station platform.</p>
</section>
</body>
</FictionBook>
# Converted HTML / EPUB Chapter Output:
<h2>Prologue</h2>
<p>Snow settled quietly over the station platform.</p>
Real-World Software & Hardware Ecosystem
Readers convert .fb2 libraries downloaded for CoolReader, FBReader, PocketBook, and KOReader into .epub, .html, or .txt for Amazon Kindle, Apple Books, Kobo, Calibre, and browser reading modes.
Troubleshooting & Edge Cases
- Windows-1251 Encoding Header: Older Russian
.fb2files declareencoding="windows-1251"instead of UTF-8; if Cyrillic characters appear garbled, re-save the source XML as UTF-8 in Notepad++ or VS Code first. - Huge Base64
<binary>Blocks: Illustrated.fb2files embed megabytes of Base64 strings at the end of the XML; our text/HTML extractor skips raw Base64 blobs so your output stays clean and fast. - Nested Sub-Sections: FictionBook nests Parts, Chapters, and Subchapters recursively inside
<section>elements; exporting to HTML preserves clean visual hierarchy.
E-Reader Format Compatibility Matrix (.FB2 vs. .EPUB)
| Device / App | Native .FB2 Support | Native .EPUB Support |
|---|---|---|
| Amazon Kindle (Send-to-Kindle) | No | Yes (official primary format) |
| Apple Books (iOS / macOS) | No | Yes |
| PocketBook / KOReader | Yes | Yes |
Preparing Converted .EPUB Books for Amazon Send-to-Kindle
Once your .fb2 novel is converted to .epub, email it to your @kindle.com address or drag it onto amazon.com/sendtokindle—Amazon's cloud pipeline automatically formats the clean XHTML chapters for Paperwhite, Scribe, and Kindle mobile apps.
Frequently Asked Questions
FictionBook 2 (.fb2) is a single-file Russian/Eastern European open XML e-book standard storing book metadata in , and cover images as Base64
PocketBook and Onyx Boox e-readers open .fb2 natively, but Apple Books, Kobo, and Amazon's Send-to-Kindle service require .EPUB. Converting .fb2 to .epub repacks the XML sections into a compliant EPUB container with valid mimetype and OPF spine.
Yes. UTF-8 encoded .fb2 XML files parse cleanly via DOMParser, preserving Cyrillic, Latin, and Arabic typography across EPUB, HTML, and TXT exports.
Many libraries distribute compressed .fb2.zip archives to save bandwidth. Extract the inner .fb2 XML file first before uploading it to the converter.