Skip to main content

Ebook Tools

Calibre CLI command generators and in-browser ebook utilities for converting DRM-free EPUB, MOBI, AZW3, FB2, PDF, and TXT files across reading devices.

25 tools100% freeNo sign-upLocal-first
25tools Clear ×
Tool Action
AZW3 to EPUB Converter
Guide for converting Amazon AZW3 Kindle ebook files to EP...
Open
AZW3 to FB2 Converter
Generates Calibre ebook-convert commands to convert AZW3 ...
Open
AZW3 to MOBI Converter
Generate a ready-to-run Calibre ebook-convert command to ...
Open
AZW3 to PDF Converter
Guide for converting Amazon Kindle AZW3 ebook files to PD...
Open
AZW3 to TXT Converter
Guide for extracting plain text from Amazon Kindle AZW3 e...
Open
EPUB to FB2 Converter
Converts EPUB ebook files to FictionBook 2 (FB2) format i...
Open
FB2 to AZW3 Converter
Informational guide explaining how to convert FB2 (Fictio...
Open
FB2 to EPUB Converter
Informational guide and Calibre command generator for con...
Open
FB2 to MOBI Converter
Informational guide explaining how to convert FB2 ebook f...
Open
FB2 to PDF Converter
Informational guide explaining how to convert FictionBook...
Open
FB2 to TXT Converter
Convert FB2 ebook XML to plain text in the browser by str...
Open
MOBI to AZW3 Converter
Guide and Calibre command generator for converting MOBI e...
Open
MOBI to FB2 Converter
Explains how to convert MOBI ebook files to FB2 format wi...
Open
MOBI to PDF Converter
Guide and reference tool for converting MOBI ebook files ...
Open
MOBI to TXT Converter
Extracts plain text from MOBI ebook files in-browser, str...
Open
PDF to AZW3 Converter
Informational guide explaining how to convert PDF files t...
Open
PDF to EPUB Converter
Guide and tool-recommendation page for converting PDF fil...
Open
PDF to FB2 Converter
Informational guide explaining how to convert PDF files t...
Open
PDF to MOBI Converter
Guides users through converting PDF files to MOBI format ...
Open
PDF to TXT Converter
Client-side tool that extracts plain text from an uploade...
Open
TXT to AZW3 Converter
Step-by-step guide to converting plain-text TXT files to ...
Open
TXT to EPUB Converter
Converts plain text files to EPUB ebook format in the bro...
Open
TXT to FB2 Converter
Converts plain text (.txt) files into FictionBook 2 (FB2)...
Open
TXT to MOBI Converter
Guide and Calibre command generator for converting plain ...
Open
TXT to PDF Ebook Converter
Converts plain text input into a downloadable PDF ebook f...
Open

Calibre Command Generation and Ebook Format Conversion

Managing an offline digital library across multiple hardware ecosystems—such as Amazon Kindle, Kobo, PocketBook, and desktop e-readers—requires converting containers, reflowing text, and adjusting metadata. Ebook formats are fundamentally different: some are open, zipped XML packages (EPUB), some are single-file XML specifications (FB2), some are proprietary compressed binary containers (MOBI, AZW3/KF8), and others are fixed-layout print representations (PDF).

A critical technical distinction must be made regarding how the tools on this page operate: these utilities are primarily command generators and local file inspectors, not full-scale cloud conversion engines. Because proprietary formats like AZW3 and complex binary conversions require native binaries and rendering engines, true conversion for most format pairs requires having the free, open-source software Calibre installed on your local computer. Rather than forcing you to upload private manuscripts or unreleased books to remote servers, our generators build exact, properly escaped terminal commands using Calibre's command-line interface utility, ebook-convert, which you run locally on your machine.

For a specific subset of operations—such as extracting text layers from PDF or MOBI containers, or packaging raw text into EPUB 3, FB2, or PDF—specialized browser-based tools parse files locally on your device without server-side processing.

Software Prerequisites: Installing and Verifying Calibre

To execute the commands generated by our Calibre CLI tools, you must have Calibre installed and its command-line utilities accessible in your operating system's execution path (PATH).

  • macOS: Download and install Calibre into your /Applications directory. To enable the command-line tools, create a symbolic link to the binary by running: sudo ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin/ebook-convert
  • Linux (Debian/Ubuntu): Install via system package manager: sudo apt-get install calibre or use the official binary installer provided on the Calibre website.
  • Windows: Download and run the Calibre 64-bit installer. Ensure the installation directory (typically C:\Program Files\Calibre2\) is added to your system Environment Variables under Path.

Verify your installation by opening your terminal or command prompt and running: ebook-convert --version. If the output returns the installed version number, your environment is ready to execute any command produced by these generators.

Ebook Format Architectures and Target Ecosystems

Choosing the correct conversion pathway requires matching file formats with target device capabilities:

  • EPUB (Electronic Publication): The open industry standard maintained by the W3C. Built on HTML, CSS, and XML inside a zipped archive. Supported natively by Kobo, Apple Books, Google Play Books, Barnes & Noble Nook, and modern Android/iOS readers. Modern Kindle services also accept EPUB through Send to Kindle, converting it automatically on Amazon's cloud.
  • AZW3 (Kindle Format 8 / KF8): Amazon's modern proprietary format. Supports HTML5 markup, CSS3 styling, embedded fonts, and hyphenation. Ideal for direct USB sideloading onto modern Kindle Paperwhite, Oasis, and Scribe devices.
  • MOBI (Mobipocket): Amazon's legacy binary format based on PalmDOC compression. It lacks modern CSS support and custom typography. MOBI is necessary only for vintage Kindle devices (1st to 4th generation) or third-party e-readers that do not support AZW3.
  • FB2 (FictionBook 2): A clean, single-file XML format where all text, chapter markers, and base64-encoded images live in one structured document. Standard on PocketBook devices, Onyx BOOX native apps, and desktop tools like FBReader across Eastern Europe.
  • PDF (Portable Document Format): A fixed-layout document standard designed for visual fidelity and printing. Lacks semantic reflow, making it challenging to read on small 6-inch e-ink screens without panning or scaling.
  • TXT: Unstructured UTF-8 plain text containing words and line breaks, with no font styling, chapter navigation, or metadata hierarchy.
calibre ebook convert command generators tools and calculators illustration

Converting Amazon Formats: AZW3 and MOBI

Amazon's proprietary formats require distinct approaches depending on whether you are modernizing older files or exporting Kindle-compatible files to open hardware readers.

AZW3 Conversions

When migrating away from Kindle hardware to open ecosystems like Kobo or PocketBook, use the AZW3 to EPUB Calibre Command Generator. This tool configures standard EPUB container packaging while preserving CSS stylesheets and chapter breaks. For Russian-market hardware, the AZW3 to FB2 Converter maps HTML heading hierarchies into valid FB2 structural tags.

If you need compatibility with legacy Kindle models from the 2000s, the AZW3 to MOBI Converter downsamples modern KF8 styling into basic PalmDOC records. When producing fixed-layout reference copies or printouts, reference our guide at AZW3 to PDF Converter, or inspect file validity and extract plain text using the AZW3 Header Inspector & Conversion Guide.

MOBI Modernization and Extraction

Legacy MOBI files often exhibit uneven spacing and outdated fonts on modern displays. The MOBI to AZW3 Converter upgrades these documents to Kindle Format 8, enabling font customization and tighter line-height rendering. If you are switching hardware platforms, consult the MOBI to FB2 Converter or the MOBI to PDF Converter.

For DRM-free MOBI books where you only need the raw text, the MOBI to TXT Converter processes the file directly in your browser. It parses PalmDOC binary headers, executes in-browser LZ77 decompression, strips internal HTML formatting tags, and outputs clean plain text without calling an external CLI binary.

Open Standards and Regional Formats: FB2 and EPUB

FictionBook 2 (FB2) remains popular for its structural simplicity. Because FB2 is clean XML, it is straightforward to manipulate, but converting it to binary formats requires reliable tooling.

FB2 Workflows

To convert FB2 collections for use across various hardware readers, generate target-specific Calibre commands:

EPUB to FB2 Direct Browser Conversion

Unlike proprietary binary files, moving from EPUB to FB2 can be achieved via client-side code. The EPUB to FB2 Converter unpacks the EPUB archive in memory using JSZip, reads the Open Packaging Format (.opf) spine to determine reading sequence, converts chapter XHTML elements into FB2 body sections, and exports a valid .fb2 file entirely within your web browser.

Document Extraction and Packaging: PDF and TXT

Working with PDFs and plain text files represents the opposite ends of the structure spectrum: PDFs have rigid visual structures with little semantic flow, while TXT files have pure content with no structural metadata.

Handling PDF Documents

PDF documents do not naturally reflow. Converting a PDF to a standard reflowable ebook format often results in broken sentences, hyphenation errors, and disrupted layouts. When reflow is acceptable for narrative text, use our Calibre command builders:

If your PDF is structured and you only need the raw underlying copy, the browser-based PDF to TXT Converter uses pdf.js to parse the document's text layer and extract readable sentences page by page without transmitting the document across the network.

Packaging Plain Text (TXT) into Ebooks

If you have authored a manuscript in Markdown or plain text, you can package it directly into standardized reader formats:

Worked Examples: Generating and Executing CLI Commands

Calibre's ebook-convert utility expects an input path, an output path, and optional command-line switches. Our tools assemble these flags automatically to prevent syntax errors.

Example 1: Converting AZW3 to EPUB with Metadata Overrides

Suppose you have an Amazon file titled The Great Gatsby.azw3 located in your documents folder and wish to generate an EPUB file for a Kobo reader with explicit title and author metadata.

Entering these values into the AZW3 to EPUB Calibre Command Generator yields the following terminal command:

ebook-convert "The Great Gatsby.azw3" "The Great Gatsby.epub" --title "The Great Gatsby" --authors "F. Scott Fitzgerald" --language "en" --enable-heuristics

Running this in your terminal processes the conversion locally, writing The Great Gatsby.epub to the current working directory while applying Calibre's typographic heuristic processing.

Example 2: Converting PDF to AZW3 with Formatting Flags

When using the PDF to AZW3 Converter for narrative prose, unwrapping line breaks is crucial to prevent every line of the PDF from becoming an isolated paragraph. The generated command structures these parameters:

ebook-convert "manuscript.pdf" "manuscript.azw3" --unwrap-lines --change-justification justify --smarten-punctuation

Known Conversion Constraints and Failure Modes

Conversion utilities cannot overcome fundamental file format boundaries. Be aware of the following technical limitations before executing conversions:

  • Digital Rights Management (DRM): None of the tools here strip DRM encryption. If your book was purchased from Amazon, Kobo, or Adobe with DRM protection enabled, ebook-convert will fail with an error stating the file is encrypted. Files must be DRM-free before conversion.
  • Scanned PDFs (Missing OCR): Tools extracting text from PDF (such as PDF to TXT Converter) and Calibre's ebook-convert read embedded text layers. If your PDF is a scanned image with no OCR layer, the output will be empty or contain blank pages. You must run an OCR utility prior to conversion.
  • Multi-Column and Complex PDF Layouts: Academic papers, magazines, and technical manuals with multi-column text, sidebars, mathematical equations, or inline tables do not reflow cleanly. The conversion process reads text in horizontal bounding boxes, frequently interweaving side-by-side columns into unreadable paragraphs.
  • Path Escaping and Special Characters: Terminal shells (bash, zsh, PowerShell) treat spaces, ampersands, and parentheses as control operators. Always enclose file paths containing spaces within double quotation marks (e.g., "My Book (2024).epub").
  • Font Subsetting: Converting from proprietary formats to EPUB may discard embedded, licensed system fonts if the source container uses obfuscated font tables, falling back to standard serif or sans-serif reader typography.

Batch Automation Workflows

If you have dozens or hundreds of files to process, running individual commands in sequence is inefficient. You can execute batch operations by wrapping Calibre's CLI in standard shell scripts.

Batch Conversion on macOS and Linux (Bash/Zsh)

To convert all FB2 files in a folder to EPUB using your terminal:

for file in *.fb2; do ebook-convert "$file" "${file%.fb2}.epub"; done

Batch Conversion on Windows (PowerShell)

To convert all AZW3 files in a directory to EPUB via PowerShell:

Get-ChildItem -Filter *.azw3 | ForEach-Object { ebook-convert $_.FullName ($_.BaseName + ".epub") }

These batch loops evaluate each file individually, preserving the original base filenames while running the native Calibre translation routines locally on your hardware.

Frequently asked questions

Do these tools convert my ebook directly in my browser?

Most format pairs generate terminal commands for Calibre rather than converting in the browser. Tools involving complex or proprietary formats (such as AZW3, MOBI, and PDF reflow) generate an exact Calibre ebook-convert command for you to run locally. A select few utilities—such as EPUB to FB2, MOBI to TXT, PDF to TXT, and TXT to EPUB/FB2/PDF—process files client-side using JavaScript libraries.

Do I need to install Calibre to use the command generators?

Yes. To run the commands produced by our Calibre CLI generators, you must install the free desktop application Calibre on your computer (Windows, macOS, or Linux) and ensure ebook-convert is accessible in your system terminal.

Which format should I choose for Kindle versus Kobo or PocketBook?

For modern Amazon Kindle devices via USB transfer, choose AZW3 (KF8). For modern Kindle transfers via email or Send to Kindle, use EPUB. For Kobo, Tolino, and Apple Books, use EPUB. For PocketBook, Onyx BOOX, or FBReader apps, choose FB2 or EPUB.

Why does converting a PDF to EPUB or AZW3 often look broken?

PDFs use fixed geometric coordinates rather than reflowable text streams. When converting to EPUB or AZW3, the software attempts to guess paragraph boundaries, line breaks, and reading order. Multi-column documents, running headers, page numbers, and tables frequently become disordered during reflow.

Can these tools convert DRM-protected ebooks?

No. Neither our browser inspectors nor Calibre's default command-line tools can bypass or convert DRM-protected files. Files must be DRM-free before conversion.

Does dropping a file into the inspector upload my manuscript?

No. Tools equipped with file inspectors or client-side extractors use local browser FileReader APIs to read file sizes, headers, or text layers in memory. Your file data is not uploaded to our servers.