PDFJadoo › Convert › PDF to EPUB
The PDFJadoo genie with his golden lamp, rising in a swirl of gold magic

Turn a PDF into an EPUB e-book that reflows on any screen

PDFs are fixed pages; e-books flow. This rebuilds your PDF's text into a genuine EPUB with a title page and chapter breaks at its headings, ready for Apple Books, Kobo, Google Play Books and Kindle apps.

Runs 100% in your browserFiles never uploadFree · no sign-up
Drop your PDF here

or click to choose a .pdf file

Honest note: EPUB conversion rebuilds the document from its text layer, so complex layouts (columns, tables, footnotes) are simplified into clean reading order, and pictures embedded in the PDF are not carried into the EPUB — the e-book contains the full text only. Scanned PDFs have no text layer — OCR them first.

🔒 Private by design: this tool runs entirely in your browser. Your file is never uploaded, never stored, and works even with the internet off.

How to convert a PDF to EPUB

  1. Drop your PDF into the circle.
  2. Press Build the EPUB.
  3. Wait while the genie reads the text layer and binds the book.
  4. Download the .epub file.
  5. Open it in your e-reader or books app and adjust the font to taste.

Reading a fixed-layout PDF on a phone means pinch-zooming forever. This tool extracts the document's structure — headings become chapters, paragraphs flow — and packages a standards-compliant EPUB 3 file, all locally in your browser.

Related wishes

Or browse the full deck of 130 free PDF tools.

PDF to EPUB — fair questions

Where can I read the EPUB?

Apple Books, Kobo, Google Play Books, Microsoft Edge, most Android readers, and the Kindle app (via Send to Kindle).

Will my tables and columns survive?

They are simplified into reading order. EPUB is a flowing format by design; intricate print layouts cannot flow and stay intricate.

Does it work on scanned PDFs?

No — a scan is a picture. Run OCR PDF first to give it a text layer, then convert.

Back to All Tools
"; PJ.setProgress(100);PJ.setStatus("Done — editable .doc rebuilt from "+pages.length+" page(s), "+totalWords.toLocaleString()+" words."); PJ.showDownload(new Blob(["\ufeff"+docHtml],{type:"application/msword"}),PJ.baseName(file)+".doc","⬇ Download the .doc"); } if(MODE==="rtf"){ const escR=s=>s.replace(/\\/g,"\\\\").replace(/\{/g,"\\{").replace(/\}/g,"\\}").replace(/[^\x20-\x7E]/g,c=>"\\u"+c.charCodeAt(0)+"?"); let rtf="{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fswiss Helvetica;}}\\f0\\fs22\n"; pages.forEach(p=>{structure(p).forEach(b=>{ if(b.t==="h")rtf+="\\pard\\keepn\\b\\fs34 "+escR(b.text)+"\\b0\\fs22\\par\n"; else if(b.t==="li")rtf+="\\pard\\li360 \\bullet\\tab "+escR(b.text)+"\\par\n"; else rtf+="\\pard "+escR(b.text)+"\\par\n"; })}); rtf+="}"; PJ.setProgress(100);PJ.setStatus("Done — RTF rebuilt from "+pages.length+" page(s), "+totalWords.toLocaleString()+" words."); PJ.showDownload(new Blob([rtf],{type:"application/rtf"}),PJ.baseName(file)+".rtf","⬇ Download the .rtf"); } if(MODE==="epub"){ const esc=s=>s.replace(/&/g,"&").replace(//g,">"); const bookTitle=PJ.baseName(file); const chapters=[];let cur={title:bookTitle,blocks:[]}; const pushB=b=>{cur.blocks.push(b)}; pages.forEach(p=>{structure(p).forEach(b=>{ if(b.t==="h"&&cur.blocks.length>3){chapters.push(cur);cur={title:b.text,blocks:[b]}} else pushB(b); if(cur.blocks.length>=80){chapters.push(cur);cur={title:bookTitle+" (continued)",blocks:[]}} })}); if(cur.blocks.length)chapters.push(cur); const zip=new JSZip(); zip.file("mimetype","application/epub+zip",{compression:"STORE"}); zip.file("META-INF/container.xml",""); let manifest="",spine="",nav=""; chapters.forEach((ch,i)=>{ const id="ch"+(i+1);manifest+=" "; spine+="";nav+="
  • "+esc(ch.title)+"
  • "; let body="";ch.blocks.forEach(b=>{if(b.t==="h")body+="

    "+esc(b.text)+"

    ";else if(b.t==="li")body+="

    • "+esc(b.text)+"

    ";else body+="

    "+esc(b.text)+"

    "}); zip.file("OEBPS/"+id+".xhtml",""+esc(ch.title)+""+body+""); }); zip.file("OEBPS/nav.xhtml","Contents"); manifest+=" "; const uuid="urn:uuid:"+Date.now().toString(16)+"e"+Math.floor(Math.random()*1e6)+"-pdfjadoo"; zip.file("OEBPS/content.opf",""+esc(bookTitle)+"en"+uuid+""+new Date().toISOString().replace(/\.\d+Z$/,"Z")+""+manifest+""+spine+""); const zb=await zip.generateAsync({type:"uint8array"}); PJ.setProgress(100);PJ.setStatus("Done — EPUB built from "+pages.length+" page(s) into "+chapters.length+" chapter(s), "+totalWords.toLocaleString()+" words."); PJ.showDownload(new Blob([zb],{type:"application/epub+zip"}),PJ.baseName(file)+".epub","⬇ Download the .epub"); } }catch(e){PJ.setStatus("Something went wrong: "+e.message,true)} PJ.setProgress(null);btn.disabled=false; });