JPG to WebP re-encodes your JPG photos in Google's WebP format, which every current browser displays and which usually gives a smaller file than JPG at similar visual quality. Smaller images make pages load faster, which helps Core Web Vitals, especially Largest Contentful Paint when the hero image is a photo.
The tool runs in your browser. Choose a quality (82% by default, a common setting for web images), and optionally a maximum width so a 4000-pixel camera photo becomes a sensible 1600 or 2000 pixels for your page. Before you convert, it encodes your first photo and shows the old and new size, so you can try a few settings without spending a run.
Be aware of two things. Converting a JPG that was already heavily compressed gives smaller savings, because WebP is compressing an image that has already lost detail. And WebP output is new compression on top of the JPG's, so keep your original JPGs as the master copies. A lossless WebP mode is available, but for photos it produces files larger than the JPG. Photos above about 16.7 megapixels are scaled down to fit the browser's canvas limit; the tool shows the new size when that happens.