https://github.com/rupor-github/fb2cng
Unified converter of FB2 files to EPUB2/3, KEPUB, AZW8/KFX, PDF, TXT/MD formats. (Next generation of fb2convert, fb2mobi)
https://github.com/rupor-github/fb2cng
azw azw8 converter ebooks eink-devices epub epub3 fb2 kepub kfx kindle kobo markdown md pdf text txt
Last synced: 16 days ago
JSON representation
Unified converter of FB2 files to EPUB2/3, KEPUB, AZW8/KFX, PDF, TXT/MD formats. (Next generation of fb2convert, fb2mobi)
- Host: GitHub
- URL: https://github.com/rupor-github/fb2cng
- Owner: rupor-github
- License: gpl-3.0
- Created: 2025-10-22T16:02:13.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2026-06-10T22:29:42.000Z (18 days ago)
- Last Synced: 2026-06-11T00:13:48.333Z (18 days ago)
- Topics: azw, azw8, converter, ebooks, eink-devices, epub, epub3, fb2, kepub, kfx, kindle, kobo, markdown, md, pdf, text, txt
- Language: Go
- Homepage:
- Size: 80 MB
- Stars: 45
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FB2 converter to EPUB2/3, KEPUB, AZW8/KFX, PDF, TXT/MD
### A complete rewrite of [fb2converter](https://github.com/rupor-github/fb2converter)
[](https://github.com/rupor-github/fb2cng/releases)
* Produces EPUB2/3 and KEPUB files which pass latest [epubcheck](https://www.w3.org/publishing/epubcheck/) with no error/warnings
* Generates KFX/AZW8 files directly without any Amazon's software (much faster than using Kindle Previewer 3 with Calibre plugins)
* Generates PDF 1.4 for maximum compatibility with devices. No Arabic/Indic, CJK, or bidi support for now
* Generates readable TXT and semantic Markdown with headings, links, tables, endnotes, and configurable Markdown image handling
> **Note:** Direct KFX and PDF generation are relatively new features, so various hiccups may still occur. If you encounter any issues, please [create an issue](https://github.com/rupor-github/fb2cng/issues) on GitHub for investigation. The generator aims to preserve maximum compatibility with Kindle Previewer 3 behavior, while also intentionally supporting capabilities that Amazon's processing pipeline does not expose. Examples include predictable handling of negative margins, richer drop-cap rendering, and condensed text controlled through `html`/`body` line-height processing. Good luck trying to produce something like [this](docs/page.jpg) via "Send To Kindle".
### Documentation
[User guide](docs/guide.md)
[Russian discussion forum](https://4pda.to/forum/index.php?showtopic=942250#)
### Installation:
Download from the [releases page](https://github.com/rupor-github/fb2cng/releases) and unpack it in a convenient location.