Hi,
Is there any nice java API available for converting pdf to text file.

Hmm... Check out pdfbox?

I have developed a sample code from pdfbox api to convert pdf to text , its very simple to use pdfbox api.