EBOOK-CONVERT(1) calibre EBOOK-CONVERT(1) NAME ebook-convert - ebook-convert ebook-convert input_file output_file [options] Convert an e-book from one format to another. input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command. The output e-book format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived from the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a folder and an "open e-book" (OEB) consisting of HTML files is written to that folder. These files are the files that would normally have been passed to the output plugin. After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the -h option. For full documentation of the conversion system see Mo <#conversion> Whenever you pass arguments to ebook-convert that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces" The options and default values for the options change depending on both the input and output formats, so you should always check with: ebook-convert myfile.input_format myfile.output_format -h Below are the options that are common to all conversion, followed by the options specific to every input and output format. o APAMETPOI EIAH o APAMETPOI EAH o OH KAI AIHH o EYPETIK EEEPAA o ANAZHTHH KAI ANTIKATATAH o ANIXNEYH OMH o INAKA EPIEXOMENN o METAEOMENA o AOAMATH --help, -h E o o oo --input-profile oo o o . To oo o o o o o o o o. .. o o (o pixels). O o : cybookg3, cybook_opus, default, hanlinv3, hanlinv5, illiad, irexdr1000, irexdr800, kindle, msreader, mobipocket, nook, sony, sony300, sony900 --list-recipes List builtin recipe names. You can create an e-book from a builtin recipe like this: ebook-convert "Recipe Name.recipe" output.epub --output-profile Ko o o o. To o o o o oo o oo o . o , o o o oo oo o , o. O o :cybookg3, cybook_opus, default, hanlinv3, hanlinv5, illiad, ipad, ipad3, irexdr1000, irexdr800, jetbook5, kindle, kindle_dx, kindle_fire, kindle_oasis, kindle_pw, kindle_pw3, kindle_scribe, kindle_voyage, kobo, msreader, mobipocket, nook, nook_color, nook_hd_plus, pocketbook_inkpad3, pocketbook_lux, pocketbook_hd, pocketbook_900, pocketbook_pro_912, galaxy, sony, sony300, sony900, sony-landscape, sonyt3, generic_eink, generic_eink_hd, generic_eink_large, tablet --version o o o oo APAMETPOI EIAH o o o o o o mobi --input-encoding oo oo o o o. A o, o, o ooo oo o o o o o. I o o o oo o oo. APAMETPOI EAH o o o o o o epub --dont-split-on-page-breaks Aoo . Ko, o o o . A o o o o o o o o o. o, o o o o o , oo . --epub-flatten H o o o oo o o EPUB o FBReaderJ. o o o EPUB, oo o o o. --epub-inline-toc E o o o o o oo o o. --epub-max-image-size To o o (o x o). M profile o o o o o o. M none o o o. , 100x200 o o o o o 100 pixels o o o 200 pixels. o o o . K o oo o o o o o o o. --epub-toc-at-end Too o o o o o o o o . --epub-version H o o o EPUB o o. H o EPUB 2 o , oo o EPUB 3 o . --extract-to E o o o o oo o. T o o o , o oo. --flow-size HTML o o o ( KB). A o o o EPUB oo o . H o 260KB o o o o Adobe Digital Editions. O 0 oo o o. --no-default-epub-cover Ko, o o o o o oo, o oo oo o o o, o . H o oo o o o o. --no-svg-cover X SVG o o o o. Xoo o o o EPUB oo o o SVG, o iPhone o JetBook Lite. X o , o o o o . --preserve-cover-aspect-ratio oo o SVG, o o o o o, o o (o o o o). A o o , o o. X o, o o , o . --pretty-print A oo, o o o o o o o . o o o o. --toc-title To oooo oo o o. OH KAI AIHH o o o o o o --asciiize M Unicode ASCII. Xoo oo, o Unicode ASCII. , o "Pele" o "Pele". E, o o o ( o oo , ), oo o calibre o oo . --base-font-size To o o pt. o o o ooo o o o. Eo o o o o oo o oo. A oo, , o o o o o o o . --change-justification Change text justification. A value of "left" converts all justified text in the source to left aligned (i.e. unjustified) text. A value of "justify" converts all unjustified text to justified. A value of "original" (the default) does not change justification in the source file. Note that only some output formats support justification. --disable-font-rescaling Aoo o. --embed-all-fonts E o o o o o . A o o , o, o. H o o o oo o o, EPUB, AZW3, DOCX PDF. B o o ooo o o. --embed-font-family E o oo o o o. A o <<>> o o oo o o. E o o o o o o, o o. Mo oo o oo o o o o o. o o o o o o, EPUB, AZW3 DOCX. --expand-css A oo, o calibre oo o o o CSS, margin, padding, border .. A o o o o . CSS oo EPUB o o o o o Nook, o Nook o o CSS. --extra-css E o o o CSS o CSS. A o CSS o o o o o, o oo o o . --filter-css M CSS o o o o CSS. A o o o oo o o . : font-family,color,margin-left,margin-right --font-size-mapping Ao oo/, (pts), o CSS. .. 12,12,14,16,18,20,22,24. A o o o o (xx-small) o o (xx-large), o o o o. O o o oo , o o, o. H o o oo o o . --insert-blank-line E . o o o o oo o (

). --insert-blank-line-size O o o o o ( em). To o o o o . --keep-ligatures o o o o o. M o o ff, fi, fl ... O o oo o o o, o o o . A oo, o calibre o oo o o . o o o Unicode o CSS o. A o ' o. --line-height To o pts. E o o o o. E o o o oo o o o . , o o o o . A oo, oo o o o . --linearize-tables M o ooo o o o . o, o o o o . A o o o ' o o o o o. --margin-bottom O o o o pt. H oo 5.0. Po o o o ( o o o). : O o oo , PDF DOCX, o o o o o. --margin-left O o o o pts. H oo 5.0. O o o o o ( o o o). : O o ooo PDF DOCX o o o o o. --margin-right O o o o pts. H oo 5.0. O o o o o ( o o o). : O o ooo PDF DOCX o o o o o. --margin-top O o o o pts. H oo 5.0. O o o o o ( o o o). : O o ooo PDF DOCX o o o o o. --minimum-line-height To o o , oo o ooo o o o oo. To calibre oo o oo o , o o o o o. O oo. oo 120%. Xoo o o o , . , o o " " oo 240. --remove-paragraph-spacing A . O o o 1,5em. H o o o o o oo o (

). --remove-paragraph-spacing-indent-size o calibre , o o, o o oo o o. A o o o o ( em). A o , oo o o o o o o, o calibre o. --smarten-punctuation Convert plain quotes, dashes and ellipsis to their typographically correct equivalents. For details, see: . --subset-embedded-fonts Yooo o. K o o o ooo o o. A o o o. Xo o o oo . --transform-css-rules Path to a file containing rules to transform the CSS styles in this book. The easiest way to create such a file is to use the wizard for creating rules in the calibre GUI. Access it in the "Look & feel->Transform styles" section of the conversion dialog. Once you create the rules, you can use the "Export" button to save them to a file. --transform-html-rules Path to a file containing rules to transform the HTML in this book. The easiest way to create such a file is to use the wizard for creating rules in the calibre GUI. Access it in the "Look & feel->Transform HTML" section of the conversion dialog. Once you create the rules, you can use the "Export" button to save them to a file. --unsmarten-punctuation M , o o o. EYPETIK EEEPAA Tooo o o o o o o o. Aoo oo. Xoo --enable-heuristics oo. Mo oo ooo o --disable- * . --disable-dehyphenate Analyze hyphenated words throughout the document. The document itself is used as a dictionary to determine whether hyphens should be retained or removed. --disable-delete-blank-paragraphs A o o, o o --disable-fix-indents Turn indentation created from multiple non-breaking space entities into CSS indents. --disable-format-scene-breaks Left aligned scene break markers are center aligned. Replace soft scene breaks that use multiple blank lines with horizontal rules. --disable-italicize-common-cases A o o o o . --disable-markup-chapter-headings A ooo o o. A h2 h3. A o TOC, o oo o o TOC. --disable-renumber-headings Looks for occurrences of sequential

