Need to Convert pdf to xml for free

I need to convert pdf to xml file. I used pdf.co package and generated an API key but in order to use that,I need to buy some credits for each pages is there any other ways to simply convert pdf to xml in any another programming languages .Please let me know if you could find the way
Thank you

@YADHU_KRISHNAN_P_M

Welcome back to our UiPath community.

Please check solution attached in the below thread.

Thanks for support, Mentioned code does not working for me.
01f9a837-427c-415b-b5cd-64d3647e2bbe.pdf (445.2 KB)
I have attached pdf file in this message .I need to convert it to xml file containing the information about text style ,size, colour etc. Please revert back if you could find a solution for this requirement.