TXT to MOBI Converter

Generate the exact Calibre command to convert a .txt file to MOBI. Fill in your filename, title, and author — copy the command and run it.

Calibre Command Generator

The .txt file in your current directory

Leave blank to auto-derive from input filename


Book Metadata (optional)


        

How to run the conversion

  1. 1

    Install Calibre

    Download from calibre-ebook.com (free, Windows / macOS / Linux). The installer adds ebook-convert to your system.

  2. 2

    Open a terminal in the same folder as your .txt file

    Windows: Shift-right-click the folder → "Open PowerShell here". macOS: drag the folder onto Terminal.

  3. 3

    Paste and run the generated command

    Calibre reads the .txt file, embeds your metadata, and writes the .mobi output in the same directory.

  4. 4

    Transfer to Kindle via USB or Send to Kindle

    Connect your Kindle via USB and copy the .mobi file to the documents/ folder, or email it to your Kindle address.

macOS PATH note

On macOS, ebook-convert may not be in your PATH after a GUI install. Run the full path:

/Applications/calibre.app/Contents/MacOS/ebook-convert input.txt output.mobi

Or add /Applications/calibre.app/Contents/MacOS to your ~/.zshrc PATH.

Alternatives if you cannot install Calibre

  • Kindle Direct Publishing (KDP)

    Upload a .txt file to kdp.amazon.com and KDP converts it automatically. Best for books you intend to publish.

  • Zamzar / CloudConvert

    Online converters that accept .txt and output .mobi. Your file is uploaded to their servers — avoid for sensitive content.

  • Convert to EPUB first, then to MOBI

    Use the TXT to EPUB tool on this site to get an EPUB in your browser, then run ebook-convert book.epub book.mobi with Calibre.

Copied!

Summary

Generate the exact Calibre command to convert a .txt file to MOBI. Fill in your filename, title, and author — copy the command and run it.

How it works

  1. Enter your .txt filename (e.g. my-book.txt) in the filename field.
  2. Fill in the book title and author — these are embedded as MOBI metadata.
  3. The Calibre command updates live as you type.
  4. Click "Copy Command" and paste it into your terminal.
  5. Run the command — Calibre writes the .mobi file in the same directory.

Use cases

  • Converting a novel draft saved as plain text into a MOBI file for Kindle preview.
  • Packaging public-domain Project Gutenberg .txt files for a Kindle device.
  • Preparing a long-form article or research document for offline Kindle reading.
  • Batch-converting a collection of plain-text stories into MOBI for sideloading.
  • Generating the correct Calibre arguments without memorizing the CLI syntax.

Frequently Asked Questions

Last updated: 2026-06-25 · Reviewed by Nham Vu