Convert to Text

By gversion - October 14, 2022


I think the Convert to Text plugin is fantastic however as it requires Java I can’t use it for clients that are on the shared hosting platform we use (as Java isn’t supported).

Is there any workaround someone can suggest?

I’m also wondering if Java really is necessary to index files or if it could be done purely in PHP… I’m hoping something in PHP8 maybe can handle this that wasn’t available when the plugin was first developed back in 2016.

Any knowledge or guidance would be much appreciated.

Thank you,


By Dave - October 14, 2022

Hi Greg, 

There are some libraries out there such as but you'd need to find one (or multiple) to support excel, word, pdf and any other documents you want to parse. It would be rewrite but you could use the existing plugin framework.  The trick is researching and finding some well supported libraries that do the parsing.

The easiest might be to just to upgrade the client website to a virtual private server or another hosting account with java.  Just be sure to test the plugin on the new server before you move them over.

Also, if you want have us write a new plugin for the project we could look into that as well.  

Dave Edis - Senior Developer

By Dave - October 17, 2022

No problem, glad to help! :-)

Dave Edis - Senior Developer