The Ultimate Java PDF Library SDK

Seamless PDF Integration for Java

Download Trial Purchase

Java PDF Text Search

JPedal allows you to search PDF files for any text String (and it can allow use Regular expressions). Search one page or the whole Document and find any instances of the text – JPedal takes care of all the decoding and grouping of the PDF data.

Searching PDF Files can be done in the Viewer or there is a separate example to search as a server process. Alternatively you can convert a PDF into a whole list of keywords (with locations) and provide a database index of the PDF file text content.

Key Features


  • Search for any text string
  • 100% Java and multi-platform
  • Fully automated
  • Support for regular expressions
  • Search all document pages or specific page range
  • XFA support
  • Highly configurable
  • Single Jar
  • Lots of tutorials and monthly new release


Java PDF Text Search with JPedal
Example of PDF Text Search in JPedal Java PDF Viewer


Quick Start


Here is a quick snippet of code which will allow you to find text in a PDF:

See the full Javadoc or Download Trial Jar

Q & A


Q: Do you have any example Java code for PDF Text Search?

You can find a detailed tutorial on using JPedal for PDF text search by visiting this Tutorial.

Q: Is there a Free Trial I can download to try the JPedal Java PDF Library?

A: Yes, you can download the 30 Day Free Trial JAR for the JPedal PDF Library by clicking here.

Q: Do I need to purchase features separately?

A: No, everything you need to develop an application that requires a world class Java PDF SDK is included in one complete package - you do not need to purchase additional modules.

IDRSolutions Limited 1999-2016