Convertly Epub

Clean up the text of an EPUB book

Fix an EPUB by choosing the extra spaces and stray characters to remove.
  1. 1Import
  2. 2Adjust
  3. 3Download

Drag and drop your EPUB books here

or click to select them from your device · 100% processed in your browser

About this tool

“Clean text” lightens an EPUB book’s code: empty paragraphs removed (or a single one kept in a row), pasted styles removed, useless tags deleted and extra spaces taken out.

Bold and italic stay, and you choose the chapters concerned.

Main benefits

  • Empty paragraphs
  • Pasted styles removed
  • Useless tags
  • Bold and italic kept

How to use “Clean up text”

  1. Drop the book

    Drag one or more EPUB files.

  2. Choose the cleaning

    Empty paragraphs, pasted styles, tags, spaces.

  3. Set the empties

    Remove all, or keep a single empty one in a row.

  4. Target

    All chapters, or specific numbers.

  5. Download

    Save the cleaned book.

Key features

  • Empty paragraphs removed
  • A single empty paragraph kept in a row, as an option
  • Pasted styles removed: colours, fonts, sizes
  • Useless tags deleted for lighter code
  • Spaces at paragraph start and end taken out
  • Bold and italic kept

Compatible formats

Accepted formats

  • EPUB

Output formats

  • EPUB
  • ZIP

Clean the style sheets?

To handle CSS rather than text, use CSS cleaning and merging.

Common use cases

  • Word copy-paste

    Clean styles imported from a word processor.

  • Scanned book

    Remove empty paragraphs left by text recognition.

  • Uneven rendering

    Remove fonts and colours imposed on the text.

  • Before formatting

    Start from clean code to apply a theme.

Frequently asked questions (FAQ)

Is formatting lost?

Bold and italic stay; pasted styles like colours and fonts are removed.

Can I keep an empty paragraph?

Yes: a single one in a row, for example to mark a pause.

Does the text change?

No, only the code structure is cleaned.

Can I target chapters?

Yes, by numbers.

What are the limits?

Up to 20 books at a time, 100 MB each.

Related tools

Discover other tools for your e-books and EPUB files.

File privacy

Your files stay in your browser: processing happens on your device and no book is sent to a server.

Understanding the tool settings

Here is what each setting really changes in the result.

  • Empties

    Remove empty paragraphs, or keep only one.

  • Styles

    Remove pasted colours, fonts and sizes.

  • Tags

    Remove useless tags.

  • Spaces

    Delete spaces at paragraph start and end.

Common problems and solutions

  • Pauses disappeared?

    Keep an empty paragraph in a row, or use scene breaks.

  • Formatting lost?

    Do not tick styles if you want to keep them.

  • Nothing changes?

    The code was already clean.

  • First-line indent lost?

    Reapply it with book formatting.

  • File refused?

    Only EPUB books are accepted.

  • Book too large?

    The limit is 100 MB.

Best practices

  • Clean before formatting: then apply a theme.
  • Keep one empty in a row: often useful for pauses.
  • Test one chapter: target it first.
  • Add typography: spaces and guillemets.
  • Validate afterwards: check conformity.
  • Keep the original: unchanged.

Security and privacy

  • Local processing

    The work is done directly in your browser, on your device.

  • No upload required

    Your files are sent to no server: nothing is uploaded or stored.

  • Cleaning on your device

    The code is cleaned in your browser; your book is sent to no server.

Compatibility and limits

What the tool accepts, what it produces and how far it goes.

  • Input: one or more EPUB books. Output: the books with cleaned text, as EPUB, in a ZIP for several.
  • Limits: 20 books at a time, 100 MB each.

Go further