29 / Edit · EPUB → EPUB

EPUB chapter editor

Put the chapters in order.

Reorder, rename, merge, split or delete chapters in an EPUB, then preview the revised contents before exporting. The editor keeps reading order and navigation aligned and offers undo during the session. It edits book structure rather than prose; use a text editor for paragraph changes and retain the source as your backup.

  • A DRM-free EPUB 2 or 3 file
  • Nothing is uploaded; it stays here
  • One new copy, original untouched
All tools
Opening your workspace…

At a glance

EPUB Chapter Editor quick specs

Verified
Input
DRM-free EPUB 2 & EPUB 3 (.epub)
Output
Restructured EPUB with synced spine, nav.xhtml & toc.ncx
Scope & limit
50 undo steps per session; runs fully in browser memory
Processing
Local in your browser — files never upload
Price & account
Free; no sign-up or install required
Key boundary
Structural chapter edits (not a full rich-text/CSS layout editor)

From file to finished

How to reorder, rename, merge or split chapters in an EPUB

  1. Choose a DRM-free EPUB with the picker, or press Try a sample to load A Little Library, the four-chapter book used on this page.

  2. Read the chapter list. Each row shows its number, title, word count and file name; select a row to rename, merge, split or delete it.

  3. Reorder by dragging the handle or pressing ↑ and ↓. Watch the position label and the contents preview until the sequence is what you want.

  4. Make the structural changes: type a title and rename, merge with the next chapter, split at a heading level, or delete after the second click confirms it.

  5. Press Preview contents to check every entry, then Export edited EPUB. The download is a new file named after the book title with “ — chapters” added.

Formats and inputs

Supported EPUB formats and inputs

An EPUB can have three different notions of a chapter: a spine document, a navigation entry and a visible heading inside the text. This editor works with the document list, updates navigation labels, and uses H1 or H2 headings for splitting. EPUB 2 NCX and EPUB 3 nav need consistent destinations. Fixed-layout pages, non-text spine items and signed packages require additional care.

InputSupportWhat to expect
EPUB 3 with nav.xhtmlBest fitThe spine and nav.xhtml are rebuilt from the chapter list. If the book already has a nav document it is reused and its table of contents replaced; a missing one is created.
EPUB 2 with toc.ncxBest fitThe spine and toc.ncx are rewritten, with navPoint playOrder following the new sequence. The older package version is detected from the OPF and kept.
EPUB with both nav.xhtml and toc.ncxWorksBoth contents files are written from the same ordered list, so an EPUB 3 book that also ships an NCX for older readers keeps the two in step.
Spine items that are not XHTMLPartialHTML and XHTML spine documents can be renamed, merged, split and deleted. Other spine items are listed and can be moved, but their edit buttons are disabled with a tooltip that says why.
Fixed-layout EPUBPartialThe spine order can change, but page layout, viewport settings and pre-paginated pages are untouched, and the tool does not check whether a reordered fixed-layout book still makes sense.
EPUB with META-INF/signatures.xmlNot supportedA signed book is refused before any chapter is read, because exporting would invalidate the signature. Open an unsigned copy and keep the signed original for the record.
DRM-protected or password-protected EPUBNot supportedAn encrypted book cannot be opened, so no chapter list appears. Use a DRM-free copy; the tool does not remove DRM, ask for a password or repair a broken package.
EPUB larger than 100 MBNot supportedThe file is rejected before it is read, because unpacking a larger book can exhaust the browser tab. Compress images or split the book with another tool first.

What it can do

What EPUB Chapter Editor can do

Move a chapter by dragging or with arrows

Pick up the handle on the left of a row and drop the chapter where it belongs, or use the ↑ and ↓ buttons for one step at a time. Both do the same thing: the reading order changes, the word count and position labels refresh, and the spine will be written in the new order. Moving is allowed even for a spine item that is not XHTML.

Rename the contents label and the XHTML title

Type a new title and the tool writes it to the contents entry and to the chapter’s <title> element. Tick “Also replace the first body heading (H1)” to change the visible heading too. That box only works when the chapter already has an <h1>; a chapter that opens with an H2 keeps its heading, which is why the hint says the body changes only when the box is ticked.

