Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

extract text from pdf file using only javascript [closed]

How can I extract data from pdf file, using only javascript, in client side and with any browser?

like image 380
user1902583 Avatar asked Sep 03 '26 11:09

user1902583


1 Answers

pdf.js is a JavaScript pdf reader: http://mozilla.github.com/pdf.js/

Some similar projects:

  • for docx and xlsx: http://blog.innovatejs.com/?p=184
  • jsPDF is a pdf generator: https://github.com/MrRio/jsPDF

If you are asking how to load the file, this can be done via an ajax request, but you won't be able to directly read the file content.

like image 118
Christophe Avatar answered Sep 06 '26 02:09

Christophe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!