Private key to WIF process

I have a private key for a storage bitcoin wallet (there’s not much in there I’m just testing methods) but it is in private key form and to import it to my main wallet I need to convert it into WIF.

My 2 questions are, what does the process to convert it involve? (Ie. Am I expected to use the BIP38 password when converting or is that a sign it’s a scam?) And secondly are there any safe offline software I can use or shall I try and use Linux commands?

EDIT:
Thanks for the replies. In the end I found this website:
https://iancoleman.io/bitcoin-key-compression/

I saved the webpage and used it offline in a VM with the internet disconnected completely. Before I reconnected the internet I restored the VM to a previously saved state. The key it generated offline worked perfectly when typed into my wallet.

Further question: does that method sound okay regarding the information being available to the net and the fact I inserted my password into the offline page?