Merge two chapters into the first file

Merge with next chapter joins the selected chapter and the one below it. The first chapter’s file keeps its head, title and stylesheet links, then holds both bodies; the second file leaves the spine and is dropped on export. The contents list loses one node, the word count becomes the sum of both chapters, and relative links are rewritten when the two files sat in different folders.

Split one chapter at every H1 or H2

Choose Automatic, At every H1 or At every H2, then split. Automatic uses H1 and falls back to H2 when there are fewer than two H1 headings. Each part becomes its own XHTML file: the first keeps the original path, later parts get names such as chapter-3-2.xhtml, and each new file takes its <title> from the heading that starts it.

Undo, preview and export a synced copy

Undo and redo cover the last 50 changes, including merges and deletes, and restore the earlier text exactly as it was. Preview contents shows the list that nav.xhtml and toc.ncx will receive. Export rebuilds the book with the same order in the spine and both contents files, copies untouched entries byte for byte, and downloads a new file instead of overwriting yours.

After you run it

What you get from EPUB Chapter Editor

An export succeeds when the downloaded copy opens with the chapters in the order shown and its contents list matches. These are the values you can check in the tool and in the file.

What you getWhat it means
A chapter list in the new orderRows are renumbered and the header counts chapters, words and recorded steps. This is the list the spine will follow.
A contents preview with one entry per chapterThe panel shows number, title and word count for the exact list written to nav.xhtml and toc.ncx on export.
An EPUB whose spine matches that listOpen the package document after export: itemref elements follow the same order as the rows, with deleted chapters absent.
nav.xhtml and toc.ncx with the same entriesEPUB 3 gets the nav list, EPUB 2 keeps its NCX, and a book with both has both rebuilt from the order in the preview.
Untouched files copied byte for byteChapters you did not edit keep their original bytes; the result panel says how many deleted chapter files were omitted.
A named download and a word countThe file is saved as “Title — chapters.epub”, with the chapter and word totals shown above the download button.

When people reach for it

Common EPUB Chapter Editor use cases

Structural editing suits an existing book whose order or navigation needs correction. Compare the proposed sequence with the manuscript, and check note links near any merge, split or deletion before handing the new copy to readers.

If you need to…What this tool does
Fix the order after a bad conversionA PDF or Word conversion often leaves the cover, title page and first chapter in the wrong sequence. Move the rows until the preview reads correctly, then export; the text itself is not rewritten.
Rename generic chapter labelsA book that shows “Chapter 1, Chapter 2” in its contents can get real titles without touching the prose. Rename each row, leave the H1 box clear, and only the contents label and XHTML title change.
Join a short prologue to chapter oneTwo files that belong together become one. Merge keeps the first file’s head and title, appends the second body, drops the second spine entry and leaves one contents node in place of two.
Split an omnibus at its section headingsA file holding three books becomes three chapters at every H1. Each part gets its own file and title, and the contents list gains the entries a reader needs to jump between them.
Remove a duplicate or placeholder chapterDelete takes out the file, the spine entry and the contents node. If the chapter was the only user of an image, that image is listed as unused and stays in the archive rather than vanishing.
Move a cover page out of the reading orderSome EPUBs put the cover image first as a spine chapter. Delete that row, or move it to the end, and the book opens on the title page while the image file remains available.

Why use it

Why reorder, rename, merge or split EPUB chapters

Structural changes are useful only when readers see the same order in navigation and in the book itself. This editor focuses on that relationship, with a preview and undo history for testing a proposed arrangement before committing a new copy.

Repair sequence without rebuilding the entire manuscript

A misplaced chapter does not necessarily justify a format conversion or a new prose source. Working on the existing structure is useful when the book’s text and assets are already correct and only its organization needs attention.

Avoid fixing the contents list while leaving reading order wrong

A navigation label can look correct even when the next-page sequence is not. Updating the structural lists together addresses that mismatch, which is particularly important when the book is read linearly on an e-reader rather than by clicked links.

Try a structural edit before accepting it

Merging or deleting changes the shape of the book more than renaming a label. Session undo and a contents preview give you a checkpoint to judge the result before exporting a copy and replacing it in your library.

