Skip to content
rupor-githubPublic

About

Unified converter of FB2 files to EPUB2/3, KEPUB, AZW3, AZW8/KFX, PDF, TXT/MD formats. (Next generation of fb2convert, fb2mobi)

Topics

Resources

Contributing

Stars

95 stars

Watchers

1 watching

Forks

Repository files navigation

fb2cng

Converter of FB2 files to EPUB2/3, KEPUB/KEPUB3, AZW3, AZW8/KFX, PDF, TXT/MD

A complete rewrite of fb2converter

GitHub Release

Format highlights

Format Essential features
EPUB2 Broad e-reader compatibility, XHTML/CSS styling, NCX navigation, linked footnote sections, SVG preservation, optional visible TOC page
EPUB3 Modern EPUB navigation, semantic popup-note markup in floating modes, XHTML/CSS styling, SVG preservation
KEPUB/KEPUB3 Kobo-oriented EPUB2 or EPUB3 packaging, XHTML/CSS styling with Kobo sentence markup, SVG preservation, WebP-to-PNG image conversion
KFX/AZW8 Direct Kindle Enhanced Typesetting output without Calibre or Amazon software, optional lossless LZMA compression, CSS-derived styling, floating/popup footnotes, generated location/page navigation, Kindle-compatible image conversion
AZW3 Direct standalone KF8 without KindleGen, configurable compression, HTML/CSS styling, linked or plain-text floating notes, embedded fonts, retained non-cover SVG, and optional APNX page maps
PDF Native PDF 1.4 generation, fixed target page size, selectable/searchable text, embedded fonts, outlines/bookmarks, internal links, tables, images, drop caps, printed page footnotes
TXT UTF-8 readable plain text, plain headings, aligned text tables, image placeholders, readable note labels, collected final notes for floating footnotes
Markdown Semantic UTF-8 Markdown, YAML front matter, headings, links, anchors, pipe tables, fenced code blocks, collected endnotes with optional backlinks, placeholder/external/embedded image modes

EPUB2/3 and KEPUB/KEPUB3 output is intended to pass the latest epubcheck without errors or warnings.

Kindle KFX/AZW8 output aims to follow Amazon's Kindle Publishing Guidelines as closely as possible.

Reader support varies, especially for popup notes, fonts, and SVG artwork. See the feature matrices for cross-format details and defaults.

Documentation

User guide

Image handling

Debugging and validation

Russian discussion forum

Installation

Download from the releases page and unpack it in a convenient location. See the quick start for conversion commands.

Contributing

Please read the contribution guidelines before opening an issue or pull request.

About

Unified converter of FB2 files to EPUB2/3, KEPUB, AZW3, AZW8/KFX, PDF, TXT/MD formats. (Next generation of fb2convert, fb2mobi)

Topics

Resources

Contributing

Stars

95 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages