<-
Apache > HTTP Server > Documentation > Version 2.2 > Platform Specific Notes

Calibre Repack - Kfx Input Plugin For

The KFX input plugin's functionality within calibre provides users with a versatile tool for managing and converting their e-book libraries. By following the steps above, you should be able to effectively use the plugin for repacking or converting KFX files.

The KFX Input plugin is a vital tool for Calibre users who need to import, manage, and "repack" (convert) books purchased from Amazon in the modern KFX format. Amazon's KFX format is complex because it is often delivered as multiple fragmented files (KFX-ZIP) rather than a single file, which standard Calibre cannot interpret without this plugin. Core Functionality

Format Translation: It allows Calibre to recognize and combine various KFX variants—including Monolithic KFX, KFX-ZIP, KPF, and Scribe notebooks—into a format that can be processed.

Conversion Capabilities: Once imported, the plugin enables conversion from KFX to more universal formats like EPUB, PDF, or CBZ.

"From KFX" Action: For specialized content like fixed-layout books (comics or children's books), the plugin includes a dedicated "From KFX" toolbar action that bypasses standard Calibre conversion pipelines for better results. How the "Repack" Workflow Works

To successfully repack a KFX file into a different format (like EPUB), you typically need a secondary tool for decryption, as KFX Input does not remove DRM on its own.

Decryption Pairing: You must install the latest DeDRM tools (often the NoDRM fork found on GitHub) alongside KFX Input. Plugin Installation:

In Calibre, navigate to Preferences > Plugins > Get new plugins. Search for and install KFX Input.

Manually load the DeDRM plugin zip file using Load plugin from file.

Importing Books: You can add books by dragging them into Calibre or using the Add books button. If you are using a physical Kindle device, connect it via USB and use the Device view in Calibre to "Add books to library".

Conversion: Once the book is in your library (and DRM is removed), select the book and click Convert books. Choose your desired output format, such as EPUB. Technical Considerations

Fixed-Layout Support: For books like textbooks or comics, using the command line interface (CLI) or the "From KFX" menu is recommended to preserve layout integrity.

System Requirements: To convert to KFX (using the separate KFX Output plugin), you must have Kindle Previewer 3 installed on your system.

Kindle for PC/Mac: For the most reliable results, users often use specific versions of the Kindle desktop app to download books that are then imported into Calibre for repacking.

The KFX Input plugin for Calibre is a conversion tool created by John Howell that enables Calibre to read and convert Amazon’s proprietary KFX ebook format. It is primarily used to "repack" or convert KFX files into more flexible formats like EPUB or PDF for archival purposes. Key Features and Capabilities kfx input plugin for calibre repack

Format Support: Converts several KFX variants, including Monolithic KFX, KFX-ZIP (multiple files), KPF, and Scribe notebooks.

"From KFX" UI Action: Adds a dedicated button to the main toolbar that bypasses the standard Calibre conversion pipeline. This is specifically recommended for fixed-layout books (comics, children's books) to maintain formatting integrity.

Lossless Image Handling: Uses PNG instead of JPEG when reconstituting high-definition images to prevent quality loss from tiled KFX source images.

Automated Consolidation: Automatically locates and combines the multiple fragmented files (metadata, containers, DRM vouchers) that make up a purchased KFX book into a single importable file. Essential Setup & Use calibre-kfx-input/kfx_input.py at main - GitHub

The KFX Input plugin for Calibre is a vital tool for users who need to import, view, and convert Amazon’s modern KFX (Kindle Format 10) files into standard formats like EPUB or PDF. While "repack" typically refers to the way the plugin bundles multiple encrypted fragments into a single "monolithic" file, it is primarily used alongside DRM removal tools to make Kindle books readable on non-Amazon devices. Key Functions

Format Translator: Acts as a bridge, allowing Calibre to recognize .kfx, .kfx-zip, or folders containing fragmented Kindle data that would otherwise result in errors.

Automatic Repacking: When you import a KFX book, the plugin locates its various components (metadata, main text, and auxiliary containers) and "repacks" them into a single .kfx-zip or monolithic .kfx file for processing.

Conversion Support: Enables conversion of KFX files into common formats such as EPUB, AZW3, MOBI, and PDF. Installation Guide

You can install the plugin directly through the Calibre interface: Open Preferences and select Plugins. Click Get new plugins and search for "KFX Input". Select the plugin, click Install, and Apply the changes. Restart Calibre to activate the plugin. Crucial Requirements for Success

To successfully "repack" and convert these files, users typically need a specific environment:

KFX Input and KFX Output Plugins: How to Deal with KFX in Calibre

KFX Input plugin is an essential tool for users looking to manage or convert modern Kindle ebooks. While it is often discussed alongside "repacks" or specialized setups,

its primary function is to act as a translator for Amazon's complex, multi-file Kindle Format 10 (KFX) Core Functionality Format Recognition:

Without this plugin, Calibre cannot recognize most new Kindle books, which often appear as encrypted fragments or Conversion Capabilities: The KFX input plugin's functionality within calibre provides

It allows KFX files to be converted into more open formats like Archival Utility:

It helps in combining fragmented Kindle files into a single, monolithic KFX file for better library organization. Key Performance Insights Enhanced Typesetting:

KFX is superior to older formats (like AZW3) because it supports features like hyphenation, dynamic leading, and improved justification. The plugin ensures these complex elements are handled during the import process. Reliability:

Many users report high success rates (around 90%) for standard conversions, though image-heavy books or those with fixed layouts can occasionally struggle. Advanced Integration:

To remove DRM, this plugin must be used in conjunction with tools like the plugins. It does remove DRM on its own. Pros & Cons Enables import of the latest Kindle book formats. remove DRM independently. Supports KFX-ZIP, KPF, and Scribe notebooks. Complex setup required for DRM-protected content.

Often produces better page-list navigation than standard converters.

Frequent Amazon encryption updates can cause temporary outages.

For anyone serious about managing a modern Kindle library within Calibre, the KFX Input plugin is

. It bridge the gap between Amazon's proprietary ecosystem and open-source library management, though users should expect a slight learning curve regarding its interaction with DRM tools.

KFX Input plugin is a vital tool for users who need to import, manage, and convert Amazon's modern KFX (Kindle Format 10) eBooks. While

naturally supports older Kindle formats, KFX files often appear as "KFX-ZIP" or encrypted fragments that require this plugin for proper "repacking" into a single, convertible file. 1. Prerequisites

Before installing, ensure you have the following updated versions as of April 2026:

: Version 5.0 or later (7.25+ recommended for newer 2024 Kindle models). KFX Input Plugin : Latest version is (released April 1, 2026). DeDRM Tools NoDRM fork (v10.0.18+) to handle newer KFX encryption. 2. Installation Guide You can install the plugin directly through the interface: Preferences (Ctrl+P) and click in the "Advanced" section. Get new plugins and search for "KFX Input" , accept the security warning, and restart Calibre (Optional but recommended) : To enable advanced conversion, go to Preferences > Toolbars & menus The main toolbar , and add the "From KFX" action to your current actions. 3. How to Repack and Convert KFX Files

The plugin automatically "repacks" fragmented Kindle files into a usable format upon import. "Add books from a single folder" option and navigate to your My Kindle Content The KFX Input Plugin has the following features:

folder. The plugin will automatically detect and combine multiple fragments into a or monolithic DRM Removal : If the book is protected, the DeDRM plugin

must be pre-configured with your Kindle Serial Number or Kindle for PC keys to strip the encryption during this initial import. Conversion

: Once imported as a "KFX" format in your library, right-click the book and select Convert books > Convert individually : Best for general reading.

: Recommended for fixed-layout books like comics or textbooks using the "From KFX" toolbar button for better results. 4. Troubleshooting Common Issues "KFX-ZIP" format in library : This usually indicates the DeDRM plugin

failed to remove encryption. Ensure you are using the latest

version and that the book was downloaded on the same machine. Layout errors : If a conversion fails, go to the KFX Input tab in the conversion dialog and check "Allow conversion to proceed even if errors are detected" Newer Kindle Models : For 2024 models using MTP, you must use Calibre 7.25+ view to add books directly. or a list of recommended Kindle for PC versions for this process?

Calibre already has a KFX Input plugin (by jhowell) that converts KFX → EPUB.
However, the Repack version extends this to produce a reconstructable, editable, and repackagable EPUB that mirrors the original Amazon KFX layout, fonts, images, and internal structure — not just a readable approximation.

Target users:


The KFX Input Plugin has the following features:

The term "repack" in the context of calibre and e-book conversion often refers to modifying an e-book's internal structure, updating its format (without changing the file type), or generally making sure it's optimized for a specific device.

However, to directly convert or work with KFX files in calibre:

Cause: Amazon’s proprietary KFX fonts are not embedded. Fix: During conversion, go to Look & feelStyling → check “Disable font rescaling” and “Embed original fonts” (may violate copyright).

The KFX Input Plugin is a crucial component of Calibre, allowing users to convert KFX files to more widely supported formats. While the plugin faces challenges and limitations, it provides a valuable service to e-book enthusiasts and owners of Kindle devices.

The KFX Input Plugin is a component of Calibre, a popular open-source e-book management software. The plugin is responsible for converting KFX (Kindle Format 10) e-books to a format that can be used by Calibre. This report provides an overview of the KFX Input Plugin and its role in Calibre repack.