or

tags. The tags are renumbered to prevent splitting in the middle of chapter headings. --disable-unwrap-lines Unwrap lines using punctuation and other formatting clues. --enable-heuristics Eoo . A o o oo ooo . --html-unwrap-factor Scale used to determine the length at which a line should be unwrapped. Valid values are a decimal between 0 and 1. The default is 0.4, just below the median line length. If only a few lines in the document require unwrapping this value should be reduced --replace-scene-breaks Replace scene breaks with the specified text. By default, the text from the input document is used. ANAZHTHH KAI ANTIKATATAH Tooo o o o o o o o oo o . --search-replace Path to a file containing search and replace regular expressions. The file must contain alternating lines of regular expression followed by replacement pattern (which can be an empty line). The regular expression must be in the Python regex syntax and the file must be UTF-8 encoded. --sr1-replace Replacement to replace the text found with sr1-search. --sr1-search Search pattern (regular expression) to be replaced with sr1-replace. --sr2-replace Replacement to replace the text found with sr2-search. --sr2-search Search pattern (regular expression) to be replaced with sr2-replace. --sr3-replace Replacement to replace the text found with sr3-search. --sr3-search Search pattern (regular expression) to be replaced with sr3-replace. ANIXNEYH OMH o o oo o o o --add-alt-text-to-img o alt, o o o o o oo o oo o alt. To alt o o o o oo o o o o o. --chapter M XPath . H oo o o

