Any free or cheaper alternative to ConvertAPI for LibreOffice document conversion on shared hosting (Hostinger, PHP)?

Posted by Guts-Akira-Hanamichi@reddit | learnprogramming | View on Reddit | 1 comments

Hi, I’m working on a PHP project hosted on Hostinger (shared hosting), and I need to convert documents ( DOCX to PDF) using LibreOffice or something similar. Now, the problem is I can’t install LirreOffice on shared hosting (no root access) Services like ConvertAPI are too expensive for my use case

Using a VPS is also too costly for me right now

From what I understand, tools like LibreOffice Online require a server setup and aren’t really suitable for shared hosting and solutions like Gotenberg also need VPS/Docker

So my questions:

Is there any free or cheaper API alternative for document conversion?

Are there any workarounds using PHP (without needing VPS/root access)?

Has anyone successfully done this on Hostinger shared hosting?

I’m okay with using any Open-source tools,External APIs (as long as they’re affordable or have a decent free tier) and any creative workaround