Keep resource cleanup separate from editorial structure

Removing a chapter does not prove that its images are unused elsewhere. Reporting remaining resources makes the distinction visible, so a structural edit does not silently become a risky deletion of shared artwork or fonts.

When it does not work

Why EPUB Chapter Editor may fail

Most problems appear as a message beside the control that caused them, and none of them change the book. These are the ones you are most likely to meet, in the order the tool reports them.

  • The book has a digital signature

    The file is refused at load time with a message naming META-INF/signatures.xml, because rewriting the package would invalidate the signature. The tool does not offer to strip it.

  • The title field is empty

    Rename checks the trimmed value and refuses an empty or whitespace-only title, telling you to restore the old title or type a new one. Nothing is written to the chapter.

  • The heading did not change

    The H1 box only replaces an <h1> that already exists. A chapter that starts with an <h2> or plain paragraphs gets a new contents label and title, but its visible heading stays.

  • Merge is greyed out on the last row

    There is no next chapter to join, so the button is disabled and its tooltip says so. Select an earlier row, or move the chapter you want to merge up one place first.

  • Delete refuses the only chapter

    An EPUB needs at least one spine document. With one chapter left the button is disabled and the tooltip suggests renaming instead, because an empty book cannot be exported.

  • Split says there are too few headings

    Splitting needs at least two headings at the chosen level. A chapter with a single H1 cannot become two parts; choose H2 if it has two of those, or merge it with a neighbour.

  • The file is too large to open

    Files over 100 MB are rejected before reading, and a book that would expand past 250 MB or 10,000 entries stops with a safety message. Neither case produces a partial edit.

Repair paths

How to fix common EPUB Chapter Editor issues

Each message points at one condition and one next step. Fix the input or choose a different control; there is no mode to switch on and nothing to install.

What you seeLikely causeWhat to do
“This book has digital signatures.”The package contains META-INF/signatures.xml.Find an unsigned copy of the book, or ask the source for one, and edit that file instead of the signed master.
The heading stays as it was after a renameThe chapter has no <h1>, only an H2 or plain text.Leave the box clear if the contents label is all you need, or add an H1 in an EPUB editor and rename again here.
“This chapter has only 1 H2 heading…”The chosen split level has fewer than two headings.Switch Split at to At every H2, pick another chapter, or merge this one with a neighbour before splitting.
Delete chapter does nothingOnly one chapter is left in the spine.Rename that chapter instead, or merge content into it before deleting a different one; one chapter must remain.
“This file is larger than 100.0 MB.”The file exceeds the browser safety limit.Reduce image sizes or split the book with a dedicated tool, then open the smaller EPUB here.
An image is still in the book after a deleteUnused resources are listed, not removed.Leave it if size does not matter, or remove the file with an EPUB cleanup tool after checking the unused-file list.
Rename and delete are disabled on a rowThe spine item is not an XHTML document.Move it if the order is the only problem, or convert that spine item to XHTML in an editor that can write one.

Plain-language notes

Key EPUB chapter structure terms explained

A few package terms explain why a chapter move touches more than one file. Each definition below is tied to something the tool shows or writes.

Spine

The ordered list of documents a reading system opens in sequence. Its order is what you change when you move a chapter, and it is stored as itemref elements in the OPF package.

nav.xhtml

The EPUB 3 navigation document. It holds the table of contents as links, and this tool rewrites it from the same ordered chapter list that drives the spine.

toc.ncx

The older XML table of contents used by EPUB 2 readers. It stores navPoint entries with a playOrder number, which is rebuilt to follow the new chapter order.

OPF package

The package document that lists the book’s metadata, manifest and spine. It is edited as text so prefixes, metadata and formatting you did not touch survive the export.

Manifest item

One file declared in the package, with an id, a path and a media type. Deleting a chapter removes its manifest item and any guide reference that pointed at it.

Reading order

The sequence a reader follows from the first spine document to the last. It is separate from the contents list, which is why both have to be written from one source.

Orphaned resource

An image, font or stylesheet that only a deleted chapter referenced. This tool finds such files and lists them with their sizes but keeps them in the archive.

Byte-for-byte copy

