Jpg to dpi 300 converter

What is the best and free available JPG to dpi 300 converter? Is Photoshop one of the options I have for his particular need, and if so, am I assured that my file will not be compromised and its quality maintained and not distorted? Or is there another tool at par or even better that can be used in a more efficient and user friendly manner?
