Renaming an Extension Does Not Convert a File
Changing a file extension only changes the label. To get a real new format, export a copy from a program that understands the original, then open that copy.
You have a file that will not open, and someone says to change the ending from webp to jpg, or from mkv to mp4. The icon may change. The file does not. An extension is a hint to the computer about which program should try to open the file. It is not a translation of the contents.
What the extension is for
The letters after the last dot are a label. The computer uses that label to pick an app. If the label says jpg, a photo app steps forward. If the bytes inside are not a JPEG, the app fails, sometimes with a useless error and sometimes by showing garbage. The failure feels like the app is broken. The label was the problem.
Turn extension display on so you can see those letters. Hidden extensions are how a file that looks like a document can hide a program ending. Seeing the real ending is a safety habit, not only a conversion habit.
What conversion actually is
Conversion reads the file with a program that understands it and writes a new file in the other format. A spreadsheet becomes a CSV through export, which is the point of when to turn a spreadsheet into a CSV. A photo becomes a JPEG through an editor's export, as with PNG, JPEG, and WebP. A video needs a converter that understands the tracks, not a new ending on the same bytes.
In every honest conversion you end up with two files until you decide to delete one. The new file is the conversion. The old file is still the old format, which is what you want until the new one has opened and looks right.
When a rename looks like it worked
Sometimes the receiving app is generous and sniffs the contents instead of trusting the extension. The file opens, and you conclude the rename converted it. It did not. The next app, or the next computer, may trust the extension and fail. A file that works on one machine after a rename is a file with a misleading name.
Archives are a special case. Changing a zip ending to jpg never unpacks it. Changing the extension of a damaged download never completes it. If the download was cut off, resume it or fetch it again. Do not retitle the stump.
A safe way to change formats
Open the file in an app that already understands it. Use export, save as, or a converter you installed on purpose. Pick the new format in that command. Open the result. Then, if you must, delete or archive the original.
Keep the original when the conversion is lossy. JPEG and many video exports throw away detail. A renamed file plus a deleted original is how people destroy the only good copy while thinking they cleaned up. Why a video plays on one device and not another is the situation that tempts people to rename. Convert a copy instead.
Do not download a converter that arrived as a popup because a file failed to play. Use a tool you already have, or get one from a publisher you already trust.
If you already renamed a pile
Put the old extension back if you remember it. Experiment on a copy, not on the only file. If the file matters and will not open, stop cycling through random endings. A program that understands the format can identify it better than a string of failed renames.
Frequently asked questions
Will changing the extension damage the file? The bytes usually stay the same, so you can often change the extension back. The damage happens when an app then saves over the file, or when you delete it because it would not open.
The system warns me when I change the extension. Should I continue? The warning is right that the file may not open. Continue only when you are correcting a wrong label and you still have a copy. Do not continue as a method of conversion.
I need a JPEG and I only have a WebP. What now? Open the WebP in a photo tool or browser that displays it, then export or save a JPEG copy. Leave the WebP until the JPEG looks right.