An archive entry written back with its original compressed content rather than being parsed and rebuilt. Untouched chapters and resources take this path during export.

Navigation label versus visible heading

Renaming a contents entry is not the same as rewriting an H1 inside the chapter body. Check which label the editor changes before expecting a revised table of contents to alter the words printed at the top of the page.

Other ways to do it

EPUB Chapter Editor vs. alternatives

This page is a narrow tool: chapter order, titles and the contents list. Other jobs need a full editor or a script, and those options are worth knowing before you start.

OptionBetter whenTrade-off
SigilYou need to edit prose, styles or markup inside chapters, not just their order.A full desktop EPUB editor offers broader content and package controls. Compare its structural editing and undo workflow with this page’s focused chapter list; do not assume those capabilities are absent.
Calibre’s Edit bookYou already use Calibre and want one application for metadata, conversion and structure.A larger download, a desktop-only workflow, and chapter reordering is one panel among many rather than the whole interface.
A ZIP and text editor scriptYou have a repeatable pipeline and want to change the OPF, nav and NCX without a browser.You write and maintain the script, handle relative links and escaping yourself, and one mistake can leave an unreadable package.
Leave the order alone and use bookmarksThe book is for one reading and the order is wrong but not worth a rebuild.No new file and no risk, but every reader still starts in the wrong place and the contents list stays misleading.

Your files and this tool

Privacy, accuracy and EPUB Chapter Editor limits

The whole edit happens in this tab. The only file that reaches the network is the page itself and, if you press it, the sample book.

  • The EPUB is read and unpacked in browser memory with no upload endpoint. Site scripts, styles and Google Analytics load separately and never receive chapter text, titles or images.
  • The unused-file check reads names and sizes from the archive already in memory. It does not fetch a resource or contact the site that produced the book.
  • No draft is stored in localStorage, IndexedDB or a cookie, so closing the tab ends the session. Export before you leave, because there is no saved project to reopen.
  • The download is a Blob URL created for the export and revoked after 60 seconds. The edited EPUB is not kept on the site after that.
  • The only network requests are for this page’s own scripts, styles and the optional sample EPUB. The book you open never leaves the browser.

A little more detail

Frequently asked questions about EPUB Chapter Editor

Do links into a merged, split or deleted chapter need checking?

Yes. Updating the main reading order and contents does not prove that every inline reference still points where you intend. A note link or cross-reference can depend on a file path and fragment identifier inside an edited chapter. Test those destinations in the exported book, especially around merge and split boundaries, and keep the source copy for comparison.

Does renaming change the heading readers see?

Only if you tick “Also replace the first body heading (H1)” and the chapter already contains an <h1>. Without the tick, the contents label and the XHTML <title> change while the visible heading stays as written. A chapter that opens with an H2 is never changed by that box.

What happens to images used only by a deleted chapter?

They stay in the EPUB. The unused-file check lists each resource that no remaining chapter or stylesheet references, with its size, and says it was kept. Removing those files is left to a separate cleanup step so a shared font or a referenced image is not deleted by mistake.

Can I undo a merge, a split or a delete?

Yes. The session keeps the original state and the last 50 changes, so Undo walks back through merges, splits, deletes and renames in order. Redo replays them. Export writes the current state only, and closing the tab clears the history.

Can I edit the words of a chapter here?

No. This tool changes chapter structure and titles; it does not open a chapter for prose editing, and it does not touch paragraph text except when merging two bodies or replacing an H1 you asked it to replace. Use a full EPUB editor for rewriting.

Which EPUB versions are supported?

EPUB 2 and EPUB 3 packages that are DRM-free and under 100 MB. The version is read from the package document: an EPUB 3 book gets nav.xhtml, an EPUB 2 book keeps toc.ncx, and a book that ships both has both rewritten from the same order.

Why is a chapter greyed out?

Its spine item is not an XHTML or HTML document, so the tool will not rewrite it. You can still move it with the handle or arrows. Rename, merge, split and delete are disabled, and the tooltip on each control names the reason.

Is my book uploaded or stored?

No. The file is read from your device, unpacked in the browser and rebuilt there. There is no account, no upload endpoint and no saved draft; the edited copy exists only as a download that you choose to keep on your device.