Surely, I am the 100th user who is asking this but after I have searched through similar topics here and on other websites I still cannot find what I need.

I like to have a simple command line tool for my GNU/Linux which converts .doc(x) files to .pdf BUT the output should look the same as the original.

LibreOffice doesn't seem like a good choice for this because it does not convert well in some cases. I have found a website [freepdfconvert.com](https://www.freepdfconvert.com/) which does the job very well, but I cannot upload any sensitive files since it is a big risk. I don't say they would do anything bad with them but it is how it is.

If I can't find any good tool maybe I will have to write one myself.