o o "chapter", "book", "section", "prologue", "epilogue" "part" o , ooo o class="chapter". H ooo oo o. oo , oo "/". o Eo XPath o Eo X o calibre o o. --chapter-mark Ko o . H "pagebreak" . H "rule" . H "none" oo "both" oo o o . --disable-remove-fake-margins O oo oo o o o. To calibre o . M o, o o o o . , o oo . --insert-metadata E o o o o o. A o o oo o o / o. --page-breaks-before M XPath. A o o o. o oo , oo : / --prefer-metadata-cover Xoo o o o o o o o o oo o. --remove-first-image A o o o o. Xo o o o o o o. , o o o calibre, o o o o o, o o. --start-reading-at M XPath o o o oo . Ko o o ( o Kindle) ooo o o o o o o. o o XPath o Eo X o calibre o . INAKA EPIEXOMENN o o. , o o o o, oo o 'o o . --duplicate-links-in-toc K o o o o o o, , o o o, o o o oo. --level1-toc XPath o oo o oo o o o o o. E o, o o . o O XPath o Eo X o calibre . --level2-toc XPath o o o oo o o o o o. K o oo o o . o o XPath o o o calibre . --level3-toc XPath o o o oo o o o o . K o oo o o o. o O XPath o Eo X o calibre . --max-toc-links Mo o oo o o. 0 oo. A : 50. Mo oo -o oo o o o. --no-chapters-in-toc N oo o o o o o --toc-filter A o o, oo o o o oo o . O o o o o. --toc-threshold A oo ' o , oo o o o. A : 6 --use-auto-toc Ko, o o- o, o o o . M' o, oo o o. METAEOMENA o o o o --author-sort H oo o oo o . --authors E . oo o o oo &. --book-producer Ko o o o. --comments o o. --cover Ko o o o o o URL --isbn E o o ISBN o o --language P . --pubdate O o o (o o , o ) --publisher Ko o o o o. --rating K oo. E oo 1 5. --read-metadata-from-opf, --from-opf, -m A o o oo o OPF. T o o o ' o o o o o o o. --series Ko oo o o. --series-index Ko o o o. --tags Ko o o. o o . --timestamp O o o o ( oo o o) --title E o. --title-sort H o o o o oo . AOAMATH o o oo (o) o --debug-pipeline, -d Ao o o o, o o o oo. Xo o o o o oo . --verbose, -v Eo oo. Ko o o o oo. O o o o o o oo, o oo o oo. Author Kovid Goyal Copyright Kovid Goyal 9.14.0 Aoo 28, 2026 EBOOK-CONVERT(1)