In this article
Choose the action that matches the problem
Three different jobs can sound like “change the file type.” Separating them prevents a frustrating cycle of renaming a file that still will not upload or open.
| What you need | Appropriate action | What changes |
|---|---|---|
| A JPEG version of a PNG image | Preview > File > Export > JPEG | The saved image's encoding |
| To correct a known, mistaken suffix | Restore the correct filename extension | The name |
| To open a valid file in another app | Finder > Open With | The app used to open it |
| To see a hidden extension | Finder > Get Info > Name & Extension | Your view of the existing name |
For one image, Preview is the simplest place to begin. Keep the original and save the export with a distinct name, such as photo-converted.jpg. That gives you an unambiguous source and result to compare.
Make an actual converted copy in Preview
Open a supported image in Preview, choose File > Export, and select the required format from the Format menu. Give the result a new name or destination, then save it. Apple's Preview conversion guide documents this workflow and the available output formats.
If the format you need is absent, Apple suggests holding Option while opening the Format menu to reveal additional supported choices. This is not a promise that Preview can convert every kind of file. A spreadsheet, audio recording, or specialist project should be exported from an app that understands that document.

Screenshot: Apple's Preview guide identifies Export as the conversion step. Captured November 17, 2026.
Before sending the result, open the newly exported file and check the parts that matter: appearance, dimensions, and whether the destination accepts it. Conversion is a separate operation from keeping every property of the source. For example, an image workflow may require transparency or a particular quality level; select a format and export settings that meet that requirement instead of judging success from the new suffix alone.
Video: Photoshop Design and Photo editing Tutorials from HowTech, published April 7, 2026. The Preview segment at 0:17–0:34 shows the export workflow. The later online-converter and Photoshop examples are optional alternatives; neither is needed for the native method above.
A renamed PNG and a converted JPEG, tested
On November 17, 2026, we created an original 64 × 64 RGB PNG for this test on macOS 15.7.5. We made a byte-for-byte copy named renamed.jpg, then used the Mac's built-in sips utility to create a separate JPEG from the original. No personal image was used.
We inspected all three files with sips -g format and file, then compared their SHA-256 hashes. The outcome was:
| Test file | Name ends in | Detected format | File size | Bytes compared with original |
|---|---|---|---|---|
original.png | .png | PNG | 7,875 bytes | Reference |
renamed.jpg | .jpg | PNG | 7,875 bytes | Identical SHA-256 |
converted.jpg | .jpg | JPEG | 1,346 bytes | Different SHA-256 |
What this proves: for this controlled image, a different suffix did not change the contents. Actual conversion produced JPEG data. The smaller JPEG size is a result of this particular test image and export; it is not a general promise about how much space conversion saves.
The two PNG copies shared the hash beginning 5480bb676202. The converted JPEG began bbb26f9e00fe. The complete hashes and commands are retained with the publication's research record.
If you want to inspect a trusted local image yourself, this read-only command asks sips for its format:
sips -g format "/path/to/your/image.jpg"
Replace the path with your own file. A result of format: png means that this image tool recognizes PNG contents despite the .jpg name. Format detection is useful evidence, not a universal guarantee that every malformed, encrypted, or unfamiliar file can be identified.
For a broader investigation of changes to local files, keep the same discipline used in our before-and-after file comparison guide: preserve a baseline and compare the actual objects, not just their labels.
Why a renamed file might still open
An app can inspect a file's contents instead of relying entirely on its suffix. A successfully opened renamed image therefore does not establish that conversion happened. Another app or upload form may apply a different check and reject the same file.
Consider the three-file test above. Both files ending in .jpg have the same apparent naming convention. Only one contains JPEG data. If a destination asks for JPEG, sending the renamed PNG is a different action from exporting a JPEG, even if your image viewer happens to display both.
The reverse case also matters: a genuine JPEG with an accidentally wrong extension may need only a corrected name. Restore an extension only when you know what the contents actually are. Randomly cycling through .jpg, .png, and .pdf is not a diagnosis.
Inspect the full name before correcting it
Select the file in Finder and press Command-I. Expand Name & Extension to examine the complete name. Apple's filename extension guide explains the per-file visibility control and the global Show all filename extensions option in Finder settings.
A hidden suffix can make photo.png look like photo; typing another suffix without checking the full name can create confusion about what was actually changed. Also distinguish the filename, Finder's displayed kind, the app association, and the detected contents. They are related clues, not interchangeable proof.
If your actual problem is an unwanted app in the opening menu, use the separate Open With troubleshooting guide. Renaming a correctly encoded file is an awkward substitute for choosing the app you want.
Do not experiment by renaming application bundles or their internal files. An .app is a package with its own structure; Show Package Contents explains how that differs from an ordinary image file.
A final check before sharing
Keep the source, export a separate result, and verify the result in the receiving workflow. If all you changed was the name, describe the action as a rename. If an app created data in another format, describe it as a conversion. This distinction makes troubleshooting reproducible and keeps a plausible-looking filename from becoming your only evidence.


