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

Pull the text out of any PDF

All the words, none of the formatting fights. Read your PDF's text right here, copy what you need, or download it as a clean text file.

Runs 100% in your browserFiles never uploadFree · no sign-up
Drop your PDF on the lamp

One PDF file with a text layer (for scans, use OCR PDF 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 extract text from a PDF online

  1. Drop your PDF onto the lamp.
  2. Press “Extract the text” — the words appear in the box.
  3. Copy them, or download the .txt file.

Extraction reads the PDF's own text layer in reading order, page by page. If your document is a scanned image, there is no text layer to read — the genie will tell you, and OCR PDF is the tool that creates one.

Related wishes

Or browse the full deck of 130 free PDF tools.

PDF to Text — fair questions

Why did I get little or no text?

Your PDF is probably a scan — a picture of a page. Run it through OCR PDF to recognize the text first.

Is the reading order preserved?

Yes for normal single-column documents. Complex multi-column layouts are read as the PDF stores them, which is usually column by column.

Can I download the text?

Yes — a .txt download appears with the extracted text, marked page by page.

Does extraction upload my file?

Never — the text layer is read locally in your browser.

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; });