PDF to HTML conversion in C# .NET table structure issue

Hello,
I am converting pdf to html via online tool. The given output contains table but when I am converting via .net code, it is containing divs not a table structure. How am i gonna correct it with .net so that i can obtain a table structure ?
Thank your for your help.

@nurullahkus

Would you kindly share your sample PDF document with us so that we can test the scenario in our environment and address it accordingly.